Home
last modified time | relevance | path

Searched refs:contextType (Results 1 – 21 of 21) sorted by relevance

/external/deqp/framework/egl/
DegluGLUtil.cpp79 …(const Library& egl, EGLDisplay display, EGLContext eglConfig, const glu::ContextType& contextType) in createGLContext() argument
86 if (glu::isContextTypeES(contextType)) in createGLContext()
90 if (contextType.getMajorVersion() <= 2) in createGLContext()
93 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
101 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
103 attribList.push_back(contextType.getMinorVersion()); in createGLContext()
108 …DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType)); in createGLContext()
116 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
118 attribList.push_back(contextType.getMinorVersion()); in createGLContext()
120 …attribList.push_back(glu::isContextTypeGLCore(contextType) ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_K… in createGLContext()
[all …]
DegluGLUtil.hpp42 …brary& egl, eglw::EGLDisplay display, eglw::EGLConfig config, const glu::ContextType& contextType);
/external/deqp/framework/opengl/
DgluStrUtil.cpp145 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 <<()
DgluStrUtil.hpp95 std::ostream& operator<< (std::ostream& str, ContextType contextType);
/external/skia/tools/flags/
DSkCommonFlagsConfig.cpp152 ContextType contextType, bool useNVPR, bool useDIText, int samples) in SkCommandLineConfigGpu() argument
154 , fContextType(contextType) in SkCommandLineConfigGpu()
240 SkCommandLineConfigGpu::ContextType contextType = GrContextFactory::kNative_GLContextType; in parse_command_line_config_gpu() local
260 valueOk = parse_option_gpu_api(value, &contextType); in parse_command_line_config_gpu()
276 return new SkCommandLineConfigGpu(tag, vias, contextType, useNVPR, useDIText, samples); in parse_command_line_config_gpu()
DSkCommonFlagsConfig.h55 ContextType contextType, bool useNVPR, bool useDIText, int samples);
/external/deqp/modules/gles31/functional/
Des31fGeometryShaderTests.cpp118 …std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) in specializeShader() argument
120 const bool isES32 = 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).c_str())) in VertexExpanderShader()
282 std::string VertexExpanderShader::genGeometrySource (const glu::ContextType& contextType, rr::Geome… in genGeometrySource() argument
[all …]
Des31fShaderStateQueryTests.cpp46 static inline std::string brokenShaderSource (const glu::ContextType &contextType) in brokenShaderSource() argument
48 …ring glslVersionDecl = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); in brokenShaderSource()
Des31fShaderMultisampleInterpolationTests.cpp51 … std::string specializeShader(const std::string& shaderSource, const glu::ContextType& contextType) in specializeShader() argument
53 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in specializeShader()
56 …VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); in specializeShader()
Des31fTessellationGeometryInteractionTests.cpp57 …std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) in specializeShader() argument
59 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in specializeShader()
62 …["VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); in specializeShader()
Des31fTextureLevelStateQueryTests.cpp100 static bool isCoreTextureTarget (glw::GLenum target, const glu::ContextType& contextType) in isCoreTextureTarget() argument
114 return glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in isCoreTextureTarget()
/external/skia/src/utils/win/
DSkWGL_win.cpp334 static HGLRC create_gl_context(HDC dc, SkWGLExtensions extensions, SkWGLContextRequest contextType)… in create_gl_context() argument
339 if (kGLES_SkWGLContextRequest == contextType) { in create_gl_context()
356 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && in create_gl_context()
397 HGLRC SkCreateWGLContext(HDC dc, int msaaSampleCount, SkWGLContextRequest contextType) { in SkCreateWGLContext() argument
419 return create_gl_context(dc, extensions, contextType);} in SkCreateWGLContext()
422 SkWGLContextRequest contextType) { in Create() argument
439 HGLRC glrc = create_gl_context(dc, extensions, contextType); in Create()
DSkWGL.h152 SkWGLContextRequest contextType);
/external/skia/src/gpu/gl/win/
DSkCreatePlatformGLContext_win.cpp85 SkWGLContextRequest contextType = in WinGLContext() local
89 fPbufferContext = SkWGLPbufferContext::Create(fDeviceContext, 0, contextType); in WinGLContext()
95 if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, contextType))) { in WinGLContext()
/external/deqp/modules/glshared/
DglsTextureStateQueryTests.cpp550 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/skia/dm/
DDM.cpp677 GrContextFactory::GLContextType contextType = gpuConfig->getContextType(); in create_sink() local
685 if (!testFactory.get(contextType, contextOptions)) { in create_sink()
690 return new GPUSink(contextType, contextOptions, gpuConfig->getSamples(), in create_sink()
1252 for (auto& contextType : contextTypes) { in RunWithGPUTestContexts() local
1254 if (GrContextFactory::IsRenderingGLContext(contextType)) { in RunWithGPUTestContexts()
1256 } else if (contextType == GrContextFactory::kNative_GLContextType) { in RunWithGPUTestContexts()
1258 } else if (contextType == GrContextFactory::kNull_GLContextType) { in RunWithGPUTestContexts()
1260 } else if (contextType == GrContextFactory::kDebug_GLContextType) { in RunWithGPUTestContexts()
1266 GrContextFactory::ContextInfo context = factory->getContextInfo(contextType); in RunWithGPUTestContexts()
1270 context = factory->getContextInfo(contextType, in RunWithGPUTestContexts()
/external/deqp/framework/platform/X11/
DtcuX11GlxPlatform.cpp115 const ContextType& contextType);
298 const ContextType& contextType) in createContext() argument
301 const ApiType apiType = contextType.getAPI(); in createContext()
/external/guava/guava/src/com/google/common/reflect/
DTypeResolver.java319 Type contextType) { in getTypeMappings() argument
321 introspector.visit(wildcardCapturer.capture(contextType)); in getTypeMappings()
/external/deqp/modules/egl/
DteglImageTests.cpp367 const ContextType contextType (ApiType::es(2, 0)); in iterate() local
368 Context context (m_eglTestCtx, dpy, contextType, 64, 64); in iterate()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp558 : contextType (glu::ApiType::es(3,0)) in ReferenceContextLimits()
573 glu::ContextType contextType; member
DsglrReferenceContext.cpp239 : contextType (renderCtx.getType()) in ReferenceContextLimits()
256 if (contextSupports(contextType, glu::ApiType::es(3,0)) || glu::isContextTypeGLCore(contextType)) in ReferenceContextLimits()
277 if (contextSupports(contextType, glu::ApiType::es(3,1))) in ReferenceContextLimits()
313 : Context (limits.contextType) in ReferenceContext()
604 …RC_IF_ERROR(glu::isContextTypeES(m_limits.contextType) && (target == GL_TEXTURE_1D), GL_INVALID_EN… in bindTexture()
1042 if (target == GL_TEXTURE_1D && glu::isContextTypeGLCore(m_limits.contextType)) in texImage3D()
1300 if (target == GL_TEXTURE_1D && glu::isContextTypeGLCore(m_limits.contextType)) in texSubImage3D()