Lines Matching refs:m_config

579 	EGLConfig					m_config;  member in deqp::egl::GLES2ThreadTest::CreateContext
587 , m_config (config) in CreateContext()
618 …thread.newMessage() << "Begin -- eglCreateContext(" << m_display << ", " << m_config << ", " << m_… in exec()
619 m_context->context = thread.egl.createContext(m_display, m_config, m_shared->context, attriblist); in exec()
624 …thread.newMessage() << "Begin -- eglCreateContext(" << m_display << ", " << m_config << ", EGL_NO_… in exec()
625 m_context->context = thread.egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attriblist); in exec()
799 EGLConfig m_config; member in deqp::egl::GLES2ThreadTest::CreatePBufferSurface
808 , m_config (config) in CreatePBufferSurface()
826 …thread.newMessage() << "Begin -- eglCreatePbufferSurface(" << m_display << ", " << m_config << ", … in exec()
827 m_surface->surface = thread.egl.createPbufferSurface(m_display, m_config, attriblist); in exec()
2081 TestConfig m_config; member in deqp::egl::GLES2SharingRandomTest
2115 , m_config (config) in GLES2SharingRandomTest()
2156 if (m_config.useFenceSync) in init()
2159 if (m_config.serverSync) in init()
2162 if (m_config.useImages) in init()
2170 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init()
2184 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init()
2192 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init()
2198 if (m_config.useFenceSync) in init()
2200 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init()
2207 if (m_config.useImages) in init()
2209 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init()
2216 for (int operationNdx = 0; operationNdx < m_config.operationCount; operationNdx++) in init()
2220 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init()
2236 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init()
2267 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_BUFFER]); in addRandomOperation()
2270 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_TEXTURE]); in addRandomOperation()
2273 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_VERTEX_SHADER]); in addRandomOperation()
2276 …weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_FRAGMENT_SHADER… in addRandomOperation()
2279 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_PROGRAM]); in addRandomOperation()
2453 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DESTROY_IMAGE]); in addRandomOperation()
2458 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_TEXTURE_FROM_IMAGE]); in addRandomOperation()
2466 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DESTROY_BUFFER]); in addRandomOperation()
2469 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_BUFFER_DATA]); in addRandomOperation()
2476 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_BUFFER_SUBDATA]); in addRandomOperation()
2483 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DESTROY_TEXTURE]); in addRandomOperation()
2486 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_TEXIMAGE2D]); in addRandomOperation()
2489 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_COPYTEXIMAGE2D]); in addRandomOperation()
2496 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_TEXSUBIMAGE2D]); in addRandomOperation()
2499 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_COPYTEXSUBIMAGE2D]); in addRandomOperation()
2506 …weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_CREATE_IMAGE_FROM_TEXT… in addRandomOperation()
2513 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DESTROY_SHADER]); in addRandomOperation()
2516 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_SHADER_SOURCE]); in addRandomOperation()
2523 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_SHADER_COMPILE]); in addRandomOperation()
2530 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DESTROY_PROGRAM]); in addRandomOperation()
2537 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_LINK_PROGRAM]); in addRandomOperation()
2544 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_DETACH_SHADER]); in addRandomOperation()
2557 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_ATTACH_SHADER]); in addRandomOperation()
2575 weights.push_back(m_config.probabilities[m_lastOperation][THREADOPERATIONID_ATTACH_SHADER]); in addRandomOperation()
2592 …Ndx]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2600 …Ndx]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2607 …::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAMIC_DRAW, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2615 …ES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 1, 20, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2623 …x]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2629 …context->resourceManager->popTexture(destroyableTextureNdx), m_config.useFenceSync, m_config.serve… in addRandomOperation()
2635 …2D(texture, 0, GL_RGBA, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2643 …age2D(texture, 0, 30, 30, 50, 50, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2651 …st::CopyTexImage2D(texture, 0, GL_RGBA, 20, 20, 300, 300, 0, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2659 …dTest::CopyTexSubImage2D(texture, 0, 10, 10, 30, 30, 50, 50, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2667 …(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, shader, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2675 …ew GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, shader, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2681 …->context->resourceManager->popShader(destroyableShaderNdx), m_config.useFenceSync, m_config.serve… in addRandomOperation()
2702 …_VERTEX_SHADER ? vertexShaderSource : fragmentShaderSource), m_config.useFenceSync, m_config.serve… in addRandomOperation()
2710 …dx]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2718 …x]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2724 …context->resourceManager->popProgram(destroyableProgramNdx), m_config.useFenceSync, m_config.serve… in addRandomOperation()
2732 …Operation(new GLES2ThreadTest::AttachShader(program, shader, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2742 …new GLES2ThreadTest::DetachShader(program, detachShaderType, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2750 …Ndx]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2759 …(new GLES2ThreadTest::CreateImageFromTexture(image, texture, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2770 …dNdx]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2779 …(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.useFenceSync, m_config.serve… in addRandomOperation()
2971 TestConfig m_config; member in deqp::egl::GLES2ThreadedSharingTest
2992 , m_config (config) in GLES2ThreadedSharingTest()
3031 if (m_config.useFenceSync) in init()
3034 if (m_config.serverSync) in init()
3037 if (m_config.resourceType == TestConfig::RESOURCETYPE_IMAGE) in init()
3065 if (m_config.useFenceSync) in init()
3072 switch (m_config.resourceType) in init()
3122 if (m_config.render) in addBufferOperations()
3140 …LES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3141 …S2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3142 …ddOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3144 …ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3145 …readTest::ShaderSource(fragmentShader, fragmentShaderSource, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3146 …Operation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3148 …0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3149 …n(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3150 …ion(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3152 …s[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3157 …s[0]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3159 if (m_config.define) in addBufferOperations()
3161 if (m_config.modify || m_config.render) in addBufferOperations()
3162 …::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAMIC_DRAW, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3164 …::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAMIC_DRAW, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3167 if (m_config.modify) in addBufferOperations()
3169 if (m_config.render) in addBufferOperations()
3170 …S2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3172 …S2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3175 if (m_config.render) in addBufferOperations()
3177 …Operation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3178 …Operation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3183 …adPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels1, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3184 …adPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels2, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3189 if (m_config.modify || m_config.render) in addBufferOperations()
3190 …s[0]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3192 …s[1]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3194 if (m_config.render) in addBufferOperations()
3196 …addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3197 …dOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3198 …0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_config.serve… in addBufferOperations()
3209 if (m_config.render) in addTextureOperations()
3228 …LES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3229 …S2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3230 …ddOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3232 …ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3233 …readTest::ShaderSource(fragmentShader, fragmentShaderSource, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3234 …Operation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3236 …0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3237 …n(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3238 …ion(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3240 …s[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3245 …0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3247 if (m_config.define == 1) in addTextureOperations()
3249 if (m_config.modify || m_config.render) in addTextureOperations()
3250 …2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3252 …2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3255 if (m_config.define == 2) in addTextureOperations()
3257 if (m_config.modify || m_config.render) in addTextureOperations()
3258 …st::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 256, 0, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3260 …st::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 256, 0, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3263 if (m_config.modify == 1) in addTextureOperations()
3265 if (m_config.render) in addTextureOperations()
3266 …age2D(texture, 0, 17, 17, 29, 29, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3268 …age2D(texture, 0, 17, 17, 29, 29, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3271 if (m_config.modify == 2) in addTextureOperations()
3273 if (m_config.render) in addTextureOperations()
3274 …eadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3276 …eadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3279 if (m_config.render) in addTextureOperations()
3284 …eration(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3285 …eration(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3287 …adPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels1, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3288 …adPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels2, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3293 if (m_config.modify || m_config.render) in addTextureOperations()
3294 …0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3296 …1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3298 if (m_config.render) in addTextureOperations()
3300 …addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3301 …dOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3302 …0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_config.serve… in addTextureOperations()
3316 if (m_config.render) in addImageOperations()
3335 …LES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3336 …S2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_config.useFenceSync, m_config.serve… in addImageOperations()
3337 …ddOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3339 …ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3340 …readTest::ShaderSource(fragmentShader, fragmentShaderSource, m_config.useFenceSync, m_config.serve… in addImageOperations()
3341 …Operation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3343 …0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_config.serve… in addImageOperations()
3344 …n(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3345 …ion(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3347 …s[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_config.serve… in addImageOperations()
3354 …dOperation(new GLES2ThreadTest::CreateTexture(sourceTexture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3355 …rceTexture, 0, GL_RGBA, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addImageOperations()
3357 if (m_config.define == 1) in addImageOperations()
3359 if (m_config.modify || m_config.render) in addImageOperations()
3360 …LES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3362 …LES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3365 if (m_config.define == 2) in addImageOperations()
3367 …LES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3368 …0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3370 if (m_config.modify || m_config.render) in addImageOperations()
3371 …(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.useFenceSync, m_config.serve… in addImageOperations()
3373 …(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.useFenceSync, m_config.serve… in addImageOperations()
3376 …dOperation(new GLES2ThreadTest::DeleteTexture(sourceTexture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3378 if (m_config.modify == 1) in addImageOperations()
3380 DE_ASSERT(m_config.define != 1); in addImageOperations()
3382 if (m_config.render) in addImageOperations()
3383 …age2D(texture, 0, 17, 17, 29, 29, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addImageOperations()
3385 …age2D(texture, 0, 17, 17, 29, 29, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addImageOperations()
3388 if (m_config.modify == 2) in addImageOperations()
3390 DE_ASSERT(m_config.define != 1); in addImageOperations()
3392 if (m_config.render) in addImageOperations()
3393 …eadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29, m_config.useFenceSync, m_config.serve… in addImageOperations()
3395 …eadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29, m_config.useFenceSync, m_config.serve… in addImageOperations()
3398 if (m_config.modify == 3) in addImageOperations()
3400 DE_ASSERT(m_config.define != 1); in addImageOperations()
3402 if (m_config.render) in addImageOperations()
3403 …2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addImageOperations()
3405 …2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, m_config.useFenceSync, m_config.serve… in addImageOperations()
3408 if (m_config.modify == 4) in addImageOperations()
3410 DE_ASSERT(m_config.define != 1); in addImageOperations()
3412 if (m_config.render) in addImageOperations()
3413 …Test::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256, 0, m_config.useFenceSync, m_config.serve… in addImageOperations()
3415 …Test::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256, 0, m_config.useFenceSync, m_config.serve… in addImageOperations()
3418 if (m_config.render) in addImageOperations()
3420 DE_ASSERT(m_config.define != 1); in addImageOperations()
3425 …eration(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3426 …eration(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3428 …adPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels1, m_config.useFenceSync, m_config.serve… in addImageOperations()
3429 …adPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels2, m_config.useFenceSync, m_config.serve… in addImageOperations()
3436 if (m_config.modify || m_config.render) in addImageOperations()
3437 …0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3439 …1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_config.serve… in addImageOperations()
3442 if (m_config.modify || m_config.render) in addImageOperations()
3443 …ds[0]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_config.serve… in addImageOperations()
3445 …ds[1]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_config.serve… in addImageOperations()
3447 if (m_config.render) in addImageOperations()
3449 …addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3450 …dOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync, m_config.serve… in addImageOperations()
3451 …0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_config.serve… in addImageOperations()
3459 …addOperation(new GLES2ThreadTest::CreateShader(type, shader, m_config.useFenceSync, m_config.serve… in addShaderOperations()
3461 if (m_config.define) in addShaderOperations()
3476 if (m_config.modify || m_config.render) in addShaderOperations()
3477 …_VERTEX_SHADER ? vertexShaderSource : fragmentShaderSource), m_config.useFenceSync, m_config.serve… in addShaderOperations()
3479 …_VERTEX_SHADER ? vertexShaderSource : fragmentShaderSource), m_config.useFenceSync, m_config.serve… in addShaderOperations()
3482 if (m_config.modify) in addShaderOperations()
3484 if (m_config.render) in addShaderOperations()
3485 …[0]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_config.serve… in addShaderOperations()
3487 …[1]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_config.serve… in addShaderOperations()
3490 DE_ASSERT(!m_config.render); in addShaderOperations()
3492 if (m_config.modify || m_config.render) in addShaderOperations()
3493 …s[0]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_config.serve… in addShaderOperations()
3495 …s[1]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_config.serve… in addShaderOperations()
3504 if (m_config.define) in addProgramOperations()
3522 …LES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3523 …S2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3524 …ddOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3526 …ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3527 …readTest::ShaderSource(fragmentShader, fragmentShaderSource, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3528 …Operation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3533 …0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3535 if (m_config.define) in addProgramOperations()
3538 if (m_config.modify || m_config.render) in addProgramOperations()
3540 …ion(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3541 …n(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3545 …ion(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3546 …n(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3550 if (m_config.modify == 1) in addProgramOperations()
3553 if (m_config.render) in addProgramOperations()
3554 …s[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3556 …s[1]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3559 if (m_config.modify == 2) in addProgramOperations()
3562 if (m_config.render) in addProgramOperations()
3564 …new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3565 …w GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3569 …new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3570 …w GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3574 if (m_config.render) in addProgramOperations()
3579 if (m_config.modify || m_config.render) in addProgramOperations()
3580 …0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3582 …1]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3584 if (m_config.render) in addProgramOperations()
3586 …addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()
3587 …dOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync, m_config.serve… in addProgramOperations()