Home
last modified time | relevance | path

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

123

/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));
151 void setAPI (const ApiType& apiType) { m_bits = apiType.getPacked(); } in setAPI() argument
176 inline ContextType::ContextType (ApiType apiType, ContextFlags flags) in ContextType() argument
177 : ApiType(apiType) in ContextType()
239 …eDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType);
241 … initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
242 …tions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtension…
246 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
247 …initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
249 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/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierApiUsageLogger.java80 @ApiType int apiType, @Nullable TextClassificationSessionId sessionId) { in createSession()
81 return new Session(apiType, sessionId); in createSession()
86 @ApiType private final int apiType; field in TextClassifierApiUsageLogger.Session
90 private Session(@ApiType int apiType, @Nullable TextClassificationSessionId sessionId) { in Session() argument
91 this.apiType = apiType; in Session()
115 apiType, in reportInternal()
123 apiType, in reportInternal()
/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()
/external/deqp/external/openglcts/modules/runner/
DglcTestRunner.cpp199 static const char* getApiName(glu::ApiType apiType) in getApiName() argument
201 if (apiType == glu::ApiType::es(2, 0)) in getApiName()
203 else if (apiType == glu::ApiType::es(3, 0)) in getApiName()
205 else if (apiType == glu::ApiType::es(3, 1)) in getApiName()
207 else if (apiType == glu::ApiType::es(3, 2)) in getApiName()
209 else if (apiType == glu::ApiType::core(3, 0)) in getApiName()
211 else if (apiType == glu::ApiType::core(3, 1)) in getApiName()
213 else if (apiType == glu::ApiType::core(3, 2)) in getApiName()
215 else if (apiType == glu::ApiType::core(3, 3)) in getApiName()
217 else if (apiType == glu::ApiType::core(4, 0)) in getApiName()
[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 …]
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()
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);
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()
/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()
/external/oboe/samples/LiveEffect/src/main/cpp/
Djni_bridge.cpp90 jint apiType) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI() argument
99 switch (apiType) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI()
107 LOGE("Unknown API selection to setAPI() %d", apiType); in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI()
/external/deqp/modules/gles31/
Dtes31Context.cpp36 Context::Context (tcu::TestContext& testCtx, glu::ApiType apiType) in Context() argument
40 , m_apiType (apiType) in Context()
/external/angle/src/tests/deqp_support/
Dtes31Context_override.cpp25 Context::Context (tcu::TestContext& testCtx, glu::ApiType apiType) in Context() argument
29 , m_apiType (apiType) in Context()
/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()
/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 …]

123