Home
last modified time | relevance | path

Searched refs:apiType (Results 1 – 25 of 25) 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.cpp126 std::ostream& operator<< (std::ostream& str, ApiType apiType) in operator <<() argument
130 if (apiType.getProfile() == PROFILE_ES) in operator <<()
133 str << apiType.getMajorVersion() << "." << apiType.getMinorVersion(); in operator <<()
135 if (apiType.getProfile() == PROFILE_CORE) in operator <<()
137 else if (apiType.getProfile() == PROFILE_COMPATIBILITY) in operator <<()
139 else if (apiType.getProfile() != PROFILE_ES) in operator <<()
DgluRenderContext.hpp143 explicit ContextType (ApiType apiType, ContextFlags flags = ContextFlags(0));
169 inline ContextType::ContextType (ApiType apiType, ContextFlags flags) in ContextType() argument
170 : ApiType(apiType) in ContextType()
221 …eDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType);
223 … initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
224 …tions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtension…
228 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
229 …initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
DgluStrUtil.hpp94 std::ostream& operator<< (std::ostream& str, ApiType apiType);
/external/deqp/modules/egl/
DteglTestCase.cpp62 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const in initGLFunctions()
64 initGLFunctions(dst, apiType, 0, DE_NULL); in initGLFunctions()
67 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions,… in initGLFunctions() argument
69 const tcu::FunctionLibrary* platformLib = m_glLibraryCache.getLibrary(apiType); in initGLFunctions()
72 glu::initCoreFunctions(dst, &loader, apiType); in initGLFunctions()
73 glu::initExtensionFunctions(dst, &loader, apiType, numExtensions, extensions); in initGLFunctions()
DteglTestCase.hpp71 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const;
72 …void initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const…
DteglImageTests.cpp217 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, ApiType apiType) in chooseConfig() argument
224 attribs[EGL_RENDERABLE_TYPE] = eglu::apiRenderableType(apiType); in chooseConfig()
/external/deqp/framework/egl/
DegluGLFunctionLoader.cpp60 const tcu::FunctionLibrary* GLLibraryCache::getLibrary (glu::ApiType apiType) in getLibrary() argument
63 const deUint32 key = apiType.getPacked(); in getLibrary()
68 library = m_platform.createDefaultGLFunctionLibrary(apiType, m_cmdLine); in getLibrary()
DegluPlatform.cpp39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::Co… in createDefaultGLFunctionLibrary() argument
42 if (apiType.getProfile() == glu::PROFILE_ES) in createDefaultGLFunctionLibrary()
DegluGLUtil.cpp57 EGLint apiRenderableType (glu::ApiType apiType) in apiRenderableType() argument
59 switch (apiType.getProfile()) in apiRenderableType()
65 switch (apiType.getMajorVersion()) in apiRenderableType()
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);
/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.hpp209 bool valid (glu::ApiType apiType) const;
218 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.cpp2949 DE_ASSERT(apiType.getProfile() != glu::PROFILE_LAST); in valid()
2956 if (!attribs[ndx].valid(apiType)) in valid()
2983 if (apiType == glu::ApiType::es(2,0)) in valid()
3015 if (apiType.getProfile() == glu::PROFILE_CORE) in valid()
3168 const bool validContext = m_specs[0].apiType == spec.apiType; in addIteration()
3186 DE_ASSERT(contextSupports(m_renderCtx.getType(), m_specs[0].apiType)); in init()
/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()
630 valid = attribSpec.valid(spec.apiType); in init()
/external/deqp/framework/platform/X11/
DtcuX11GlxPlatform.cpp301 const ApiType apiType = contextType.getAPI(); in createContext() local
307 switch (apiType.getProfile()) in createContext()
325 GLX_CONTEXT_MAJOR_VERSION_ARB, apiType.getMajorVersion(), in createContext()
326 GLX_CONTEXT_MINOR_VERSION_ARB, apiType.getMinorVersion(), in createContext()
/external/deqp/modules/gles2/stress/
Des2sDrawTests.cpp46 spec.apiType = glu::ApiType::es(2,0); in genBasicSpec()
311 spec.apiType = glu::ApiType::es(2,0); in init()
344 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()
1024 spec.apiType = glu::ApiType::es(3,0); in init()
1057 valid = attribSpec.valid(spec.apiType); in init()
/external/deqp/modules/gles3/stress/
Des3sDrawTests.cpp227 spec.apiType = glu::ApiType::es(3,0); in genBasicSpec()
525 spec.apiType = glu::ApiType::es(3,0); in init()
558 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.cpp183 spec.apiType = glu::ApiType::es(3,1); in genBasicSpec()
265 spec.apiType = glu::ApiType::es(3,1); in init()
301 spec.apiType = glu::ApiType::es(3,1); in init()
348 spec.apiType = glu::ApiType::es(3,1); in init()
409 spec.apiType = glu::ApiType::es(3,1); in init()
2150 spec.apiType = glu::ApiType::es(3,1); in init()
2196 valid = attribSpec.valid(spec.apiType); in init()