/external/skia/dm/ |
DMGpuTestProcs.cpp | 19 bool IsGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 22 bool IsVulkanContextType(sk_gpu_test::GrContextFactory::ContextType type) { 25 bool IsRenderingGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 28 bool IsNullGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 49 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; 52 if (contextType == GrContextFactory::kGL_ContextType || 53 contextType == GrContextFactory::kGLES_ContextType) { 54 if (contextType != kNativeGLType) [all...] |
/external/skqp/dm/ |
DMGpuTestProcs.cpp | 19 bool IsGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 22 bool IsVulkanContextType(sk_gpu_test::GrContextFactory::ContextType type) { 25 bool IsRenderingGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 28 bool IsNullGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 49 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; 52 if (contextType == GrContextFactory::kGL_ContextType || 53 contextType == GrContextFactory::kGLES_ContextType) { 54 if (contextType != kNativeGLType) [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcContext.cpp | 37 Context::Context(tcu::TestContext& testCtx, glu::ContextType contextType) 40 createRenderContext(contextType); 48 void Context::createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags) 54 glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFlags));
|
glcContext.hpp | 49 Context(tcu::TestContext& testCtx, glu::ContextType contextType = glu::ContextType()); 82 void createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags = (glu::ContextFlags)0); 88 glu::ContextType m_contextType;
|
glcNoErrorTests.cpp | 73 RenderConfig renderCfg(glu::ContextType(m_ApiType, glu::CONTEXT_NO_ERROR)); 95 glu::ContextType contextType(m_ApiType); 96 deqp::Context context(m_testCtx, contextType); 98 bool noErrorExtensionExists = glu::contextSupports(contextType, glu::ApiType::core(4, 6));
|
glcParallelShaderCompileTests.cpp | 81 const glu::ContextType& contextType = m_context.getRenderContext().getType(); 82 const bool isGL = glu::isContextTypeGLCore(contextType); 100 bool supportsInt64 = isGL || glu::contextSupports(contextType, glu::ApiType::es(3, 0)); 171 const glu::ContextType& contextType = m_context.getRenderContext().getType(); 172 const bool isGL = glu::isContextTypeGLCore(contextType); 234 const glu::ContextType& contextType = m_context.getRenderContext().getType(); 235 const bool isGL = glu::isContextTypeGLCore(contextType); [all...] |
/external/deqp/framework/egl/ |
egluGLUtil.cpp | 82 const glu::ContextType& contextType, 91 if (glu::isContextTypeES(contextType)) 95 if (contextType.getMajorVersion() <= 2) 98 attribList.push_back(contextType.getMajorVersion()); 106 attribList.push_back(contextType.getMajorVersion()); 108 attribList.push_back(contextType.getMinorVersion()); 113 DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType)); 121 attribList.push_back(contextType.getMajorVersion()) [all...] |
egluGLUtil.hpp | 47 const glu::ContextType& contextType,
|
/external/deqp/framework/opengl/ |
gluStrUtil.cpp | 145 std::ostream& operator<< (std::ostream& str, ContextType contextType) 147 str << contextType.getAPI(); 149 if (contextType.getFlags() != ContextFlags(0)) 161 ContextFlags flags = contextType.getFlags(); 169 if (flags != contextType.getFlags()) 180 if (flags != contextType.getFlags())
|
/external/deqp/external/openglcts/modules/gl/ |
gl4cSpirvExtensionsTests.cpp | 58 glu::ContextType contextType = m_context.getRenderContext().getType(); 59 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && 65 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) &&
|
gl4cIndirectParametersTests.cpp | 86 glu::ContextType contextType = m_context.getRenderContext().getType(); 87 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && 250 glu::ContextType contextType = m_context.getRenderContext().getType(); 251 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && 338 glu::ContextType contextType = m_context.getRenderContext().getType(); 339 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) && 519 glu::ContextType contextType = m_context.getRenderContext().getType() [all...] |
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
esextcTextureCubeMapArrayTests.cpp | 137 glu::ContextType contextType = m_context.getRenderContext().getType(); 138 if (glu::isContextTypeGLCore(contextType) || glu::contextSupports(contextType, glu::ApiType::es(3, 2)))
|
/external/deqp/framework/platform/surfaceless/ |
tcuSurfacelessPlatform.cpp | 208 glu::ContextType getType (void) const { return m_contextType; } 215 const glu::ContextType m_contextType; 259 const glu::ContextType& contextType = config.type; 277 switch(contextType.getMajorVersion()) 349 context_attribs.push_back(contextType.getMajorVersion()); 351 context_attribs.push_back(contextType.getMinorVersion()); 353 switch (contextType.getProfile()) 372 if ((contextType.getFlags() & glu::CONTEXT_DEBUG) != 0) 375 if ((contextType.getFlags() & glu::CONTEXT_ROBUST) != 0 [all...] |
/external/skia/tests/ |
SurfaceSemaphoreTest.cpp | 185 sk_gpu_test::GrContextFactory::ContextType contextType = 186 (sk_gpu_test::GrContextFactory::ContextType) typeInt; 189 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || 190 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { 191 if (contextType != kNativeGLType) { 197 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); 198 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { 202 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType)));
|
/external/skqp/tests/ |
SurfaceSemaphoreTest.cpp | 185 sk_gpu_test::GrContextFactory::ContextType contextType = 186 (sk_gpu_test::GrContextFactory::ContextType) typeInt; 189 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType || 190 contextType == sk_gpu_test::GrContextFactory::kGLES_ContextType) { 191 if (contextType != kNativeGLType) { 197 contextType, sk_gpu_test::GrContextFactory::ContextOverrides::kDisableNVPR); 198 if (!sk_gpu_test::GrContextFactory::IsRenderingContext(contextType)) { 202 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType)));
|
/external/deqp/modules/egl/ |
teglThreadCleanUpTests.cpp | 139 enum ContextType 151 static std::string testCaseName (ContextType contextType, SurfaceType surfaceType) 155 if (contextType == CONTEXTTYPE_SINGLE) 169 ThreadCleanUpTest (EglTestContext& eglTestCtx, ContextType contextType, SurfaceType surfaceType) 170 : TestCase (eglTestCtx, testCaseName(contextType, surfaceType).c_str(), "Simple thread context clean up test") 171 , m_contextType (contextType) 279 const ContextType m_contextType;
|
/external/deqp/external/openglcts/modules/glesext/texture_buffer/ |
esextcTextureBufferPrecision.cpp | 292 glu::ContextType contextType = m_context.getRenderContext().getType(); 297 if (glu::contextSupports(contextType, glu::ApiType::core(4, 5)) || 298 glu::contextSupports(contextType, glu::ApiType::es(3, 1)))
|
/external/skia/tools/gpu/gl/win/ |
CreatePlatformGLTestContext_win.cpp | 91 SkWGLContextRequest contextType = 100 fPbufferContext = SkWGLPbufferContext::Create(fDeviceContext, contextType, winShareContext); 105 if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false, contextType,
|
/external/skqp/tools/gpu/gl/win/ |
CreatePlatformGLTestContext_win.cpp | 91 SkWGLContextRequest contextType = 100 fPbufferContext = SkWGLPbufferContext::Create(fDeviceContext, contextType, winShareContext); 105 if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false, contextType,
|
/external/skia/tools/gpu/ |
GrContextFactory.h | 33 enum ContextType { 66 static bool IsRenderingContext(ContextType type) { 77 static GrBackend ContextTypeBackend(ContextType type) { 90 static const char* ContextTypeName(ContextType contextType) { 91 switch (contextType) { 135 ContextInfo getContextInfo(ContextType type, 148 GrContext* get(ContextType type, ContextOverrides overrides = ContextOverrides::kNone); 152 ContextInfo getContextInfoInternal(ContextType type, ContextOverrides overrides, 156 ContextType fType [all...] |
/external/skqp/tools/gpu/ |
GrContextFactory.h | 33 enum ContextType { 66 static bool IsRenderingContext(ContextType type) { 77 static GrBackend ContextTypeBackend(ContextType type) { 90 static const char* ContextTypeName(ContextType contextType) { 91 switch (contextType) { 135 ContextInfo getContextInfo(ContextType type, 148 GrContext* get(ContextType type, ContextOverrides overrides = ContextOverrides::kNone); 152 ContextInfo getContextInfoInternal(ContextType type, ContextOverrides overrides, 156 ContextType fType [all...] |
/external/skia/src/utils/win/ |
SkWGL_win.cpp | 351 SkWGLContextRequest contextType, HGLRC shareContext) { 356 if (kGLES_SkWGLContextRequest == contextType) { 373 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && 421 SkWGLContextRequest contextType, HGLRC shareContext) { 443 return create_gl_context(dc, extensions, contextType, shareContext); 446 SkWGLPbufferContext* SkWGLPbufferContext::Create(HDC parentDC, SkWGLContextRequest contextType, 486 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext);
|
/external/skqp/src/utils/win/ |
SkWGL_win.cpp | 351 SkWGLContextRequest contextType, HGLRC shareContext) { 356 if (kGLES_SkWGLContextRequest == contextType) { 373 if (kGLPreferCoreProfile_SkWGLContextRequest == contextType && 421 SkWGLContextRequest contextType, HGLRC shareContext) { 443 return create_gl_context(dc, extensions, contextType, shareContext); 446 SkWGLPbufferContext* SkWGLPbufferContext::Create(HDC parentDC, SkWGLContextRequest contextType, 486 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext);
|
/external/skqp/tools/flags/ |
SkCommonFlagsConfig.cpp | 190 const SkString& tag, const SkTArray<SkString>& viaParts, ContextType contextType, bool useNVPR, 194 , fContextType(contextType) 248 SkCommandLineConfigGpu::ContextType* outContextType) { 388 SkCommandLineConfigGpu::ContextType contextType = GrContextFactory::kGL_ContextType; 416 valueOk = parse_option_gpu_api(value, &contextType); 444 return new SkCommandLineConfigGpu(tag, vias, contextType, useNVPR, useDIText,
|
/external/deqp/modules/gles31/functional/ |
es31fGeometryShaderTests.cpp | 118 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) 120 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); 122 args["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); 200 VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType); 208 std::string genGeometrySource (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType) const; 211 VertexExpanderShader::VertexExpanderShader (const glu::ContextType& contextType, rr::GeometryShaderInputType inputType, rr::GeometryShaderOutputType outputType [all...] |