/external/deqp/framework/egl/ |
D | egluGLUtil.cpp | 82 const glu::ContextType& contextType, in createGLContext() argument 91 if (glu::isContextTypeES(contextType)) in createGLContext() 95 if (contextType.getMajorVersion() <= 2) in createGLContext() 98 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 106 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 108 attribList.push_back(contextType.getMinorVersion()); in createGLContext() 113 …DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType)); in createGLContext() 121 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 123 attribList.push_back(contextType.getMinorVersion()); in createGLContext() 125 …attribList.push_back(glu::isContextTypeGLCore(contextType) ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_K… in createGLContext() [all …]
|
/external/skia/dm/ |
D | DMGpuTestProcs.cpp | 49 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 52 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 53 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 54 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 64 contextType, GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts() 65 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 69 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts() 74 ctxInfo = factory.getContextInfo(contextType, in RunWithGPUTestContexts()
|
/external/skqp/dm/ |
D | DMGpuTestProcs.cpp | 49 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local 52 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts() 53 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts() 54 if (contextType != kNativeGLType) { in RunWithGPUTestContexts() 64 contextType, GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts() 65 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts() 69 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts() 74 ctxInfo = factory.getContextInfo(contextType, in RunWithGPUTestContexts()
|
/external/deqp/framework/platform/surfaceless/ |
D | tcuSurfacelessPlatform.cpp | 259 const glu::ContextType& contextType = config.type; in EglRenderContext() local 277 switch(contextType.getMajorVersion()) in EglRenderContext() 349 context_attribs.push_back(contextType.getMajorVersion()); in EglRenderContext() 351 context_attribs.push_back(contextType.getMinorVersion()); in EglRenderContext() 353 switch (contextType.getProfile()) in EglRenderContext() 372 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) in EglRenderContext() 375 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0) in EglRenderContext() 378 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in EglRenderContext() 399 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext() 402 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() 320 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate() local 321 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate()
|
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 | glcContext.hpp | 49 Context(tcu::TestContext& testCtx, glu::ContextType contextType = glu::ContextType()); 82 …void createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags = (glu::Context…
|
/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/skqp/tests/ |
D | SurfaceSemaphoreTest.cpp | 185 sk_gpu_test::GrContextFactory::ContextType contextType = in DEF_GPUTEST() local 189 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || in DEF_GPUTEST() 190 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { in DEF_GPUTEST() 191 if (contextType != kNativeGLType) { in DEF_GPUTEST() 197 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST() 198 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { in DEF_GPUTEST() 202 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
|
/external/skia/tests/ |
D | SurfaceSemaphoreTest.cpp | 185 sk_gpu_test::GrContextFactory::ContextType contextType = in DEF_GPUTEST() local 189 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || in DEF_GPUTEST() 190 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { in DEF_GPUTEST() 191 if (contextType != kNativeGLType) { in DEF_GPUTEST() 197 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); in DEF_GPUTEST() 198 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { in DEF_GPUTEST() 202 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() 338 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 339 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && in init() 519 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() local 520 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() 446 SkWGLPbufferContext* SkWGLPbufferContext::Create(HDC parentDC, SkWGLContextRequest contextType, in Create() argument 486 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() 446 SkWGLPbufferContext* SkWGLPbufferContext::Create(HDC parentDC, SkWGLContextRequest contextType, in Create() argument 486 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 | 121 const ContextType& contextType, 306 const ContextType& contextType, in createContext() argument 316 const ApiType apiType = contextType.getAPI(); in createContext() 347 if ((contextType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in createContext() 349 if (glu::isContextTypeES(contextType)) in createContext() 355 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) in createContext() 358 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0) in createContext() 361 if ((contextType.getFlags() & glu::CONTEXT_NO_ERROR) != 0) in createContext()
|
/external/skqp/tools/flags/ |
D | SkCommonFlagsConfig.cpp | 190 const SkString& tag, const SkTArray<SkString>& viaParts, ContextType contextType, bool useNVPR, in SkCommandLineConfigGpu() argument 194 , fContextType(contextType) in SkCommandLineConfigGpu() 388 SkCommandLineConfigGpu::ContextType contextType = GrContextFactory::kGL_ContextType; in parse_command_line_config_gpu() local 416 valueOk = parse_option_gpu_api(value, &contextType); in parse_command_line_config_gpu() 444 return new SkCommandLineConfigGpu(tag, vias, contextType, useNVPR, useDIText, in parse_command_line_config_gpu()
|
/external/skqp/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 91 SkWGLContextRequest contextType = in WinGLTestContext() local 100 fPbufferContext = SkWGLPbufferContext::Create(fDeviceContext, contextType, winShareContext); in WinGLTestContext() 105 if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false, contextType, in WinGLTestContext()
|
/external/skia/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 91 SkWGLContextRequest contextType = in WinGLTestContext() local 100 fPbufferContext = SkWGLPbufferContext::Create(fDeviceContext, contextType, winShareContext); in WinGLTestContext() 105 if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false, contextType, in WinGLTestContext()
|
/external/skia/tools/flags/ |
D | SkCommonFlagsConfig.cpp | 429 const SkString& tag, const SkTArray<SkString>& viaParts, ContextType contextType, bool useNVPR, in SkCommandLineConfigGpu() argument 433 , fContextType(contextType) in SkCommandLineConfigGpu() 468 SkCommandLineConfigGpu::ContextType contextType = GrContextFactory::kGL_ContextType; in parse_command_line_config_gpu() local 485 extendedOptions.get_option_gpu_api("api", &contextType, false) && in parse_command_line_config_gpu() 497 return new SkCommandLineConfigGpu(tag, vias, contextType, useNVPR, useDIText, in parse_command_line_config_gpu()
|