/external/deqp/external/openglcts/modules/gl/ |
gl4cClipControlTests.cpp | 55 ClipControlApi(deqp::Context& context, ClipControlTests::API api) : m_context(context) 57 if (!Supported(m_context, api)) 81 deqp::Context& m_context; member in class:gl4cts::ClipControlApi 94 ClipControlApi(m_context, m_api); 99 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 186 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); 189 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 207 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 272 if (ClipControlApi::Supported(m_context, m_api)) 274 ClipControlApi cc(m_context, m_api) [all...] |
gl4cSyncTests.cpp | 67 addChild(new Sync::FlushCommandsTest(m_context)); 89 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 92 bool is_at_least_gl_45 = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5))); 93 bool is_arb_direct_state_access = m_context.getContextInfo().isExtensionSupported("GL_ARB_direct_state_access"); 160 m_context.getTestContext().getLog() 178 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Result data [" << data_dst[0] 187 m_context.getTestContext().getLog()
|
gl4cConditionalRenderInvertedTests.cpp | 47 addChild(new gl4cts::ConditionalRenderInverted::CoverageTest(m_context)); 48 addChild(new gl4cts::ConditionalRenderInverted::FunctionalTest(m_context)); 70 bool is_at_least_gl_45 = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5))); 72 m_context.getContextInfo().isExtensionSupported("GL_ARB_conditional_render_inverted"); 118 m_context.getTestContext().getLog() 127 m_context.getTestContext().getLog() << tcu::TestLog::Message 143 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 161 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 182 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 205 m_context.getTestContext().getLog() << tcu::TestLog::Messag [all...] |
gl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp | 83 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 86 bool is_at_least_gl_45 = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5))); 87 bool is_arb_direct_state_access = m_context.getContextInfo().isExtensionSupported("GL_ARB_direct_state_access"); 119 m_context.getTestContext().getLog() 137 m_context.getTestContext().getLog() << tcu::TestLog::Message 212 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 215 bool is_at_least_gl_45 = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5))); 216 bool is_arb_direct_state_access = m_context.getContextInfo().isExtensionSupported("GL_ARB_direct_state_access"); 290 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 313 m_context.getTestContext().getLog() << tcu::TestLog::Message << "NamedFramebufferRenderbuffer for [all...] |
gl4cShaderBallotTests.cpp | 344 glu::ShaderProgram* programRender = new glu::ShaderProgram(m_context.getRenderContext(), sourcesRender); 358 glu::ShaderProgram* programCompute = new glu::ShaderProgram(m_context.getRenderContext(), sourcesCompute); 493 if (!m_context.getContextInfo().isExtensionSupported("GL_ARB_shader_ballot") || 494 !m_context.getContextInfo().isExtensionSupported("GL_ARB_gpu_shader_int64")) 505 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 513 (*pipelineIter)->test(m_context); 569 if (!m_context.getContextInfo().isExtensionSupported("GL_ARB_shader_ballot") || 570 !m_context.getContextInfo().isExtensionSupported("GL_ARB_gpu_shader_int64")) 581 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 589 (*pipelineIter)->test(m_context); [all...] |
/external/deqp/framework/opengl/ |
gluTexture.cpp | 53 : m_context (context) 64 : m_context (context) 77 m_context.getFunctions().deleteTextures(1, &m_glTexture); 82 const glw::Functions& gl = m_context.getFunctions(); 106 : m_context (context) 118 : m_context (context) 130 : m_context (context) 158 m_context.getFunctions().deleteTextures(1, &m_glTexture); 163 const glw::Functions& gl = m_context.getFunctions(); 189 const glw::Functions& gl = m_context.getFunctions() [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTessellationGeometryInteractionTests.cpp | 113 return specializeShader(source, m_context.getRenderContext().getType()); 126 return specializeShader(source, m_context.getRenderContext().getType()); 175 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 178 (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") || 179 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader"))) 182 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE || 183 m_context.getRenderTarget().getHeight() < RENDER_SIZE) 206 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 219 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_patchBuffer); 228 const glw::Functions& gl = m_context.getRenderContext().getFunctions() [all...] |
es31fShaderMultisampleInterpolationTests.cpp | 126 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation") && !glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2))) 142 const bool isSingleSampleTarget = (m_renderTarget != TARGET_DEFAULT && m_numRequestedSamples == 0) || (m_renderTarget == TARGET_DEFAULT && m_context.getRenderTarget().getNumSamples() <= 1); 216 const bool isSingleSampleTarget = (m_renderTarget != TARGET_DEFAULT && m_numRequestedSamples == 0) || (m_renderTarget == TARGET_DEFAULT && m_context.getRenderTarget().getNumSamples() <= 1); 290 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 343 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 404 const bool isSingleSampleTarget = (m_renderTarget != TARGET_DEFAULT && m_numRequestedSamples == 0) || (m_renderTarget == TARGET_DEFAULT && m_context.getRenderTarget().getNumSamples() <= 1); 435 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 498 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 607 return specializeShader(buf.str(), m_context.getRenderContext().getType()) [all...] |
es31fMultisampleTests.cpp | 128 if (m_context.getRenderTarget().getNumSamples() == 0) 134 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 139 for (int ndx = 0; ndx < m_context.getRenderTarget().getNumSamples(); ++ndx) 228 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 253 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 255 if (m_context.getRenderTarget().getNumSamples() <= 1) 270 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() 288 m_viewportSize = de::min<int>(m_desiredViewportSize, de::min(m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight())); 317 const glw::Functions& gl = m_context.getRenderContext().getFunctions() [all...] |
es31fBasicComputeShaderTests.cpp | 93 const GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()); 100 const ShaderProgram program(m_context.getRenderContext(), 103 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 132 const GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()); 153 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 154 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 155 const Buffer inputBuffer (m_context.getRenderContext()); 156 const Buffer outputBuffer (m_context.getRenderContext()); 254 const GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()); 275 const glw::Functions& gl = m_context.getRenderContext().getFunctions() [all...] |
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...] |
es31fShaderStateQueryTests.cpp | 100 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 102 if (m_extension && !m_context.getContextInfo().isExtensionSupported(m_extension) && !supportsES32) 116 shaderArgs["VERSIONDECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType())); 120 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 121 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); 290 if (m_context.getContextInfo().getInt(GL_MAX_FRAGMENT_IMAGE_UNIFORMS) < 1) 358 if (m_context.getContextInfo().getInt(GL_MAX_FRAGMENT_IMAGE_UNIFORMS) < 1) 382 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 392 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader") && !supportsES32) 398 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") && !supportsES32 [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()); 376 basicTypeGroup->addChild(new SharedBasicVarCase(m_context, getDataTypeName(DataType(basicType)), DataType(basicType), PRECISION_LAST, workGroupSize)); 385 basicTypeGroup->addChild(new SharedBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), workGroupSize)); 396 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,1,1))); 397 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_64_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(64,1,1))); 398 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_64_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,64,1))); 399 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_64", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,1,64))); 400 workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_128_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(128,1,1))) [all...] |
es31fTessellationTests.cpp | [all...] |
/external/deqp/modules/egl/ |
teglThreadCleanUpTests.cpp | 65 , m_context (context) 107 if (m_context == EGL_NO_CONTEXT) 115 testContext(m_context); 131 const EGLContext m_context; member in class:deqp::egl::__anon19593::Thread 178 , m_context (EGL_NO_CONTEXT) 209 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); 237 if (m_context != EGL_NO_CONTEXT) 239 egl.destroyContext(m_display, m_context); 240 m_context = EGL_NO_CONTEXT; 256 Thread thread (m_eglTestCtx.getLibrary(), m_display, m_surface, m_context, m_config, error) 286 EGLContext m_context; member in class:deqp::egl::__anon19593::ThreadCleanUpTest [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderReturnTests.cpp | 323 addChild(new ShaderReturnCase(m_context, "single_return_vertex", "Single return statement in function", true, 336 addChild(new ShaderReturnCase(m_context, "single_return_fragment", "Single return statement in function", false, 354 addChild(makeConditionalReturnInFuncCase(m_context, name.c_str(), description.c_str(), (ReturnMode)returnMode, isFragment == 0)); 359 addChild(new ShaderReturnCase(m_context, "double_return_vertex", "Unconditional double return in function", true, 373 addChild(new ShaderReturnCase(m_context, "double_return_fragment", "Unconditional double return in function", false, 386 addChild(new ShaderReturnCase(m_context, "last_statement_in_main_vertex", "Return as a final statement in main()", true, 396 addChild(new ShaderReturnCase(m_context, "last_statement_in_main_fragment", "Return as a final statement in main()", false, 414 addChild(makeOutputWriteReturnCase(m_context, name.c_str(), desc.c_str(), inFunc != 0, (ReturnMode)returnMode, isFragment == 0)); 428 addChild(makeReturnInLoopCase(m_context, name.c_str(), description.c_str(), isDynamicLoop != 0, (ReturnMode)returnMode, isFragment == 0)); 434 addChild(new ShaderReturnCase(m_context, "return_in_infinite_loop_vertex", "Return in infinite loop", true [all...] |
es2fTextureSpecificationTests.cpp | 408 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 418 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); 509 tcu::UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); [all...] |
es2fShaderBuiltinVarTests.cpp | 280 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 281 const int width = m_context.getRenderTarget().getWidth(); 282 const int height = m_context.getRenderTarget().getHeight(); 283 const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().getColorThreshold(); 289 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 324 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, 327 glu::readPixels(m_context.getRenderContext(), 0, 0, testImg.getAccess()); 374 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 375 const int width = m_context.getRenderTarget().getWidth(); 376 const int height = m_context.getRenderTarget().getHeight() [all...] |
es2fTextureCompletenessTests.cpp | [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderReturnTests.cpp | 298 addChild(new ShaderReturnCase(m_context, "single_return_vertex", "Single return statement in function", true, 312 addChild(new ShaderReturnCase(m_context, "single_return_fragment", "Single return statement in function", false, 332 addChild(makeConditionalReturnInFuncCase(m_context, name.c_str(), description.c_str(), (ReturnMode)returnMode, isFragment == 0)); 337 addChild(new ShaderReturnCase(m_context, "double_return_vertex", "Unconditional double return in function", true, 352 addChild(new ShaderReturnCase(m_context, "double_return_fragment", "Unconditional double return in function", false, 367 addChild(new ShaderReturnCase(m_context, "last_statement_in_main_vertex", "Return as a final statement in main()", true, 378 addChild(new ShaderReturnCase(m_context, "last_statement_in_main_fragment", "Return as a final statement in main()", false, 398 addChild(makeOutputWriteReturnCase(m_context, name.c_str(), desc.c_str(), inFunc != 0, (ReturnMode)returnMode, isFragment == 0)); 412 addChild(makeReturnInLoopCase(m_context, name.c_str(), description.c_str(), isDynamicLoop != 0, (ReturnMode)returnMode, isFragment == 0)); 418 addChild(new ShaderReturnCase(m_context, "return_in_infinite_loop_vertex", "Return in infinite loop", true [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...] |
es3fShaderBuiltinVarTests.cpp | 131 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), m_shaderType, m_varName)); 132 const int reference = m_getValue(m_context.getRenderContext().getFunctions()); 296 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 297 const int width = m_context.getRenderTarget().getWidth(); 298 const int height = m_context.getRenderTarget().getHeight(); 299 const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().getColorThreshold(); 305 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 343 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, 346 glu::readPixels(m_context.getRenderContext(), 0, 0, testImg.getAccess()); 393 const glw::Functions& gl = m_context.getRenderContext().getFunctions() [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcTestCaseWrapper.cpp | 36 TestCaseWrapper::TestCaseWrapper(Context& context) : m_testCtx(context.getTestContext()), m_context(context) 52 glu::resetState(m_context.getRenderContext(), m_context.getContextInfo()); 123 glu::resetState(m_context.getRenderContext(), m_context.getContextInfo()); 171 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 180 m_context.getRenderContext().postIterate();
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiGranularityTests.cpp | 126 VkResult result = m_context.getInstanceInterface().getPhysicalDeviceImageFormatProperties(m_context.getPhysicalDevice(), 162 const DeviceInterface& vk = m_context.getDeviceInterface(); 163 const VkDevice device = m_context.getDevice(); 164 const deUint32 queueFamilyIndex = m_context.getUniversalQueueFamilyIndex(); 165 SimpleAllocator memAlloc (vk, device, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 206 m_context.getInstanceInterface().getPhysicalDeviceFormatProperties(m_context.getPhysicalDevice(), 242 const DeviceInterface& vk = m_context.getDeviceInterface() [all...] |
/external/v8/src/inspector/ |
injected-script.cc | 325 : m_context(context), 336 v8::HandleScope handles(m_context->isolate()); 337 v8::Local<v8::Context> context = m_context->context(); 338 V8FunctionCall function(m_context->inspector(), m_context->context(), 346 v8::TryCatch tryCatch(m_context->isolate()); 384 v8::HandleScope handles(m_context->isolate()); 386 v8::Local<v8::Context> context = m_context->context(); 405 V8FunctionCall function(m_context->inspector(), m_context->context() [all...] |