Home
last modified time | relevance | path

Searched refs:apiType (Results 1 – 20 of 20) sorted by relevance

/external/deqp/framework/opengl/
DgluRenderContext.cpp119 …ateDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType) in createDefaultRenderContext() argument
133 config.type = glu::ContextType(apiType, ctxFlags); in createDefaultRenderContext()
178 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType) in getExtensions() argument
183 if (apiType.getProfile() == PROFILE_ES && apiType.getMajorVersion() == 2) in getExtensions()
226 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) in initCoreFunctions() argument
230 ApiType apiType; in initCoreFunctions() member
250 if (s_initFuncs[ndx].apiType == apiType) in initCoreFunctions()
257 …w tcu::InternalError(std::string("Don't know how to load functions for ") + de::toString(apiType)); in initCoreFunctions()
260 …id initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) in initExtensionFunctions() argument
262 std::vector<std::string> extensions = getExtensions(*dst, apiType); in initExtensionFunctions()
[all …]
DgluStrUtil.cpp103 std::ostream& operator<< (std::ostream& str, ApiType apiType) in operator <<() argument
107 if (apiType.getProfile() == PROFILE_ES) in operator <<()
110 str << apiType.getMajorVersion() << "." << apiType.getMinorVersion(); in operator <<()
112 if (apiType.getProfile() == PROFILE_CORE) in operator <<()
114 else if (apiType.getProfile() == PROFILE_COMPATIBILITY) in operator <<()
116 else if (apiType.getProfile() != PROFILE_ES) in operator <<()
DgluRenderContext.hpp141 explicit ContextType (ApiType apiType, ContextFlags flags = ContextFlags(0));
167 inline ContextType::ContextType (ApiType apiType, ContextFlags flags) in ContextType() argument
168 : ApiType(apiType) in ContextType()
219 …eDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType);
221 … initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
222 …tions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtension…
226 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
227 …initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
DgluStrUtil.hpp74 std::ostream& operator<< (std::ostream& str, ApiType apiType);
/external/deqp/modules/egl/
DteglTestCase.cpp233 static deUint32 makeKey (glu::ApiType apiType) in makeKey() argument
235 return (apiType.getMajorVersion() << 8) | (apiType.getMinorVersion() << 4) | apiType.getProfile(); in makeKey()
238 const tcu::FunctionLibrary* EglTestContext::getGLLibrary (glu::ApiType apiType) const in getGLLibrary()
241 const deUint32 key = makeKey(apiType); in getGLLibrary()
246 …library = m_testCtx.getPlatform().getEGLPlatform().createDefaultGLFunctionLibrary(apiType, m_testC… in getGLLibrary()
255 deFunctionPtr EglTestContext::getGLFunction (glu::ApiType apiType, const char* name) const in getGLFunction() argument
258 const tcu::FunctionLibrary* const library = getGLLibrary(apiType); in getGLFunction()
262 void EglTestContext::getGLFunctions (glw::Functions& gl, glu::ApiType apiType) const in getGLFunctions()
264 const tcu::FunctionLibrary* const library = getGLLibrary(apiType); in getGLFunctions()
268 glu::initCoreFunctions(&gl, &loader, apiType); in getGLFunctions()
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;
/external/deqp/framework/egl/
DegluPlatform.cpp39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::Co… in createDefaultGLFunctionLibrary() argument
42 if (apiType.getProfile() == glu::PROFILE_ES) in createDefaultGLFunctionLibrary()
DegluPlatform.hpp90 …virtual tcu::FunctionLibrary* createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::Co…
/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() argument
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() argument
261 computeRandomRenderState(rnd, cmd->state, apiType, targetW, targetH); in computeRandomRenderCommands()
DglsDrawTest.hpp208 bool valid (glu::ApiType apiType) const;
217 glu::ApiType apiType; //!< needed in spec validation member
DglsFragOpInteractionCase.cpp217 …ndomRenderCommand (de::Random& rnd, RenderCommand& command, glu::ApiType apiType, int targetW, int… in computeRandomRenderCommand() argument
221 gls::InteractionTestUtil::computeRandomRenderState(rnd, command.state, apiType, targetW, targetH); in computeRandomRenderCommand()
DglsDrawTest.cpp2993 DE_ASSERT(apiType.getProfile() != glu::PROFILE_LAST); in valid()
3000 if (!attribs[ndx].valid(apiType)) in valid()
3027 if (apiType == glu::ApiType::es(2,0)) in valid()
3059 if (apiType.getProfile() == glu::PROFILE_CORE) in valid()
3166 const bool validContext = m_specs[0].apiType == spec.apiType; in addIteration()
3198 DE_ASSERT(contextSupports(m_renderCtx.getType(), m_specs[0].apiType)); in init()
/external/deqp/framework/platform/X11/
DtcuX11GlxPlatform.cpp302 const ApiType apiType = contextType.getAPI(); in createContext() local
308 switch (apiType.getProfile()) in createContext()
326 GLX_CONTEXT_MAJOR_VERSION_ARB, apiType.getMajorVersion(), in createContext()
327 GLX_CONTEXT_MINOR_VERSION_ARB, apiType.getMinorVersion(), in createContext()
/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()
632 valid = attribSpec.valid(spec.apiType); in init()
/external/deqp/modules/gles2/stress/
Des2sDrawTests.cpp46 spec.apiType = glu::ApiType::es(2,0); in genBasicSpec()
322 spec.apiType = glu::ApiType::es(2,0); in init()
355 valid = attribSpec.valid(spec.apiType); 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()
1062 valid = attribSpec.valid(spec.apiType); in init()
/external/deqp/modules/gles3/stress/
Des3sDrawTests.cpp227 spec.apiType = glu::ApiType::es(3,0); in genBasicSpec()
539 spec.apiType = glu::ApiType::es(3,0); in init()
572 valid = attribSpec.valid(spec.apiType); in init()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp446 spec.apiType = glu::ApiType::es(3,1); in init()
492 valid = attribSpec.valid(spec.apiType); in init()
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp185 spec.apiType = glu::ApiType::es(3,1); in genBasicSpec()
267 spec.apiType = glu::ApiType::es(3,1); in init()
303 spec.apiType = glu::ApiType::es(3,1); in init()
350 spec.apiType = glu::ApiType::es(3,1); in init()
411 spec.apiType = glu::ApiType::es(3,1); in init()
2152 spec.apiType = glu::ApiType::es(3,1); in init()
2198 valid = attribSpec.valid(spec.apiType); in init()