/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluRenderContext.cpp | 173 RenderContext* createDefaultRenderContext (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 279 if (s_initFuncs[ndx].apiType in initCoreFunctions() 289 initExtensionFunctions(glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) initExtensionFunctions() argument 304 initExtensionFunctions(glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtensions, const char* const* extensions) initExtensionFunctions() argument 312 initFunctions(glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) initFunctions() argument [all...] |
H A D | gluRenderContext.hpp | 148 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 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType); 241 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType); 242 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType, int numExtensions, const char* const* extensions); 246 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType); 247 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType); [all...] |
H A D | gluStrUtil.cpp | 126 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 <<()
|
/third_party/vk-gl-cts/external/openglcts/modules/runner/ |
H A D | glcTestRunner.cpp | 199 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 in getApiName() 318 getTestRunsForAOSPES(vector<TestRunParams>& runs, const ConfigList& configs, const glu::ApiType apiType) getTestRunsForAOSPES() argument [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglTestCase.cpp | 62 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, const char* const* extensions) const 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()
|
H A D | teglTestCase.hpp | 71 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const; 72 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const;
|
H A D | teglGetProcAddressTests.cpp | 227 GetProcAddressCoreFunctionsCase (EglTestContext& eglTestCtx, const char* name, const char* description, const ApiType apiType) in GetProcAddressCoreFunctionsCase() argument 229 , m_apiType (apiType) in GetProcAddressCoreFunctionsCase() 275 FunctionNames getCoreFunctionNames (EGLint apiType) in getCoreFunctionNames() argument 277 switch (apiType) in getCoreFunctionNames()
|
H A D | teglRobustnessTests.cpp | 463 void initGLFunctions (glw::Functions* gl, const glu::ApiType apiType); 523 void RenderingContext::initGLFunctions (glw::Functions *gl, const glu::ApiType apiType) in initGLFunctions() argument 535 m_eglTestCtx.initGLFunctions(gl, apiType); in initGLFunctions() 538 const char* const robustnessExt = glu::hasExtension(*gl, apiType, "GL_KHR_robustness") ? "GL_KHR_robustness" : "GL_EXT_robustness"; in initGLFunctions() 541 m_eglTestCtx.initGLFunctions(gl, apiType, DE_LENGTH_OF_ARRAY(extensions), &extensions[0]); in initGLFunctions() 1152 const glu::ApiType apiType(3, 0, glu::PROFILE_ES); in iterate() 1153 context.initGLFunctions(&gl, apiType); in iterate() 1154 checkRequiredGLSupport(gl, apiType); in iterate() 1206 const glu::ApiType apiType(3, 0, glu::PROFILE_ES); in iterate() 1207 context.initGLFunctions(&gl, apiType); in iterate() 1351 const glu::ApiType apiType = paramsToApiType(m_params); iterate() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcRobustnessTests.cpp | 48 RobustnessBase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType); 57 glu::ApiType apiType) in RobustnessBase() 58 : tcu::TestCase(testCtx, name, description), m_ApiType(apiType) in RobustnessBase() 94 NoResetNotificationCase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType) in NoResetNotificationCase() argument 95 : RobustnessBase(testCtx, name, description, apiType) in NoResetNotificationCase() 140 LoseContextOnResetCase(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); 56 RobustnessBase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType) RobustnessBase() argument 228 GetnUniformTest(tcu::TestContext& testCtx, glu::ApiType apiType) GetnUniformTest() argument 415 ReadnPixelsTest(tcu::TestContext& testCtx, glu::ApiType apiType) ReadnPixelsTest() argument 633 RobustnessTests(tcu::TestContext& testCtx, glu::ApiType apiType) RobustnessTests() argument [all...] |
H A D | glcKHRDebugTests.hpp | 57 TestBase(tcu::TestContext& testContext, glu::ApiType apiType, bool is_debug); 146 APIErrorsTest(tcu::TestContext& testCtx, glu::ApiType apiType, bool is_debug, const glw::GLchar* name); 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);
|
H A D | glcNoErrorTests.cpp | 48 * @param apiType API version 50 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()
|
H A D | glcContextFlagsTests.cpp | 46 const char* name, const char* description, glu::ApiType apiType) in ContextFlagsCase() 51 , m_ApiType(apiType) in ContextFlagsCase() 111 ContextFlagsTests::ContextFlagsTests(tcu::TestContext& testCtx, glu::ApiType apiType) in ContextFlagsTests() argument 113 , m_ApiType(apiType) in ContextFlagsTests() 45 ContextFlagsCase(tcu::TestContext& testCtx, glu::ContextFlags passedFlags, glw::GLint expectedResult, const char* name, const char* description, glu::ApiType apiType) ContextFlagsCase() argument
|
H A D | glcRobustBufferAccessBehaviorTests.hpp | 282 RobustnessBase(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 TexelFetchTest(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);
|
H A D | glcNoErrorTests.hpp | 45 NoErrorContextTest(tcu::TestContext& testCtx, glu::ApiType apiType); 63 NoErrorTests(tcu::TestContext& testCtx, glu::ApiType apiType);
|
H A D | glcMultipleContextsTests.cpp | 52 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()
|
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluGLFunctionLoader.cpp | 60 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()
|
H A D | egluPlatform.cpp | 39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine&) const in createDefaultGLFunctionLibrary() argument 42 if (apiType.getProfile() == glu::PROFILE_ES) in createDefaultGLFunctionLibrary()
|
H A D | egluGLUtil.cpp | 57 EGLint apiRenderableType (glu::ApiType apiType) in apiRenderableType() argument 59 switch (apiType.getProfile()) in apiRenderableType() 65 switch (apiType.getMajorVersion()) in apiRenderableType()
|
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/ |
H A D | jni_bridge.cpp | 87 jint apiType) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI() 96 switch (apiType) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI() 104 LOGE("Unknown API selection to setAPI() %d", apiType); in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI() 85 Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI(JNIEnv *env, jclass type, jint apiType) Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI() argument
|
/third_party/vk-gl-cts/modules/gles3/ |
H A D | tes3Context.cpp | 37 Context::Context (tcu::TestContext& testCtx, glu::ApiType apiType) in Context() argument 41 , m_apiType (apiType) in Context()
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
H A D | tes31Context_override.cpp | 25 Context::Context (tcu::TestContext& testCtx, glu::ApiType apiType) in Context() argument 29 , m_apiType (apiType) in Context()
|
/third_party/vk-gl-cts/modules/gles31/ |
H A D | tes31Context.cpp | 36 Context::Context (tcu::TestContext& testCtx, glu::ApiType apiType) in Context() argument 40 , m_apiType (apiType) in Context()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl3cCommonBugsTests.cpp | 4776 glu::ApiType apiType = context_type.getAPI(); in getReservedNames() local 4777 if (apiType == glu::ApiType::core(3, 1)) in getReservedNames() 4784 else if (apiType == glu::ApiType::core(3, 2)) in getReservedNames() 4791 else if (apiType == glu::ApiType::core(3, 3)) in getReservedNames() 4798 else if (apiType == glu::ApiType::core(4, 0)) in getReservedNames() 4805 else if (apiType == glu::ApiType::core(4, 1)) in getReservedNames() 4812 else if (apiType == glu::ApiType::core(4, 2)) in getReservedNames() 4819 else if (apiType == glu::ApiType::core(4, 3)) in getReservedNames() 4826 else if (apiType == glu::ApiType::core(4, 4)) in getReservedNames() 4833 else if (apiType in getReservedNames() 4892 glu::ApiType apiType = context_type.getAPI(); getShaderBody() local [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsInteractionTestUtil.hpp | 121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight); 123 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, std::vector<RenderCommand>& dst);
|
H A D | glsInteractionTestUtil.cpp | 54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight) 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 targetW, int targetH, vector<RenderCommand>& dst) 261 computeRandomRenderState(rnd, cmd->state, apiType, targetW, targetH);
|