Home
last modified time | relevance | path

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

123

/external/deqp/framework/opengl/
DgluRenderContext.hpp70 class ApiType class
73 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {} in ApiType() function in glu::ApiType
74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType() function in glu::ApiType
80 bool operator== (ApiType other) const { return m_bits == other.m_bits; } in operator ==()
81 bool operator!= (ApiType other) const { return m_bits != other.m_bits; } in operator !=()
86 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); } in es()
87 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); } in core()
88 …static ApiType compatibility (int major, int minor) { return ApiType(major, minor, PROFILE_COMPAT… in compatibility()
91 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType() function in glu::ApiType
92 static ApiType fromBits (deUint32 bits) { return ApiType(bits); } in fromBits()
[all …]
DgluRenderContext.cpp40 inline bool versionGreaterOrEqual (ApiType a, ApiType b) in versionGreaterOrEqual()
46 bool contextSupports (ContextType ctxType, ApiType requiredApiType) in contextSupports()
119 …ateDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType) in createDefaultRenderContext()
168 if (config.type.getAPI() == ApiType::es(3,1)) in createDefaultRenderContext()
178 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType) in getExtensions()
226 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) in initCoreFunctions()
230 ApiType apiType; in initCoreFunctions()
234 { ApiType::es(2,0), glw::initES20 }, in initCoreFunctions()
235 { ApiType::es(3,0), glw::initES30 }, in initCoreFunctions()
236 { ApiType::es(3,1), glw::initES31 }, in initCoreFunctions()
[all …]
DgluShaderUtil.cpp93 static ApiType getMinAPIForGLSLVersion (GLSLVersion version) in getMinAPIForGLSLVersion()
95 static const ApiType s_minApi[] = in getMinAPIForGLSLVersion()
97 ApiType::es(2,0), in getMinAPIForGLSLVersion()
98 ApiType::es(3,0), in getMinAPIForGLSLVersion()
99 ApiType::es(3,1), in getMinAPIForGLSLVersion()
100 ApiType::core(3,0), in getMinAPIForGLSLVersion()
101 ApiType::core(3,1), in getMinAPIForGLSLVersion()
102 ApiType::core(3,2), in getMinAPIForGLSLVersion()
103 ApiType::core(3,3), in getMinAPIForGLSLVersion()
104 ApiType::core(4,0), in getMinAPIForGLSLVersion()
[all …]
DgluStateReset.cpp55 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
61 if (contextSupports(type, ApiType::es(3,1))) in resetStateES()
69 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
83 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
98 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
110 if (contextSupports(type, ApiType::es(3,1))) in resetStateES()
143 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
157 if (contextSupports(type, ApiType::es(3,1))) in resetStateES()
176 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
190 if (contextSupports(type, ApiType::es(3,1))) in resetStateES()
[all …]
DgluContextInfo.cpp168 if (context.getType().getAPI() == ApiType::es(2,0)) in operator ()()
264 if (context.getType().getAPI() == ApiType::es(2,0)) in create()
DgluES3PlusWrapperContext.cpp628 …ContextType(ApiType::core(4,4), config.type.getFlags() & validContextFlags), // !< higher in the l… in ES3PlusWrapperContext()
629 ContextType(ApiType::core(4,3), config.type.getFlags() & validContextFlags), in ES3PlusWrapperContext()
632 if (config.type.getAPI() != ApiType::es(3,1)) in ES3PlusWrapperContext()
680 return ContextType(ApiType::es(3,1), m_context->getType().getFlags()); in getType()
/external/deqp/modules/egl/
DteglImageTests.cpp69 using glu::ApiType;
151 ImageTestCase (EglTestContext& eglTestCtx, ApiType api, const string& name, const string& desc) in ImageTestCase()
176 ApiType m_api;
184 …: ImageTestCase(eglTestCtx, ApiType::es(2, 0), "invalid_create_image", "eglCreateImageKHR() with i… in InvalidCreateImage()
217 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, ApiType apiType) in chooseConfig()
333 …: ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("create_image_gles2_") + getTargetName(tar… in CreateImageGLES2()
351 const ContextType contextType (ApiType::es(2, 0)); in iterate()
394 …: ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("image_target_gles2_") + getTargetName(targ… in ImageTargetGLES2()
412 Context context(m_eglTestCtx, m_display, ContextType(ApiType::es(2, 0)), 64, 64); in iterate()
DteglTestCase.hpp71 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const;
72 …void initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const…
DteglTestCase.cpp62 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const in initGLFunctions()
67 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions,… in initGLFunctions()
/external/deqp/framework/platform/osx/
DtcuOSXPlatform.cpp100 static glu::ApiType getVersion (const glw::Functions& gl) in getVersion()
107 return glu::ApiType::core(major, minor); in getVersion()
152 const glu::ApiType actualApi = getVersion(m_functions); in CGLRenderContext()
/external/deqp/modules/glshared/
DglsInteractionTestUtil.hpp121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int tar…
123 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int tar…
DglsInteractionTestUtil.cpp54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targe… in computeRandomRenderState()
192 if (apiType == glu::ApiType::es(2,0)) in computeRandomRenderState()
254 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targe… in computeRandomRenderCommands()
DglsDrawTest.hpp209 bool valid (glu::ApiType apiType) const;
218 glu::ApiType apiType; //!< needed in spec validation
DglsTextureStateQueryTests.cpp447 if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureTarget()
449 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureTarget()
460 if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTextureParam()
462 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTextureParam()
473 if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreQuery()
475 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreQuery()
486 if (contextSupports(contextType, glu::ApiType::es(3,1))) in isCoreTester()
488 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in isCoreTester()
501 if (contextSupports(contextType, glu::ApiType::es(3,1))) in getTextureTargetExtension()
503 else if (contextSupports(contextType, glu::ApiType::es(3,0))) in getTextureTargetExtension()
[all …]
/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/egl/
DegluPlatform.cpp39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::Co… in createDefaultGLFunctionLibrary()
DegluPlatform.hpp90 …virtual tcu::FunctionLibrary* createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::Co…
DegluGLUtil.hpp41 eglw::EGLint apiRenderableType (glu::ApiType apiType);
DegluGLFunctionLoader.hpp66 const tcu::FunctionLibrary* getLibrary (glu::ApiType apiType);
DegluGLFunctionLoader.cpp60 const tcu::FunctionLibrary* GLLibraryCache::getLibrary (glu::ApiType apiType) in getLibrary()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp129 using glu::ApiType; in Context()
131 if (ctxType.getAPI() == ApiType::es(2, 0)) in Context()
136 else if (ctxType.getAPI() == ApiType::es(3, 0)) in Context()
141 else if (ctxType.getAPI() == ApiType::es(3, 1)) in Context()
/external/deqp/modules/gles2/
Dtes2Context.cpp47 …teDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0)); in Context()
/external/deqp/modules/gles3/
Dtes3Context.cpp44 …teDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0)); in Context()
/external/deqp/modules/gles31/
Dtes31Context.cpp60 …teDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,1)); in createRenderContext()
/external/deqp/modules/gles2/functional/
Des2fDrawTests.cpp73 spec.apiType = glu::ApiType::es(2,0); in genBasicSpec()
146 spec.apiType = glu::ApiType::es(2,0); in init()
181 spec.apiType = glu::ApiType::es(2,0); in init()
227 spec.apiType = glu::ApiType::es(2,0); in init()
597 spec.apiType = glu::ApiType::es(2,0); in init()

123