Home
last modified time | relevance | path

Searched refs:getAPI (Results 1 – 25 of 33) sorted by relevance

12

/third_party/vk-gl-cts/framework/platform/osx/
DtcuOSXPlatform.cpp138 if (type.getAPI().getProfile() != glu::PROFILE_CORE) in getCGLProfile()
141 if (type.getAPI().getMajorVersion() == 4) in getCGLProfile()
143 else if (type.getAPI().getMajorVersion() == 3) in getCGLProfile()
197 glu::initFunctions(&m_functions, &loader, config.type.getAPI()); in CGLRenderContext()
202 if (!contextSupports(glu::ContextType(actualApi, glu::ContextFlags(0)), config.type.getAPI())) in CGLRenderContext()
/third_party/vk-gl-cts/framework/opengl/
DgluRenderContext.hpp150 …ApiType getAPI (void) const { return ApiType::fromBits(m_bits & ((1u<<TOTAL_API_BITS)-1u)); … in getAPI() function in glu::ContextType
193 inline bool isContextTypeES (ContextType type) { return type.getAPI().getProfile() == PROFILE_E… in isContextTypeES()
194 inline bool isContextTypeGLCore (ContextType type) { return type.getAPI().getProfile() == PROFIL… in isContextTypeGLCore()
195 inline bool isContextTypeGLCompatibility(ContextType type) { return type.getAPI().getProfile() == … in isContextTypeGLCompatibility()
DgluRenderContext.cpp69 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
74 return ctxType.getAPI() == requiredApiType; in contextSupports()
77 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
83 versionGreaterOrEqual(ctxType.getAPI(), requiredApiType); in contextSupports()
DgluContextInfo.cpp201 if (context.getType().getAPI() == ApiType::es(2,0)) in ContextInfo()
270 if (context.getType().getAPI() == ApiType::es(2,0)) in create()
DgluStrUtil.cpp147 str << contextType.getAPI(); in operator <<()
/third_party/vk-gl-cts/framework/egl/
DegluGLContextFactory.cpp397 glu::initCoreFunctions(&m_glFunctions, &funcLoader, config.type.getAPI()); in create()
400 else if (config.type.getAPI() == glu::ApiType::es(2,0)) in create()
406 else if (config.type.getAPI() == glu::ApiType::es(3,0)) in create()
412 else if (config.type.getAPI() == glu::ApiType::es(3,1)) in create()
418 else if (config.type.getAPI() == glu::ApiType::es(3,2)) in create()
440 glu::initCoreFunctions(&m_glFunctions, &funcLoader, config.type.getAPI()); in create()
446 glu::initExtensionFunctions(&m_glFunctions, &extLoader, config.type.getAPI()); in create()
DegluGLUtil.cpp210 EGLint requiredRenderable = apiRenderableType(renderConfig.type.getAPI()); in configMatches()
/third_party/vk-gl-cts/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp432 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext()
435 else if (contextType.getAPI() == glu::ApiType::es(2,0)) in EglRenderContext()
441 else if (contextType.getAPI() == glu::ApiType::es(3,0)) in EglRenderContext()
465 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext()
470 glu::initExtensionFunctions(&m_glFunctions, &extLoader, contextType.getAPI()); in EglRenderContext()
/third_party/vk-gl-cts/framework/platform/ios/
DtcuIOSPlatform.mm109 if (type.getAPI() == glu::ApiType::es(3,0))
111 else if (type.getAPI() == glu::ApiType::es(2,0))
133 if (type.getAPI() == glu::ApiType::es(3,0))
135 else if (type.getAPI() == glu::ApiType::es(2,0))
/third_party/vk-gl-cts/framework/platform/null/
DtcuNullRenderContext.cpp132 if (ctxType.getAPI() == ApiType::es(2, 0)) in Context()
137 else if (ctxType.getAPI() == ApiType::es(3, 0)) in Context()
142 else if (ctxType.getAPI() == ApiType::es(3, 1)) in Context()
171 else if (ctxType.getAPI() == ApiType::es(3, 2)) in Context()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DThread.h44 EGLenum getAPI() const;
DThread.cpp66 EGLenum Thread::getAPI() const in getAPI() function in egl::Thread
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DThread.h58 EGLenum getAPI() const;
DThread.cpp104 EGLenum Thread::getAPI() const in getAPI() function in egl::Thread
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcContext.cpp54 …glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFla… in createRenderContext()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawElementsBaseVertexTests.cpp130 …c.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAPI(); in genBasicSpec()
650 …c.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAPI(); in init()
687 …c.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAPI(); in init()
735 ….apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAPI(); in init()
797 …c.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAPI(); in init()
Des31fDrawTests.cpp183 ….apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in genBasicSpec()
266 ….apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in init()
303 ….apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in init()
351 …apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in init()
413 ….apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in init()
2147 …piType apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAPI(); in init()
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWGLContextFactory.cpp135 glu::initFunctions(&m_functions, &funcLoader, config.type.getAPI()); in WGLContext()
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.cpp208 glu::initFunctions(&m_glFunctions, &loader, config.type.getAPI()); in OhosRendContext()
/third_party/vk-gl-cts/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp335 const ApiType apiType = contextType.getAPI(); in createContext()
726 glu::initFunctions(&m_functions, &loader, config.type.getAPI()); in GlxRenderContext()
/third_party/vk-gl-cts/modules/egl/
DteglImageTests.cpp299 , m_config (chooseConfig(eglTestCtx.getLibrary(), display, ctxType.getAPI())) in Context()
304 m_eglTestCtx.initGLFunctions(&m_gl, ctxType.getAPI()); in Context()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Degl_stubs.cpp131 display->createContext(configuration, sharedGLContext, thread->getAPI(), in CreateContext()
489 EGLenum API = thread->getAPI(); in QueryAPI()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cCommonBugsTests.cpp2603 if (!glu::contextSupports(context_type, min_context_type.getAPI())) in runPipelineObjectValidationTestMode()
2784 if (!glu::contextSupports(context_type, min_context_type.getAPI())) in runSeparateShaderTestMode()
4776 glu::ApiType apiType = context_type.getAPI(); in getReservedNames()
4892 glu::ApiType apiType = context_type.getAPI(); in getShaderBody()
Dgl4cTextureViewTests.cpp1632 if (context_type.getAPI() == glu::ApiType::core(4, 0)) in getMajorMinorVersionFromContextVersion()
1637 else if (context_type.getAPI() == glu::ApiType::core(4, 1)) in getMajorMinorVersionFromContextVersion()
1642 else if (context_type.getAPI() == glu::ApiType::core(4, 2)) in getMajorMinorVersionFromContextVersion()
1647 else if (context_type.getAPI() == glu::ApiType::core(4, 3)) in getMajorMinorVersionFromContextVersion()
1652 else if (context_type.getAPI() == glu::ApiType::core(4, 4)) in getMajorMinorVersionFromContextVersion()
1657 else if (context_type.getAPI() == glu::ApiType::core(4, 5)) in getMajorMinorVersionFromContextVersion()
1662 else if (context_type.getAPI() == glu::ApiType::core(4, 6)) in getMajorMinorVersionFromContextVersion()
/third_party/flutter/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_egl.cpp386 display->createContext(configuration, sharedGLContext, thread->getAPI(), in EGL_CreateContext()
726 EGLenum API = thread->getAPI(); in EGL_QueryAPI()

12