Home
last modified time | relevance | path

Searched refs:ApiType (Results 1 – 25 of 51) 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 !=()
84 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); } in es()
85 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); } in core()
86 …static ApiType compatibility (int major, int minor) { return ApiType(major, minor, PROFILE_COMPAT… in compatibility()
89 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType() function in glu::ApiType
90 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.cpp92 static ApiType getMinAPIForGLSLVersion (GLSLVersion version) in getMinAPIForGLSLVersion()
94 static const ApiType s_minApi[] = in getMinAPIForGLSLVersion()
96 ApiType::es(2,0), in getMinAPIForGLSLVersion()
97 ApiType::es(3,0), in getMinAPIForGLSLVersion()
98 ApiType::es(3,1), in getMinAPIForGLSLVersion()
99 ApiType::core(3,0), in getMinAPIForGLSLVersion()
100 ApiType::core(3,1), in getMinAPIForGLSLVersion()
101 ApiType::core(3,2), in getMinAPIForGLSLVersion()
102 ApiType::core(3,3), in getMinAPIForGLSLVersion()
103 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()
142 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
156 if (contextSupports(type, ApiType::es(3,1))) in resetStateES()
172 if (contextSupports(type, ApiType::es(3,0))) in resetStateES()
186 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.cpp512 …ContextType(ApiType::core(4,4), config.type.getFlags() & validContextFlags), // !< higher in the l… in ES3PlusWrapperContext()
513 ContextType(ApiType::core(4,3), config.type.getFlags() & validContextFlags), in ES3PlusWrapperContext()
516 if (config.type.getAPI() != ApiType::es(3,1)) in ES3PlusWrapperContext()
564 return ContextType(ApiType::es(3,1), m_context->getType().getFlags()); in getType()
DgluStrUtil.hpp74 std::ostream& operator<< (std::ostream& str, ApiType apiType);
DgluStrUtil.cpp103 std::ostream& operator<< (std::ostream& str, ApiType apiType) in operator <<()
/external/deqp/modules/egl/
DteglTestCase.hpp69 deFunctionPtr getGLFunction (glu::ApiType apiType, const char* name) const;
70 void getGLFunctions (glw::Functions& gl, glu::ApiType apiType) const;
82 const tcu::FunctionLibrary* getGLLibrary (glu::ApiType apiType) const;
DteglTestCase.cpp233 static deUint32 makeKey (glu::ApiType apiType) in makeKey()
238 const tcu::FunctionLibrary* EglTestContext::getGLLibrary (glu::ApiType apiType) const in getGLLibrary()
255 deFunctionPtr EglTestContext::getGLFunction (glu::ApiType apiType, const char* name) const in getGLFunction()
262 void EglTestContext::getGLFunctions (glw::Functions& gl, glu::ApiType apiType) const in getGLFunctions()
/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…
DglsDrawTest.hpp208 bool valid (glu::ApiType apiType) const;
217 glu::ApiType apiType; //!< needed in spec validation
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()
/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…
/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/modules/gles3/
Dtes3Context.cpp44 …teDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0)); in Context()
Dtes3TestCaseWrapper.cpp41 TCU_CHECK(contextSupports(renderCtx.getType(), glu::ApiType::es(3,0))); in TestCaseWrapper()
/external/deqp/modules/gles2/
Dtes2Context.cpp47 …teDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0)); in Context()
Dtes2TestCaseWrapper.cpp42 TCU_CHECK(contextSupports(renderCtx.getType(), glu::ApiType::es(2,0))); in TestCaseWrapper()
/external/deqp/modules/gles31/
Dtes31Context.cpp60 …teDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,1)); in createRenderContext()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp126 using glu::ApiType; in Context()
128 if (ctxType.getAPI() == ApiType::es(2, 0)) in Context()
133 else if (ctxType.getAPI() == ApiType::es(3, 0)) in Context()
138 else if (ctxType.getAPI() == ApiType::es(3, 1)) in Context()
/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()
599 spec.apiType = glu::ApiType::es(2,0); in init()
/external/deqp/modules/gles3/functional/
Des3fDrawTests.cpp104 spec.apiType = glu::ApiType::es(3,0); in genBasicSpec()
182 spec.apiType = glu::ApiType::es(3,0); in init()
217 spec.apiType = glu::ApiType::es(3,0); in init()
263 spec.apiType = glu::ApiType::es(3,0); in init()
323 spec.apiType = glu::ApiType::es(3,0); in init()
1029 spec.apiType = glu::ApiType::es(3,0); in init()

123