/external/deqp/framework/egl/ |
D | egluGLUtil.cpp | 83 const glu::ContextType& contextType, in createGLContext() argument 93 if (glu::isContextTypeES(contextType)) in createGLContext() 97 if (contextType.getMajorVersion() <= 2) in createGLContext() 100 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 108 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 110 attribList.push_back(contextType.getMinorVersion()); in createGLContext() 115 …DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType)); in createGLContext() 123 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 125 attribList.push_back(contextType.getMinorVersion()); in createGLContext() 127 …attribList.push_back(glu::isContextTypeGLCore(contextType) ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_K… in createGLContext() [all …]
|
/external/skqp/dm/ |
D | DMGpuTestProcs.cpp | 41 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 44 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 45 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 46 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 56 contextType, GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts() 57 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 61 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts() 66 ctxInfo = factory.getContextInfo(contextType, in RunWithGPUTestContexts()
|
/external/skia/dm/ |
D | DMGpuTestProcs.cpp | 41 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 44 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 45 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 46 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 56 contextType, GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts() 57 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 61 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts() 66 ctxInfo = factory.getContextInfo(contextType, in RunWithGPUTestContexts()
|
/external/deqp/framework/platform/surfaceless/ |
D | tcuSurfacelessPlatform.cpp | 262 const glu::ContextType& contextType = config.type; in EglRenderContext() local 280 switch(contextType.getMajorVersion()) in EglRenderContext() 352 context_attribs.push_back(contextType.getMajorVersion()); in EglRenderContext() 354 context_attribs.push_back(contextType.getMinorVersion()); in EglRenderContext() 356 switch (contextType.getProfile()) in EglRenderContext() 375 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) in EglRenderContext() 378 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0) in EglRenderContext() 381 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in EglRenderContext() 402 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext() 405 else if (contextType.getAPI() == glu::ApiType::es(2,0)) in EglRenderContext() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcContext.cpp | 37 Context::Context(tcu::TestContext& testCtx, glu::ContextType contextType) in Context() argument 40 createRenderContext(contextType); in Context() 48 void Context::createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags) in createRenderContext() argument 54 …glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFla… in createRenderContext()
|
D | glcParallelShaderCompileTests.cpp | 81 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate() local 82 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate() 100 bool supportsInt64 = isGL || glu::contextSupports(contextType, glu::ApiType::es(3, 0)); in iterate() 171 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate() local 172 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate() 234 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate() local 235 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate()
|
D | glcShaderMacroTests.cpp | 109 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 112 shaderSpec.version = glu::getContextTypeGLSLVersion(contextType); in init() 120 if (glu::contextSupports(contextType, glu::ApiType::es(3, 2))) in init() 127 else if (glu::contextSupports(contextType, glu::ApiType::es(3, 1))) in init()
|
D | glcNoErrorTests.cpp | 95 glu::ContextType contextType(m_ApiType); in iterate() local 96 deqp::Context context(m_testCtx, contextType); in iterate() 98 bool noErrorExtensionExists = glu::contextSupports(contextType, glu::ApiType::core(4, 6)); in iterate()
|
D | glcInternalformatTests.hpp | 44 void getESTestData(TestData& testData, glu::ContextType& contextType); 45 void getGLTestData(TestData& testData, glu::ContextType& contextType);
|
D | glcContext.hpp | 49 Context(tcu::TestContext& testCtx, glu::ContextType contextType = glu::ContextType()); 78 …void createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags = (glu::Context…
|
D | glcAggressiveShaderOptimizationsTests.cpp | 83 glu::ContextType contextType = m_context.getRenderContext().getType(); in TrigonometryTestCase() local 84 glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(contextType); in TrigonometryTestCase() 90 …if (glu::contextSupports(contextType, glu::ApiType::es(3, 0)) || glu::isContextTypeGLCore(contextT… in TrigonometryTestCase()
|
D | glcLayoutLocationTests.cpp | 428 glu::ContextType contextType = renderContext.getType(); in iterate() local 429 glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(contextType); in iterate() 431 bool contextTypeES = glu::isContextTypeES(contextType); in iterate() 432 bool contextES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in iterate() 559 glu::ContextType contextType = renderContext.getType(); in iterate() local 560 glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(contextType); in iterate() 651 glu::ContextType contextType = renderContext.getType(); in init() local 652 if (!glu::isContextTypeES(contextType)) in init()
|
/external/deqp/framework/opengl/ |
D | gluStrUtil.cpp | 145 std::ostream& operator<< (std::ostream& str, ContextType contextType) in operator <<() argument 147 str << contextType.getAPI(); in operator <<() 149 if (contextType.getFlags() != ContextFlags(0)) in operator <<() 161 ContextFlags flags = contextType.getFlags(); in operator <<() 169 if (flags != contextType.getFlags()) in operator <<() 180 if (flags != contextType.getFlags()) in operator <<()
|
/external/skia/tests/ |
D | SurfaceSemaphoreTest.cpp | 180 sk_gpu_test::GrContextFactory::ContextType contextType = in DEF_GPUTEST() local 184 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || in DEF_GPUTEST() 185 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { in DEF_GPUTEST() 186 if (contextType != kNativeGLType) { in DEF_GPUTEST() 192 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST() 193 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { in DEF_GPUTEST() 197 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
|
/external/skqp/tests/ |
D | SurfaceSemaphoreTest.cpp | 180 sk_gpu_test::GrContextFactory::ContextType contextType = in DEF_GPUTEST() local 184 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || in DEF_GPUTEST() 185 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { in DEF_GPUTEST() 186 if (contextType != kNativeGLType) { in DEF_GPUTEST() 192 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST() 193 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { in DEF_GPUTEST() 197 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
|
/external/deqp/modules/egl/ |
D | teglThreadCleanUpTests.cpp | 151 static std::string testCaseName (ContextType contextType, SurfaceType surfaceType) in testCaseName() argument 155 if (contextType == CONTEXTTYPE_SINGLE) in testCaseName() 169 ThreadCleanUpTest (EglTestContext& eglTestCtx, ContextType contextType, SurfaceType surfaceType) in ThreadCleanUpTest() argument 170 …: TestCase (eglTestCtx, testCaseName(contextType, surfaceType).c_str(), "Simple thread context c… in ThreadCleanUpTest() 171 , m_contextType (contextType) in ThreadCleanUpTest()
|
/external/deqp/modules/gles31/functional/ |
D | es31fGeometryShaderTests.cpp | 118 …std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) in specializeShader() argument 120 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in specializeShader() 122 …L_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); in specializeShader() 200 …VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, … 208 …std::string genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType i… 211 VertexExpanderShader::VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShader… in VertexExpanderShader() argument 218 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexExpanderShader() 219 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexExpanderShader() 221 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType))) in VertexExpanderShader() 282 std::string VertexExpanderShader::genGeometrySource (const glu::ContextType& contextType, rr::Geome… in genGeometrySource() argument [all …]
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayTests.cpp | 137 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 138 …if (glu::isContextTypeGLCore(contextType) || glu::contextSupports(contextType, glu::ApiType::es(3,… in init()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cSpirvExtensionsTests.cpp | 58 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 59 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init() 65 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init()
|
D | gl4cIndirectParametersTests.cpp | 86 glu::ContextType contextType = m_context.getRenderContext().getType(); in iterate() local 87 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in iterate() 250 glu::ContextType contextType = m_context.getRenderContext().getType(); in iterate() local 251 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in iterate() 340 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 341 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init() 521 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 522 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init()
|
D | gl4cShaderDrawParametersTests.cpp | 155 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 156 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init() 237 glu::ContextType contextType = m_context.getRenderContext().getType(); in draw() local 240 if (glu::contextSupports(contextType, glu::ApiType::core(4, 6))) in draw() 720 glu::ContextType contextType = m_context.getRenderContext().getType(); in initChild() local 721 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in initChild() 794 glu::ContextType contextType = m_context.getRenderContext().getType(); in initChild() local 795 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in initChild()
|
/external/skqp/src/utils/win/ |
D | SkWGL_win.cpp | 351 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument 356 if (kGLES_SkWGLContextRequest == contextType) { in create_gl_context() 373 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && in create_gl_context() 421 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument 443 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext() 447 SkWGLContextRequest contextType, in Create() argument 487 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 351 SkWGLContextRequest contextType, HGLRC shareContext) { in create_gl_context() argument 356 if (kGLES_SkWGLContextRequest == contextType) { in create_gl_context() 373 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && in create_gl_context() 421 SkWGLContextRequest contextType, HGLRC shareContext) { in SkCreateWGLContext() argument 443 return create_gl_context(dc, extensions, contextType, shareContext); in SkCreateWGLContext() 447 SkWGLContextRequest contextType, in Create() argument 487 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create()
|
/external/deqp/modules/glshared/ |
D | glsTextureStateQueryTests.cpp | 550 static bool isCoreTextureTarget (const glu::ContextType& contextType, glw::GLenum target) in isCoreTextureTarget() argument 552 if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureTarget() 554 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureTarget() 556 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureTarget() 565 static bool isCoreTextureParam (const glu::ContextType& contextType, glw::GLenum pname) in isCoreTextureParam() argument 567 if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreTextureParam() 569 else if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureParam() 571 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureParam() 580 static bool isCoreQuery (const glu::ContextType& contextType, QueryType query) in isCoreQuery() argument 582 if (contextSupports(contextType, glu::ApiType::es(3,2))) in isCoreQuery() [all …]
|
/external/deqp/framework/platform/lnx/X11/ |
D | tcuLnxX11GlxPlatform.cpp | 122 const ContextType& contextType, 313 const ContextType& contextType, in createContext() argument 324 const ApiType apiType = contextType.getAPI(); in createContext() 355 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in createContext() 357 if (glu::isContextTypeES(contextType)) in createContext() 363 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) in createContext() 366 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0) in createContext() 369 if ((contextType.getFlags() & glu::CONTEXT_NO_ERROR) != 0) in createContext()
|