Home
last modified time | relevance | path

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

/external/deqp/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()
/external/deqp/framework/opengl/
DgluRenderContext.hpp150 …ApiType getAPI (void) const { return ApiType::fromBits(m_bits & ((1u<<TOTAL_API_BITS)-1u)); … in getAPI() function in glu::ContextType
191 inline bool isContextTypeES (ContextType type) { return type.getAPI().getProfile() == PROFILE_E… in isContextTypeES()
192 inline bool isContextTypeGLCore (ContextType type) { return type.getAPI().getProfile() == PROFIL… in isContextTypeGLCore()
193 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.cpp190 if (context.getType().getAPI() == ApiType::es(2,0)) in ContextInfo()
254 if (context.getType().getAPI() == ApiType::es(2,0)) in create()
DgluStrUtil.cpp147 str << contextType.getAPI(); in operator <<()
DgluTextureUtil.cpp1193 if (renderCtx.getType().getAPI() == ApiType::es(3,0)) in isSizedFormatColorRenderable()
/external/deqp/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp402 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext()
405 else if (contextType.getAPI() == glu::ApiType::es(2,0)) in EglRenderContext()
411 else if (contextType.getAPI() == glu::ApiType::es(3,0)) in EglRenderContext()
435 glu::initCoreFunctions(&m_glFunctions, &funcLoader, contextType.getAPI()); in EglRenderContext()
440 glu::initExtensionFunctions(&m_glFunctions, &extLoader, contextType.getAPI()); in EglRenderContext()
/external/deqp/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()
/external/deqp/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))
/external/deqp/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()
/external/deqp/external/openglcts/modules/common/
DglcContext.cpp54 …glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFla… in createRenderContext()
DglcShaderRenderCase.cpp542 if (m_renderCtx.getType().getAPI() == glu::ApiType(2, 0, glu::PROFILE_ES)) in setupDefaultInputs()
/external/deqp/framework/platform/win32/
DtcuWGLContextFactory.cpp135 glu::initFunctions(&m_functions, &funcLoader, config.type.getAPI()); in WGLContext()
/external/deqp/modules/egl/
DteglImageTests.cpp299 , m_config (chooseConfig(eglTestCtx.getLibrary(), display, ctxType.getAPI())) in Context()
304 m_eglTestCtx.initGLFunctions(&m_gl, ctxType.getAPI()); in Context()
DteglCreateContextExtTests.cpp961 m_eglTestCtx.initGLFunctions(&gl, m_glContextType.getAPI()); in executeForSurface()
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp324 const ApiType apiType = contextType.getAPI(); in createContext()
716 glu::initFunctions(&m_functions, &loader, config.type.getAPI()); in GlxRenderContext()
/external/deqp/external/openglcts/modules/gl/
Dgl3cCommonBugsTests.cpp2603 if (!glu::contextSupports(context_type, min_context_type.getAPI())) in runPipelineObjectValidationTestMode()
2785 if (!glu::contextSupports(context_type, min_context_type.getAPI())) in runSeparateShaderTestMode()
4777 glu::ApiType apiType = context_type.getAPI(); in getReservedNames()
4893 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()
Dgl3cTextureSizePromotion.cpp95 if (glu::contextSupports(context_type, s_formats[i].required_by_context.getAPI())) in iterate()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp565 …computeRandomRenderCommand(rnd, *cmdIter, m_renderCtx.getType().getAPI(), m_viewportSize.x(), m_vi… in iterate()
DglsShaderRenderCase.cpp498 if (m_renderCtx.getType().getAPI() == glu::ApiType::es(2,0)) in setupDefaultInputs()
DglsDrawTest.cpp3120 …if (m_renderCtx.getType().getAPI() == glu::ApiType::es(2,0) || m_renderCtx.getType().getAPI() == g… in init()
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp587 …if (m_context.getRenderContext().getType().getAPI() == glu::ApiType::es(3, 1) && !is_immutable_run… in iterate()
/external/deqp/modules/gles31/functional/
Des31fStencilTexturingTests.cpp495 …if ((context.getRenderContext().getType().getAPI() != glu::ApiType::core(3,2)) && !context.getCont… in checkDepthStencilFormatSupport()