/external/deqp/framework/opengl/ |
H A D | gluRenderContext.hpp | 70 class ApiType class in namespace:glu 73 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {} function in class:glu::ApiType 74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} function in class:glu::ApiType 80 bool operator== (ApiType other) const { return m_bits == other.m_bits; } 81 bool operator!= (ApiType other) const { return m_bits != other.m_bits; } 86 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); } 87 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); } 88 static ApiType compatibilit 91 ApiType (deUint32 bits) : m_bits(bits) {} function in class:glu::ApiType [all...] |
H A D | gluRenderContext.cpp | 41 inline bool versionGreaterOrEqual (ApiType a, ApiType b) 47 bool contextSupports (ContextType ctxType, ApiType requiredApiType) 120 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType) 164 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType) 212 bool hasExtension (const glw::Functions& gl, ApiType apiType, const std::string& extension) 219 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) 223 ApiType apiType; 227 { ApiType::es(2,0), glw::initES20 }, 228 { ApiType [all...] |
H A D | gluShaderUtil.cpp | 99 static ApiType getMinAPIForGLSLVersion (GLSLVersion version) 101 static const ApiType s_minApi[] = 103 ApiType::es(2,0), 104 ApiType::es(3,0), 105 ApiType::es(3,1), 106 ApiType::es(3,2), 107 ApiType::core(3,0), 108 ApiType::core(3,1), 109 ApiType::core(3,2), 110 ApiType [all...] |
H A D | gluStateReset.cpp | 75 if (contextSupports(type, ApiType::es(3,0))) 81 if (contextSupports(type, ApiType::es(3,1))) 89 if (contextSupports(type, ApiType::es(3,0))) 103 if (contextSupports(type, ApiType::es(3,0))) 118 if (contextSupports(type, ApiType::es(3,0))) 130 if (contextSupports(type, ApiType::es(3,1))) 149 const bool supportsBorderClamp = ctxInfo.isExtensionSupported("GL_EXT_texture_border_clamp") || contextSupports(type, ApiType::es(3,2)); 165 if (contextSupports(type, ApiType::es(3,0))) 179 if (contextSupports(type, ApiType::es(3,1))) 198 if (contextSupports(type, ApiType [all...] |
H A D | gluContextInfo.cpp | 190 if (context.getType().getAPI() == ApiType::es(2,0)) 254 if (context.getType().getAPI() == ApiType::es(2,0))
|
/external/deqp/framework/egl/ |
H A D | egluPlatform.cpp | 39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine&) const
|
H A D | egluPlatform.hpp | 90 virtual tcu::FunctionLibrary* createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine& cmdLine) const;
|
H A D | egluGLUtil.hpp | 41 eglw::EGLint apiRenderableType (glu::ApiType apiType);
|
H A D | egluGLFunctionLoader.hpp | 66 const tcu::FunctionLibrary* getLibrary (glu::ApiType apiType);
|
H A D | egluGLFunctionLoader.cpp | 60 const tcu::FunctionLibrary* GLLibraryCache::getLibrary (glu::ApiType apiType)
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fBooleanStateQueryTests.cpp | 61 IsEnabledStateTestCase (Context& context, QueryType verifier, const char* name, const char* description, glw::GLenum targetName, bool initial, glu::ApiType minimumContextVersion) 99 const glu::ApiType m_minimumVersion; 140 glu::ApiType minimumContext; 146 { "sample_mask", "SAMPLE_MASK", GL_SAMPLE_MASK, false, glu::ApiType::es(3, 1)}, 147 { "sample_shading", "SAMPLE_SHADING", GL_SAMPLE_SHADING, false, glu::ApiType::es(3, 2)}, 148 { "debug_output", "DEBUG_OUTPUT", GL_DEBUG_OUTPUT, isDebugContext, glu::ApiType::es(3, 2)}, 149 { "debug_output_synchronous", "DEBUG_OUTPUT_SYNCHRONOUS", GL_DEBUG_OUTPUT_SYNCHRONOUS, false, glu::ApiType::es(3, 2)},
|
H A D | es31fIntegerStateQueryTests.cpp | 122 if (contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2))) 177 MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion); 184 const glu::ApiType m_minimumVersion; 192 , m_minimumVersion (glu::ApiType::es(3, 1)) 196 MinimumValueCase::MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion) 213 const int value = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) 231 AlignmentCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion); 238 const glu::ApiType m_minimumVersion; 246 , m_minimumVersion (glu::ApiType::es(3, 1)) 250 AlignmentCase::AlignmentCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersio [all...] |
H A D | es31fNegativePreciseTests.cpp | 65 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 162 ctx.isExtensionSupported("GL_EXT_gpu_shader5") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)), 177 ctx.isExtensionSupported("GL_EXT_gpu_shader5") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)), 192 ctx.isExtensionSupported("GL_EXT_gpu_shader5") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)),
|
H A D | es31fNegativeAdvancedBlendEquationTests.cpp | 134 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 149 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 175 ctx.isExtensionSupported("GL_KHR_blend_equation_advanced") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)), 211 ctx.isExtensionSupported("GL_KHR_blend_equation_advanced") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)),
|
H A D | es31fShaderMultisampleInterpolationStateQueryTests.cpp | 81 const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 129 const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
|
/external/deqp/modules/gles31/ |
H A D | tes31Context.cpp | 62 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 2)); 66 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 1));
|
/external/deqp/modules/gles2/ |
H A D | tes2Context.cpp | 47 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0));
|
/external/deqp/modules/gles3/ |
H A D | tes3Context.cpp | 44 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0));
|
/external/deqp/modules/egl/ |
H A D | teglTestCase.cpp | 62 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const 67 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const
|
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 | teglImageTests.cpp | 69 using glu::ApiType; 151 ImageTestCase (EglTestContext& eglTestCtx, ApiType api, const string& name, const string& desc) 181 ApiType m_api; 189 : ImageTestCase(eglTestCtx, ApiType::es(2, 0), "invalid_create_image", "eglCreateImageKHR() with invalid arguments") 222 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, ApiType apiType) 348 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("create_image_gles2_") + getTargetName(target) + "_" + getStorageName(internalFormat) + (useTexLevel0 ? "_level0_only" : ""), "Create EGLImage from GLES2 object") 367 const ContextType contextType (ApiType::es(2, 0)); 414 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("image_target_gles2_") + getTargetName(target), "Use EGLImage as GLES2 object") 432 Context context(m_eglTestCtx, m_display, ContextType(ApiType::es(2, 0)), 64, 64);
|
/external/deqp/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 | glsDrawTest.hpp | 209 bool valid (glu::ApiType apiType) const; 218 glu::ApiType apiType; //!< needed in spec validation
|
/external/deqp/framework/platform/osx/ |
H A D | tcuOSXPlatform.cpp | 100 static glu::ApiType getVersion (const glw::Functions& gl) 107 return glu::ApiType::core(major, minor); 152 const glu::ApiType actualApi = getVersion(m_functions);
|
/external/deqp/framework/platform/ios/ |
H A D | tcuIOSPlatform.mm | 109 if (type.getAPI() == glu::ApiType::es(3,0)) 111 else if (type.getAPI() == glu::ApiType::es(2,0)) 133 if (type.getAPI() == glu::ApiType::es(3,0)) 135 else if (type.getAPI() == glu::ApiType::es(2,0))
|