/external/deqp/modules/glshared/ |
glsFragmentOpUtil.cpp | 110 static const char* getVertSrc (glu::GLSLVersion glslVersion) 112 if (glslVersion == glu::GLSL_VERSION_100_ES) 114 else if (glslVersion == glu::GLSL_VERSION_300_ES) 116 else if (glslVersion == glu::GLSL_VERSION_330) 123 static const char* getFragSrc (glu::GLSLVersion glslVersion) 125 if (glslVersion == glu::GLSL_VERSION_100_ES) 127 else if (glslVersion == glu::GLSL_VERSION_300_ES) 129 else if (glslVersion == glu::GLSL_VERSION_330) 136 QuadRenderer::QuadRenderer (const glu::RenderContext& context, glu::GLSLVersion glslVersion [all...] |
glsMemoryStressCase.cpp | 98 TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext); 103 glu::ShaderProgram* m_program; 104 glu::RenderContext& m_renderCtx; 177 TextureRenderer::TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext) 184 const glu::ContextType ctxType = renderContext.getType(); 186 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES)) 187 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES3, s_fragmentShaderGLES3)); 188 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES) [all...] |
glsUniformBlockCase.cpp | 56 static bool isSupportedGLSLVersion (glu::GLSLVersion version) 58 return version >= (glslVersionIsES(version) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330); 128 VarType::VarType (glu::DataType basicType, deUint32 flags) 236 : type (glu::TYPE_LAST) 247 glu::DataType type; 258 stream << entry.name << " { type = " << glu::getDataTypeName(entry.type) 362 int getDataTypeByteSize (glu::DataType type) 364 return glu::getDataTypeScalarSize(type)*(int)sizeof(deUint32); 367 int getDataTypeByteAlignment (glu::DataType type [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkPrograms.cpp | 102 ProgramBinary* buildProgram (const GlslSource& program, glu::ShaderProgramInfo* buildInfo) 211 glu::ShaderType getGluShaderType (VkShaderStageFlagBits shaderStage) 215 case VK_SHADER_STAGE_VERTEX_BIT: return glu::SHADERTYPE_VERTEX; 216 case VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: return glu::SHADERTYPE_TESSELLATION_CONTROL; 217 case VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: return glu::SHADERTYPE_TESSELLATION_EVALUATION; 218 case VK_SHADER_STAGE_GEOMETRY_BIT: return glu::SHADERTYPE_GEOMETRY; 219 case VK_SHADER_STAGE_FRAGMENT_BIT: return glu::SHADERTYPE_FRAGMENT; 220 case VK_SHADER_STAGE_COMPUTE_BIT: return glu::SHADERTYPE_COMPUTE; 223 return glu::SHADERTYPE_LAST; 227 VkShaderStageFlagBits getVkShaderStage (glu::ShaderType shaderType [all...] |
vkGlslToSpirV.hpp | 48 bool compileGlslToSpirV (const GlslSource& src, std::vector<deUint32>* dst, glu::ShaderProgramInfo* buildInfo);
|
/external/deqp/modules/gles3/functional/ |
es3fShaderPrecisionTests.cpp | 64 static glu::ShaderProgram* createFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const char* evalOp, bool isVertexCase) 66 glu::DataType type = glu::TYPE_FLOAT; 67 glu::DataType outType = glu::TYPE_UINT; 68 const char* typeName = glu::getDataTypeName(type); 69 const char* outTypeName = glu::getDataTypeName(outType); 70 const char* precName = glu::getPrecisionName(precision) [all...] |
es3fFragmentOutputTests.cpp | 42 // For getFormatName() \todo [pyry] Move to glu? 96 : type (glu::TYPE_LAST) 97 , precision (glu::PRECISION_LAST) 103 FragmentOutput (glu::DataType type_, glu::Precision precision_, int location_, int arrayLength_ = 0) 111 glu::DataType type; 112 glu::Precision precision; 150 glu::ShaderProgram* m_program; 169 static glu::ShaderProgram* createProgram (const glu::RenderContext& context, const vector<FragmentOutput>& outputs [all...] |
es3fFboTestUtil.cpp | 55 static rr::GenericVecType mapDataTypeToGenericVecType(glu::DataType type) 59 case glu::TYPE_FLOAT_VEC4: return rr::GENERICVECTYPE_FLOAT; 60 case glu::TYPE_INT_VEC4: return rr::GENERICVECTYPE_INT32; 61 case glu::TYPE_UINT_VEC4: return rr::GENERICVECTYPE_UINT32; 77 FlatColorShader::FlatColorShader (glu::DataType outputType) 82 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) 94 "layout(location = 0) out highp ") + glu::getDataTypeName(outputType) + " o_color;\n" 97 " o_color = " + glu::getDataTypeName(outputType) + "(u_color);\n" 129 if (m_outputType == glu::TYPE_FLOAT_VEC4) 135 else if (m_outputType == glu::TYPE_INT_VEC4 [all...] |
/external/deqp/framework/opengl/ |
gluFboRenderContext.cpp | 35 namespace glu namespace 66 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat)); 72 const tcu::TextureFormat combinedFormat = glu::mapGLInternalFormat(depthStencilFormat); 78 deUint32 chooseColorFormat (const glu::RenderConfig& config) 95 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(format)); 97 if (config.redBits != glu::RenderConfig::DONT_CARE && 101 if (config.greenBits != glu::RenderConfig::DONT_CARE && 105 if (config.blueBits != glu::RenderConfig::DONT_CARE && 109 if (config.alphaBits != glu::RenderConfig::DONT_CARE && 119 deUint32 chooseDepthStencilFormat (const glu::RenderConfig& config [all...] |
gluCallLogWrapper.hpp | 35 namespace glu namespace 57 } // glu
|
gluContextFactory.hpp | 36 namespace glu namespace 42 * In order to support OpenGL (ES) tests, glu::Platform implementation 73 } // glu
|
gluDummyRenderContext.hpp | 34 namespace glu namespace 40 * Some patterns (e.g. a test class inheriting from glu::CallLogWrapper) 62 } // glu
|
/external/deqp/modules/gles3/stress/ |
es3sLongShaderTests.cpp | 82 const char* getConstShaderSource (const glu::ShaderType shaderType) 84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); 86 if (shaderType == glu::SHADERTYPE_VERTEX) 162 glu::ShaderType shaderType; 168 LongShaderSpec (const glu::ShaderType shaderTypeInit, const deUint32 opsTotalInit) 184 glu::ShaderSource getSource (void); 214 DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAGMENT); 217 glu::ShaderSource LongShaderGenerator::getSource (void [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 101 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 107 glu::Precision m_precision; 113 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) 126 static bool isValidFloat (glu::Precision precision, float val) 128 if (precision == glu::PRECISION_MEDIUMP) 141 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) 186 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); 188 glu::ShaderProgram program(m_context.getRenderContext(), 189 glu::makeVtxFragSources(tcu::StringTemplate(s_vertShaderTemplate).specialize(templateParams), 194 if (m_precision == glu::PRECISION_HIGHP && !m_context.getContextInfo().isFragmentHighPrecisionSupported() [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 103 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 109 glu::Precision m_precision; 115 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) 128 static bool isValidFloat (glu::Precision precision, float val) 130 if (precision == glu::PRECISION_MEDIUMP) 143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) 192 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); 194 glu::ShaderProgram program(m_context.getRenderContext(), 195 glu::makeVtxFragSources(tcu::StringTemplate(s_vertShaderTemplate).specialize(templateParams), 200 if (m_precision == glu::PRECISION_HIGHP && !m_context.getContextInfo().isFragmentHighPrecisionSupported() [all...] |
/external/deqp/framework/common/ |
tcuPlatform.cpp | 42 const glu::Platform& Platform::getGLPlatform (void) const
|
/external/deqp/framework/egl/ |
egluPlatform.hpp | 58 * glu::Platform implementation. 90 virtual tcu::FunctionLibrary* createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine& cmdLine) const;
|
/external/deqp/modules/egl/ |
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 72 glu::initCoreFunctions(dst, &loader, apiType); 73 glu::initExtensionFunctions(dst, &loader, apiType, numExtensions, extensions);
|
/external/deqp/modules/gles31/functional/ |
es31fFramebufferDefaultStateQueryTests.cpp | 61 virtual void checkInitial (tcu::ResultCollector& result, glu::CallLogWrapper& gl) = 0; 62 virtual void checkSet (tcu::ResultCollector& result, glu::CallLogWrapper& gl) = 0; 75 glu::Framebuffer fbo (m_context.getRenderContext()); 76 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 110 void checkInitial (tcu::ResultCollector& result, glu::CallLogWrapper& gl); 111 void checkSet (tcu::ResultCollector& result, glu::CallLogWrapper& gl); 124 void FramebufferDimensionTest::checkInitial (tcu::ResultCollector& result, glu::CallLogWrapper& gl) 130 void FramebufferDimensionTest::checkSet (tcu::ResultCollector& result, glu::CallLogWrapper& gl) 144 void checkInitial (tcu::ResultCollector& result, glu::CallLogWrapper& gl); 145 void checkSet (tcu::ResultCollector& result, glu::CallLogWrapper& gl) [all...] |
es31fNegativeSampleVariablesTests.cpp | 45 void verifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) 53 glu::Shader shader (ctx.getRenderContext(), shaderType); 81 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 82 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; 84 std::string versionAndExtension = glu::getGLSLVersionDeclaration(version); 95 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 131 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, shader.str(), EXPECT_RESULT_FAIL); 172 verifyShader(ctx, glu::SHADERTYPE_VERTEX, shader.str(), EXPECT_RESULT_FAIL) [all...] |
/external/webrtc/webrtc/modules/video_render/mac/ |
cocoa_render_view.h | 20 #import <OpenGL/glu.h>
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_find.py | 16 lib_glu = find_library("GLU") 24 ("GLU", lib_glu), 32 self.gl = self.glu = self.gle = None 36 self.glu = CDLL(lib_glu, RTLD_GLOBAL) 50 if self.glu: 51 self.glu.gluBeginCurve
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_find.py | 16 lib_glu = find_library("GLU") 24 ("GLU", lib_glu), 32 self.gl = self.glu = self.gle = None 36 self.glu = CDLL(lib_glu, RTLD_GLOBAL) 50 if self.glu: 51 self.glu.gluBeginCurve
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_find.py | 16 lib_glu = find_library("GLU") 24 ("GLU", lib_glu), 32 self.gl = self.glu = self.gle = None 36 self.glu = CDLL(lib_glu, RTLD_GLOBAL) 50 if self.glu: 51 self.glu.gluBeginCurve
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_find.py | 16 lib_glu = find_library("GLU") 24 ("GLU", lib_glu), 32 self.gl = self.glu = self.gle = None 36 self.glu = CDLL(lib_glu, RTLD_GLOBAL) 50 if self.glu: 51 self.glu.gluBeginCurve
|