Searched defs:apiType (Results 1 - 13 of 13) sorted by relevance

/external/deqp/framework/egl/
H A DegluPlatform.cpp39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine&) const argument
42 if (apiType.getProfile() == glu::PROFILE_ES)
H A DegluGLFunctionLoader.cpp60 const tcu::FunctionLibrary* GLLibraryCache::getLibrary (glu::ApiType apiType) argument
63 const deUint32 key = apiType.getPacked();
68 library = m_platform.createDefaultGLFunctionLibrary(apiType, m_cmdLine);
H A DegluGLUtil.cpp57 EGLint apiRenderableType (glu::ApiType apiType) argument
59 switch (apiType.getProfile())
65 switch (apiType.getMajorVersion())
/external/deqp/framework/opengl/
H A DgluStrUtil.cpp126 std::ostream& operator<< (std::ostream& str, ApiType apiType) argument
130 if (apiType.getProfile() == PROFILE_ES)
133 str << apiType.getMajorVersion() << "." << apiType.getMinorVersion();
135 if (apiType.getProfile() == PROFILE_CORE)
137 else if (apiType.getProfile() == PROFILE_COMPATIBILITY)
139 else if (apiType.getProfile() != PROFILE_ES)
H A DgluRenderContext.cpp120 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType) argument
134 config.type = glu::ContextType(apiType, ctxFlags);
164 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType) argument
169 if (apiType.getProfile() == PROFILE_ES && apiType.getMajorVersion() == 2)
212 bool hasExtension (const glw::Functions& gl, ApiType apiType, const std::string& extension) argument
214 std::vector<std::string> extensions(getExtensions(gl, apiType));
219 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) argument
223 ApiType apiType; member in struct:glu::__anon4129
244 if (s_initFuncs[ndx].apiType
254 initExtensionFunctions(glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) argument
269 initExtensionFunctions(glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtensions, const char* const* extensions) argument
277 initFunctions(glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) argument
[all...]
H A DgluRenderContext.hpp143 explicit ContextType (ApiType apiType, ContextFlags flags = ContextFlags(0));
169 inline ContextType::ContextType (ApiType apiType, ContextFlags flags) argument
170 : ApiType(apiType)
221 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType);
223 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
224 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtensions, const char* const* extensions);
228 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
229 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
231 bool hasExtension (const glw::Functions& gl, ApiType apiType, const std::string& extension);
/external/deqp/modules/egl/
H A DteglTestCase.cpp62 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const
64 initGLFunctions(dst, apiType, 0, DE_NULL);
67 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const argument
69 const tcu::FunctionLibrary* platformLib = m_glLibraryCache.getLibrary(apiType);
72 glu::initCoreFunctions(dst, &loader, apiType);
73 glu::initExtensionFunctions(dst, &loader, apiType, numExtensions, extensions);
H A DteglImageTests.cpp222 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, ApiType apiType) argument
229 attribs[EGL_RENDERABLE_TYPE] = eglu::apiRenderableType(apiType);
H A DteglRobustnessTests.cpp473 void initGLFunctions (glw::Functions* gl, const glu::ApiType apiType);
533 void RenderingContext::initGLFunctions (glw::Functions *gl, const glu::ApiType apiType) argument
545 m_eglTestCtx.initGLFunctions(gl, apiType);
548 const char* const robustnessExt = glu::hasExtension(*gl, apiType, "GL_KHR_robustness") ? "GL_KHR_robustness" : "GL_EXT_robustness";
551 m_eglTestCtx.initGLFunctions(gl, apiType, DE_LENGTH_OF_ARRAY(extensions), &extensions[0]);
1420 const glu::ApiType apiType(3, 0, glu::PROFILE_ES);
1421 context.initGLFunctions(&gl, apiType);
1422 checkRequiredGLSupport(gl, apiType);
1474 const glu::ApiType apiType(3, 0, glu::PROFILE_ES);
1475 context.initGLFunctions(&gl, apiType);
1622 const glu::ApiType apiType = paramsToApiType(m_params); local
[all...]
/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.cpp54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight) argument
192 if (apiType == glu::ApiType::es(2,0))
254 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, vector<RenderCommand>& dst)
261 computeRandomRenderState(rnd, cmd->state, apiType, targetW, targetH);
H A DglsFragOpInteractionCase.cpp217 static void computeRandomRenderCommand (de::Random& rnd, RenderCommand& command, glu::ApiType apiType, int targetW, int targetH) argument
221 gls::InteractionTestUtil::computeRandomRenderState(rnd, command.state, apiType, targetW, targetH);
H A DglsDrawTest.hpp209 bool valid (glu::ApiType apiType) const;
218 glu::ApiType apiType; //!< needed in spec validation member in struct:deqp::gls::DrawTestSpec
/external/deqp/framework/platform/X11/
H A DtcuX11GlxPlatform.cpp301 const ApiType apiType = contextType.getAPI(); local
307 switch (apiType.getProfile())
325 GLX_CONTEXT_MAJOR_VERSION_ARB, apiType.getMajorVersion(),
326 GLX_CONTEXT_MINOR_VERSION_ARB, apiType.getMinorVersion(),

Completed in 645 milliseconds