/external/deqp/modules/gles31/functional/ |
es31fVertexAttributeBindingStateQueryTests.cpp | 89 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 90 glu::VertexArray vao (m_context.getRenderContext()); 110 glu::VertexArray otherVao (m_context.getRenderContext()); 164 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 165 glu::VertexArray vao (m_context.getRenderContext()); 185 glu::VertexArray otherVao (m_context.getRenderContext()); 266 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 267 glu::VertexArray vao (m_context.getRenderContext()); 290 glu::VertexArray otherVao (m_context.getRenderContext()); 343 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()) [all...] |
es31fShaderSharedVarTests.cpp | 157 m_program = new ShaderProgram(m_context.getRenderContext(), ProgramSources() << ComputeSource(src.str())); 177 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 179 Buffer outputBuffer (m_context.getRenderContext()); 373 basicTypeGroup->addChild(new SharedBasicVarCase(m_context, getDataTypeName(DataType(basicType)), DataType(basicType), PRECISION_LAST, workGroupSize)); 382 basicTypeGroup->addChild(new SharedBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), workGroupSize)); 393 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,1,1))); 394 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_64_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(64,1,1))); 395 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_64_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,64,1))); 396 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_64", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,1,64))); 397 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_128_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(128,1,1))) [all...] |
es31fBasicComputeShaderTests.cpp | 93 const ShaderProgram program(m_context.getRenderContext(), 100 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 148 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 149 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 150 const Buffer inputBuffer (m_context.getRenderContext()); 151 const Buffer outputBuffer (m_context.getRenderContext()); 268 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 269 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 270 const Buffer inputBuffer (m_context.getRenderContext()); 271 const Buffer outputBuffer (m_context.getRenderContext()) [all...] |
es31fAdvancedBlendTests.cpp | 177 , m_renderWidth (rtType != RENDERTARGETTYPE_DEFAULT ? 2*MAX_VIEWPORT_WIDTH : m_context.getRenderTarget().getWidth()) 178 , m_renderHeight (rtType != RENDERTARGETTYPE_DEFAULT ? 2*MAX_VIEWPORT_HEIGHT : m_context.getRenderTarget().getHeight()) 242 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 246 if (!m_context.getContextInfo().isExtensionSupported("GL_KHR_blend_equation_advanced")) 249 if (m_coherentBlending && !m_context.getContextInfo().isExtensionSupported("GL_KHR_blend_equation_advanced_coherent")) 258 m_coherentExtensionSupported = m_context.getContextInfo().isExtensionSupported("GL_KHR_blend_equation_advanced_coherent"); 260 m_program = new glu::ShaderProgram(m_context.getRenderContext(), getBlendProgramSrc(sglr::rr_util::mapGLBlendEquationAdvanced(m_blendMode))); 335 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 391 const glu::RenderContext& renderCtx = m_context.getRenderContext(); 492 if (!useFbo && m_context.getRenderTarget().getPixelFormat().alphaBits == 0 [all...] |
es31fProgramPipelineStateQueryTests.cpp | 100 const glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 101 const glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_fragmentSource)); 102 const glu::ProgramPipeline pipeline (m_context.getRenderContext()); 103 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 166 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 185 glu::ShaderProgram program(m_context.getRenderContext(), sources); 197 glu::ProgramPipeline pipeline (m_context.getRenderContext()); 207 glu::ProgramPipeline pipeline (m_context.getRenderContext()); 239 glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 240 glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_ (…) [all...] |
es31fProgramStateQueryTests.cpp | 93 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 95 glu::Shader vtxShader (m_context.getRenderContext(), glu::SHADERTYPE_VERTEX); 96 glu::Shader frgShader (m_context.getRenderContext(), glu::SHADERTYPE_FRAGMENT); 121 glu::Program program (m_context.getRenderContext()); 128 glu::Program program (m_context.getRenderContext()); 148 glu::Program program (m_context.getRenderContext()); 222 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 229 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource1D)); 240 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource2D)); 251 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource3D)) [all...] |
es31fSampleShadingTests.cpp | 72 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 78 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 123 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 129 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 190 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 196 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 278 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 280 if (m_renderTarget == TARGET_DEFAULT && m_context.getRenderTarget().getNumSamples() <= 1) 302 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 340 const glw::Functions& gl = m_context.getRenderContext().getFunctions() [all...] |
es31fIndexedStateQueryTests.cpp | 88 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 102 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 173 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 214 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 232 glu::Buffer bufferA (m_context.getRenderContext()); 233 glu::Buffer bufferB (m_context.getRenderContext()); 298 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 317 glu::Buffer bufferA (m_context.getRenderContext()); 318 glu::Buffer bufferB (m_context.getRenderContext()); 399 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureSpecificationTests.cpp | 414 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); 505 tcu::UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); [all...] |
es2fTextureCompletenessTests.cpp | [all...] |
es2fReadPixelsTests.cpp | 93 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); 215 if (m_context.getRenderTarget().getNumSamples() > 1) 218 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); 219 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); 220 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); 221 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); 241 const float redThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); 242 const float greenThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); 243 const float blueThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); 244 const float alphaThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())) [all...] |
es2fShaderBuiltinVarTests.cpp | 279 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 280 const int width = m_context.getRenderTarget().getWidth(); 281 const int height = m_context.getRenderTarget().getHeight(); 282 const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().getColorThreshold(); 288 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 323 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, 326 glu::readPixels(m_context.getRenderContext(), 0, 0, testImg.getAccess()); 373 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 374 const int width = m_context.getRenderTarget().getWidth(); 375 const int height = m_context.getRenderTarget().getHeight() [all...] |
es2fIntegerStateQueryTests.cpp | 692 const int expectedSampleBuffers = (m_context.getRenderTarget().getNumSamples() > 1) ? 1 : 0; 694 m_log << tcu::TestLog::Message << "Sample count is " << (m_context.getRenderTarget().getNumSamples()) << ", expecting GL_SAMPLE_BUFFERS to be " << expectedSampleBuffers << tcu::TestLog::EndMessage; 716 if (m_context.getRenderTarget().getNumSamples() > 1) 718 m_log << tcu::TestLog::Message << "Sample count is " << (m_context.getRenderTarget().getNumSamples()) << tcu::TestLog::EndMessage; 720 m_verifier->verifyInteger(m_testCtx, GL_SAMPLES, m_context.getRenderTarget().getNumSamples()); 875 m_verifier->verifyInteger4(m_testCtx, GL_VIEWPORT, 0, 0, m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight()); 910 m_verifier->verifyInteger4(m_testCtx, GL_SCISSOR_BOX, 0, 0, m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight()); 941 m_verifier->verifyIntegerGreaterOrEqual2(m_testCtx, GL_MAX_VIEWPORT_DIMS, m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight()) [all...] |
/external/deqp/framework/platform/win32/ |
tcuWGLContextFactory.cpp | 50 : m_context(context) 56 return (glw::GenericFuncType)m_context.getGLFunction(name); 60 const wgl::Context& m_context; member in class:tcu::__anon7403::WGLFunctionLoader 81 wgl::Context* m_context; member in class:tcu::__anon7403::WGLContext 92 , m_context (DE_NULL) 109 m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat); 124 WGLFunctionLoader funcLoader(*m_context); 136 delete m_context; 143 delete m_context; 148 m_context->swapBuffers() [all...] |
tcuWin32GLES3Platform.cpp | 77 gl3Context* m_context; member in class:tcu::Win32GLES3Context 89 , m_context (DE_NULL) 101 m_context = gl3Context_create(&m_platformCtx); 102 if (!m_context) 105 gl3Context_setCurrentContext(m_context); 122 if (m_context) 123 gl3Context_destroy(m_context); 131 if (m_context) 132 gl3Context_destroy(m_context);
|
/external/deqp/modules/gles31/ |
tes31TestPackage.cpp | 102 , m_context (DE_NULL) 110 delete m_context; 118 m_context = new Context(m_testCtx); 121 addChild(new InfoTests (*m_context)); 122 addChild(new Functional::FunctionalTests (*m_context)); 123 addChild(new Stress::StressTests (*m_context)); 127 delete m_context; 128 m_context = DE_NULL; 137 delete m_context; 138 m_context = DE_NULL [all...] |
tes31InfoTests.cpp | 56 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 81 const vector<string> extensions = m_context.getContextInfo().getExtensions(); 102 const tcu::RenderTarget& rt = m_context.getRenderTarget(); 132 addChild(new QueryStringCase(m_context, "vendor", "Vendor String", GL_VENDOR)); 133 addChild(new QueryStringCase(m_context, "renderer", "Renderer String", GL_RENDERER)); 134 addChild(new QueryStringCase(m_context, "version", "Version String", GL_VERSION)); 135 addChild(new QueryStringCase(m_context, "shading_language_version", "Shading Language Version String", GL_SHADING_LANGUAGE_VERSION)); 136 addChild(new QueryExtensionsCase(m_context)); 137 addChild(new RenderTargetInfoCase(m_context));
|
/external/deqp/framework/opengl/ |
gluContextInfo.cpp | 72 bool isVertexUniformLoopSupported (void) const { return m_vertexUniformLoopsSupported.getValue(m_context); } 73 bool isVertexDynamicLoopSupported (void) const { return m_vertexDynamicLoopsSupported.getValue(m_context); } 74 bool isFragmentHighPrecisionSupported (void) const { return m_fragmentHighPrecisionSupported.getValue(m_context); } 75 bool isFragmentUniformLoopSupported (void) const { return m_fragmentUniformLoopsSupported.getValue(m_context); } 76 bool isFragmentDynamicLoopSupported (void) const { return m_fragmentDynamicLoopsSupported.getValue(m_context); } 217 : m_context(context) 228 m_context.getFunctions().getIntegerv(param, &val); 229 GLU_EXPECT_NO_ERROR(m_context.getFunctions().getError(), "glGetIntegerv() failed"); 236 m_context.getFunctions().getBooleanv(param, &val); 237 GLU_EXPECT_NO_ERROR(m_context.getFunctions().getError(), "glGetBooleanv() failed") [all...] |
/external/deqp/modules/gles3/functional/ |
es3fUniformBlockTests.cpp | 422 createBlockBasicTypeCases(layoutGroup, m_context, typeName, VarType(type, 0), layoutFlags[layoutFlagNdx].flags); 426 createBlockBasicTypeCases(layoutGroup, m_context, (string(precisionFlags[precNdx].name) + "_" + typeName).c_str(), 435 createBlockBasicTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + precisionFlags[precNdx].name + "_" + typeName).c_str(), 459 createBlockBasicTypeCases(layoutGroup, m_context, typeName, 466 createBlockBasicTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), 497 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 498 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_fragment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 501 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_both").c_str(), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 530 modeGroup->addChild(new BlockSingleStructArrayCase(m_context, (baseName + "_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 531 modeGroup->addChild(new BlockSingleStructArrayCase(m_context, (baseName + "_fragment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, (…) [all...] |
es3fSyncTests.cpp | 144 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSource, fragShaderSource)); 284 addChild(new FenceSyncCase(m_context, "wait_sync_smalldraw", "", 10, COMMAND_WAIT_SYNC, 0, GL_TIMEOUT_IGNORED, 0)); 285 addChild(new FenceSyncCase(m_context, "wait_sync_largedraw", "", 10000, COMMAND_WAIT_SYNC, 0, GL_TIMEOUT_IGNORED, 0)); 287 addChild(new FenceSyncCase(m_context, "client_wait_sync_smalldraw", "", 10, COMMAND_CLIENT_WAIT_SYNC, 0, 0, 0)); 288 addChild(new FenceSyncCase(m_context, "client_wait_sync_largedraw", "", 10000, COMMAND_CLIENT_WAIT_SYNC, 0, 0, 0)); 289 addChild(new FenceSyncCase(m_context, "client_wait_sync_timeout_smalldraw", "", 10, COMMAND_CLIENT_WAIT_SYNC, 0, 10, 0)); 290 addChild(new FenceSyncCase(m_context, "client_wait_sync_timeout_largedraw", "", 10000, COMMAND_CLIENT_WAIT_SYNC, 0, 10, 0)); 292 addChild(new FenceSyncCase(m_context, "client_wait_sync_flush_auto", "", 10000, COMMAND_CLIENT_WAIT_SYNC, GL_SYNC_FLUSH_COMMANDS_BIT, 0, 0)); 293 addChild(new FenceSyncCase(m_context, "client_wait_sync_flush_manual", "", 10000, COMMAND_CLIENT_WAIT_SYNC, 0, 0, CASE_FLUSH_BEFORE_WAIT)); 294 addChild(new FenceSyncCase(m_context, "client_wait_sync_noflush", "", 10000, COMMAND_CLIENT_WAIT_SYNC, 0, 0, 0)) [all...] |
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
RemoteAPI.java | 38 private Context m_context; field in class:RemoteAPI 44 m_context = context; 45 m_processName = m_context.getPackageName() + ":testercore"; 51 return new ComponentName(m_context.getPackageName(), "android.app.NativeActivity"); 86 boolean isActivity = m_context.getPackageManager().resolveActivity(testIntent, 0) != null; 87 boolean isService = m_context.getPackageManager().resolveService(testIntent, 0) != null; 98 m_context.startService(testIntent); 100 m_context.startActivity(testIntent); 143 ActivityManager activityMgr = (ActivityManager)m_context.getSystemService(Context.ACTIVITY_SERVICE);
|
/external/deqp/modules/gles2/accuracy/ |
es2aAccuracyTests.cpp | 46 addChild(new TextureFilteringTests (m_context)); 47 addChild(new TextureMipmapTests (m_context)); 62 addChild(new VaryingInterpolationTests (m_context)); 63 addChild(new TextureTests (m_context));
|
/external/deqp/modules/gles2/ |
tes2InfoTests.cpp | 56 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 81 const vector<string> extensions = m_context.getContextInfo().getExtensions(); 102 const tcu::RenderTarget& rt = m_context.getRenderTarget(); 132 addChild(new QueryStringCase(m_context, "vendor", "Vendor String", GL_VENDOR)); 133 addChild(new QueryStringCase(m_context, "renderer", "Renderer String", GL_RENDERER)); 134 addChild(new QueryStringCase(m_context, "version", "Version String", GL_VERSION)); 135 addChild(new QueryStringCase(m_context, "shading_language_version", "Shading Language Version String", GL_SHADING_LANGUAGE_VERSION)); 136 addChild(new QueryExtensionsCase(m_context)); 137 addChild(new RenderTargetInfoCase(m_context));
|
/external/deqp/modules/gles3/accuracy/ |
es3aAccuracyTests.cpp | 46 addChild(new TextureFilteringTests (m_context)); 47 addChild(new TextureMipmapTests (m_context)); 62 addChild(new VaryingInterpolationTests (m_context)); 63 addChild(new TextureTests (m_context));
|
/external/deqp/modules/gles3/ |
tes3InfoTests.cpp | 56 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 81 const vector<string> extensions = m_context.getContextInfo().getExtensions(); 102 const tcu::RenderTarget& rt = m_context.getRenderTarget(); 132 addChild(new QueryStringCase(m_context, "vendor", "Vendor String", GL_VENDOR)); 133 addChild(new QueryStringCase(m_context, "renderer", "Renderer String", GL_RENDERER)); 134 addChild(new QueryStringCase(m_context, "version", "Version String", GL_VERSION)); 135 addChild(new QueryStringCase(m_context, "shading_language_version", "Shading Language Version String", GL_SHADING_LANGUAGE_VERSION)); 136 addChild(new QueryExtensionsCase(m_context)); 137 addChild(new RenderTargetInfoCase(m_context));
|