Home
last modified time | relevance | path

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

12

/external/deqp/framework/opengl/
DgluRenderContext.cpp173 …ateDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType) in createDefaultRenderContext() argument
181 config.type = glu::ContextType(apiType, ctxFlags); in createDefaultRenderContext()
187 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType) in getExtensions() argument
192 if (apiType.getProfile() == PROFILE_ES && apiType.getMajorVersion() == 2) in getExtensions()
235 bool hasExtension (const glw::Functions& gl, ApiType apiType, const std::string& extension) in hasExtension() argument
237 std::vector<std::string> extensions(getExtensions(gl, apiType)); in hasExtension()
242 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) in initCoreFunctions() argument
246 ApiType apiType; in initCoreFunctions() member
269 if (s_initFuncs[ndx].apiType == apiType) in initCoreFunctions()
276 …w tcu::InternalError(std::string("Don't know how to load functions for ") + de::toString(apiType)); in initCoreFunctions()
[all …]
DgluRenderContext.hpp148 explicit ContextType (ApiType apiType, ContextFlags flags = ContextFlags(0));
174 inline ContextType::ContextType (ApiType apiType, ContextFlags flags) in ContextType() argument
175 : ApiType(apiType) in ContextType()
236 …eDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType);
238 … initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
239 …tions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtension…
243 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
244 …initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
246 bool hasExtension (const glw::Functions& gl, ApiType apiType, const std::string& extension);
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 <<()
/external/deqp/external/openglcts/modules/runner/
DglcTestRunner.cpp197 static const char* getApiName(glu::ApiType apiType) in getApiName() argument
199 if (apiType == glu::ApiType::es(2, 0)) in getApiName()
201 else if (apiType == glu::ApiType::es(3, 0)) in getApiName()
203 else if (apiType == glu::ApiType::es(3, 1)) in getApiName()
205 else if (apiType == glu::ApiType::es(3, 2)) in getApiName()
207 else if (apiType == glu::ApiType::core(3, 0)) in getApiName()
209 else if (apiType == glu::ApiType::core(3, 1)) in getApiName()
211 else if (apiType == glu::ApiType::core(3, 2)) in getApiName()
213 else if (apiType == glu::ApiType::core(3, 3)) in getApiName()
215 else if (apiType == glu::ApiType::core(4, 0)) in getApiName()
[all …]
/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…
DteglGetProcAddressTests.cpp227 …Case (EglTestContext& eglTestCtx, const char* name, const char* description, const ApiType apiType) in GetProcAddressCoreFunctionsCase() argument
229 , m_apiType (apiType) in GetProcAddressCoreFunctionsCase()
279 FunctionNames getCoreFunctionNames (EGLint apiType) in getCoreFunctionNames() argument
281 switch (apiType) in getCoreFunctionNames()
DteglRobustnessTests.cpp480 void initGLFunctions (glw::Functions* gl, const glu::ApiType apiType);
540 void RenderingContext::initGLFunctions (glw::Functions *gl, const glu::ApiType apiType) in initGLFunctions() argument
552 m_eglTestCtx.initGLFunctions(gl, apiType); in initGLFunctions()
555 …const char* const robustnessExt = glu::hasExtension(*gl, apiType, "GL_KHR_robustness") ? "GL_KHR_r… in initGLFunctions()
558 m_eglTestCtx.initGLFunctions(gl, apiType, DE_LENGTH_OF_ARRAY(extensions), &extensions[0]); in initGLFunctions()
1439 const glu::ApiType apiType(3, 0, glu::PROFILE_ES); in iterate() local
1440 context.initGLFunctions(&gl, apiType); in iterate()
1441 checkRequiredGLSupport(gl, apiType); in iterate()
1493 const glu::ApiType apiType(3, 0, glu::PROFILE_ES); in iterate() local
1494 context.initGLFunctions(&gl, apiType); in iterate()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcRobustnessTests.cpp48 …ssBase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType);
57 glu::ApiType apiType) in RobustnessBase() argument
58 : tcu::TestCase(testCtx, name, description), m_ApiType(apiType) in RobustnessBase()
94 …ionCase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType) in NoResetNotificationCase() argument
95 : RobustnessBase(testCtx, name, description, apiType) in NoResetNotificationCase()
140 …setCase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType) in LoseContextOnResetCase() argument
141 : RobustnessBase(testCtx, name, description, apiType) in LoseContextOnResetCase()
177 static deqp::Context* createContext(tcu::TestContext& testCtx, glu::ApiType apiType) in createContext() argument
179 deqp::Context* context = new deqp::Context(testCtx, glu::ContextType(apiType)); in createContext()
206 GetnUniformTest(tcu::TestContext& testCtx, glu::ApiType apiType);
[all …]
DglcKHRDebugTests.hpp57 TestBase(tcu::TestContext& testContext, glu::ApiType apiType, bool is_debug);
146 …APIErrorsTest(tcu::TestContext& testCtx, glu::ApiType apiType, bool is_debug, const glw::GLchar* n…
187 …LabelsTest(tcu::TestContext& testCtx, glu::ApiType apiType, bool is_debug, const glw::GLchar* name…
309 ReceivingMessagesTest(tcu::TestContext& testCtx, glu::ApiType apiType);
390 GroupsTest(tcu::TestContext& testCtx, glu::ApiType apiType);
440 SynchronousCallsTest(tcu::TestContext& testCtx, glu::ApiType apiType);
461 KHRDebugTests(tcu::TestContext& testCtx, glu::ApiType apiType);
DglcNoErrorTests.cpp50 NoErrorContextTest::NoErrorContextTest(tcu::TestContext& testCtx, glu::ApiType apiType) in NoErrorContextTest() argument
53 , m_ApiType(apiType) in NoErrorContextTest()
123 NoErrorTests::NoErrorTests(tcu::TestContext& testCtx, glu::ApiType apiType) in NoErrorTests() argument
125 , m_ApiType(apiType) in NoErrorTests()
DglcContextFlagsTests.cpp46 const char* name, const char* description, glu::ApiType apiType) in ContextFlagsCase() argument
51 , m_ApiType(apiType) in ContextFlagsCase()
111 ContextFlagsTests::ContextFlagsTests(tcu::TestContext& testCtx, glu::ApiType apiType) in ContextFlagsTests() argument
113 , m_ApiType(apiType) in ContextFlagsTests()
DglcRobustBufferAccessBehaviorTests.hpp282 …ssBase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType);
345 VertexBufferObjectsTest(tcu::TestContext& testCtx, glu::ApiType apiType);
394 TexelFetchTest(tcu::TestContext& testCtx, glu::ApiType apiType);
395 …chTest(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType);
458 ImageLoadStoreTest(tcu::TestContext& testCtx, glu::ApiType apiType);
504 StorageBufferTest(tcu::TestContext& testCtx, glu::ApiType apiType);
548 UniformBufferTest(tcu::TestContext& testCtx, glu::ApiType apiType);
580 RobustBufferAccessBehaviorTests(tcu::TestContext& testCtx, glu::ApiType apiType);
DglcNoErrorTests.hpp45 NoErrorContextTest(tcu::TestContext& testCtx, glu::ApiType apiType);
63 NoErrorTests(tcu::TestContext& testCtx, glu::ApiType apiType);
DglcKHRDebugTests.cpp149 TestBase::TestBase(tcu::TestContext& testContext, glu::ApiType apiType, bool is_debug) in TestBase() argument
150 : m_gl(0), m_is_debug(is_debug), m_rc(0), m_testContext(testContext), m_apiType(apiType) in TestBase()
234 APIErrorsTest::APIErrorsTest(tcu::TestContext& testCtx, glu::ApiType apiType, bool is_debug, const … in APIErrorsTest() argument
235 …: TestBase(testCtx, apiType, is_debug), TestCase(testCtx, name, "Verifies that errors are generate… in APIErrorsTest()
663 LabelsTest::LabelsTest(tcu::TestContext& testCtx, glu::ApiType apiType, bool is_debug, const GLchar… in LabelsTest() argument
664 …tx, name, "Verifies that labels can be assigned and queried"), TestBase(testCtx, apiType, is_debug) in LabelsTest()
1259 ReceivingMessagesTest::ReceivingMessagesTest(tcu::TestContext& testCtx, glu::ApiType apiType) in ReceivingMessagesTest() argument
1261 , TestBase(testCtx, apiType, true /* is_debug */) in ReceivingMessagesTest()
1904 GroupsTest::GroupsTest(tcu::TestContext& testCtx, glu::ApiType apiType) in GroupsTest() argument
1906 , TestBase(testCtx, apiType, true /* is_debug */) in GroupsTest()
[all …]
DglcMultipleContextsTests.cpp52 UniformPreservationTest(tcu::TestContext& testCtx, glu::ApiType apiType);
163 UniformPreservationTest::UniformPreservationTest(tcu::TestContext& testCtx, glu::ApiType apiType) in UniformPreservationTest() argument
166 , m_api_type(apiType) in UniformPreservationTest()
860 MultipleContextsTests::MultipleContextsTests(tcu::TestContext& testCtx, glu::ApiType apiType) in MultipleContextsTests() argument
862 , m_apiType(apiType) in MultipleContextsTests()
DglcMultipleContextsTests.hpp40 MultipleContextsTests(tcu::TestContext& testCtx, glu::ApiType apiType);
/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…
/external/deqp/external/openglcts/modules/gl/
Dgl3cCommonBugsTests.cpp4777 glu::ApiType apiType = context_type.getAPI(); in getReservedNames() local
4778 if (apiType == glu::ApiType::core(3, 1)) in getReservedNames()
4785 else if (apiType == glu::ApiType::core(3, 2)) in getReservedNames()
4792 else if (apiType == glu::ApiType::core(3, 3)) in getReservedNames()
4799 else if (apiType == glu::ApiType::core(4, 0)) in getReservedNames()
4806 else if (apiType == glu::ApiType::core(4, 1)) in getReservedNames()
4813 else if (apiType == glu::ApiType::core(4, 2)) in getReservedNames()
4820 else if (apiType == glu::ApiType::core(4, 3)) in getReservedNames()
4827 else if (apiType == glu::ApiType::core(4, 4)) in getReservedNames()
4834 else if (apiType == glu::ApiType::core(4, 5)) in getReservedNames()
[all …]
/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.hpp214 bool valid (glu::ApiType apiType) const;
223 glu::ApiType apiType; //!< needed in spec validation member

12