/external/deqp/modules/gles31/functional/ |
es31fShaderHelperInvocationTests.cpp | 52 using glu::ShaderProgram; 86 static glu::PrimitiveType getGluPrimitiveType (PrimitiveType primType) 90 case PRIMITIVETYPE_TRIANGLE: return glu::PRIMITIVETYPE_TRIANGLES; 91 case PRIMITIVETYPE_LINE: return glu::PRIMITIVETYPE_LINES; 92 case PRIMITIVETYPE_WIDE_LINE: return glu::PRIMITIVETYPE_LINES; 93 case PRIMITIVETYPE_POINT: return glu::PRIMITIVETYPE_POINTS; 94 case PRIMITIVETYPE_WIDE_POINT: return glu::PRIMITIVETYPE_POINTS; 97 return glu::PRIMITIVETYPE_LAST; 162 static void drawRandomPrimitives (const glu::RenderContext& renderCtx, deUint32 program, PrimitiveType primType, int numPrimitives, de::Random* rnd) 170 vector<glu::VertexArrayBinding> vertexArrays [all...] |
es31fIntegerStateQueryTests.cpp | 89 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 122 if (contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2))) 135 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 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) 209 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 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) [all...] |
es31fTextureBorderClampTests.cpp | 100 else if (glu::isCompressedFormat(format)) 107 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); 128 else if (glu::isCompressedFormat(format)) 135 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); 156 else if (glu::isCompressedFormat(format)) 158 const tcu::CompressedTexFormat compressedFmt = glu::mapGLCompressedTexFormat(format); 164 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); 215 struct TextureTraits<glu::Texture2D> 219 static de::MovePtr<glu::Texture2D> createTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec2& size [all...] |
es31fTextureGatherTests.cpp | 48 using glu::ShaderProgram; 67 using glu::TextureTestUtil::TextureType; 68 using glu::TextureTestUtil::TEXTURETYPE_2D; 69 using glu::TextureTestUtil::TEXTURETYPE_2D_ARRAY; 70 using glu::TextureTestUtil::TEXTURETYPE_CUBE; 133 static tcu::TextureLevel getPixels (const glu::RenderContext& renderCtx, const IVec2& size, const tcu::TextureFormat& colorBufferFormat) 144 glu::readPixels(renderCtx, 0, 0, result.getAccess()); 157 glu::readPixels(renderCtx, 0, 0, readResult.getAccess()); 837 static inline glu::DataType getSamplerType (TextureType textureType, const tcu::TextureFormat& format) 843 case TEXTURETYPE_2D: return glu::TYPE_SAMPLER_2D_SHADOW [all...] |
es31fTessellationTests.cpp | 63 using glu::ShaderProgram; 64 using glu::RenderContext; 190 tcu::Surface getPixels (const glu::RenderContext& rCtx, int x, int y, int width, int height) 193 glu::readPixels(rCtx, x, y, result.getAccess()); 197 tcu::Surface getPixels (const glu::RenderContext& rCtx, const RandomViewport& vp) 215 static int numBasicSubobjects (const glu::VarType& type) 223 const glu::StructType& structType = *type.getStructPtr(); 267 GLU_EXPECT_NO_ERROR(gl.getError(), (string() + "glMapBufferRange(" + glu::getBufferTargetName((int)bufferTarget) + ", 0, " + de::toString(numBytes) + ", GL_MAP_READ_BIT)").c_str()); 307 TransformFeedbackHandler (const glu::RenderContext& renderCtx, int maxNumVertices); 309 Result renderAndGetPrimitives (deUint32 programGL, deUint32 tfPrimTypeGL, int numBindings, const glu::VertexArrayBinding* bindings, int numVertices) const [all...] |
es31fLayoutBindingTests.cpp | 324 virtual glu::ShaderProgram* generateShaders (void) const = 0; 330 const glu::ShaderProgram* m_program; 648 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess()); 701 virtual glu::ShaderProgram* generateShaders (void) const = 0; 703 const glu::ShaderProgram* m_program; 774 || contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 922 if (!(m_program->getShaderInfo(glu::SHADERTYPE_VERTEX)).compileOk 923 || !(m_program->getShaderInfo(glu::SHADERTYPE_FRAGMENT).compileOk) 924 || !(m_program->getShaderInfo(glu::SHADERTYPE_TESSELLATION_CONTROL).compileOk) 925 || !(m_program->getShaderInfo(glu::SHADERTYPE_TESSELLATION_EVALUATION)).compileOk [all...] |
es31fFboTestUtil.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 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType) 83 << "layout(location = 0) out highp " << glu::getDataTypeName(outputType) << " o_color0;\n"; 89 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n"; 109 src << " o_color0 = " << glu::getDataTypeName(outputType) << "(out0 * u_outScale0 + u_outBias0);\n"; 116 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, glu::DataType outputType [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateTestCaseUtil.hpp | 69 typedef std::map<glu::ShaderType, const char*> ShaderMap; 76 const std::map<glu::ShaderType, const char*> shaderPaths) 92 glu::ShaderSource(i->first, ShaderSourceProvider::getSource(m_testCtx.getArchive(), i->second));
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceCase.hpp | 47 ShaderPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, PerfCaseType caseType); 72 glu::RenderContext& m_renderCtx; 81 glu::ShaderProgram* m_program;
|
glsTextureBufferCase.cpp | 365 string specializeShader (const string& shaderTemplateString, glu::GLSLVersion glslVersion) 370 parameters["VERSION_HEADER"] = glu::getGLSLVersionDeclaration(glslVersion); 375 parameters["HIGHP"] = (glslVersion == glu::GLSL_VERSION_330 ? "" : "highp"); 376 parameters["TEXTURE_BUFFER_EXT"] = (glslVersion == glu::GLSL_VERSION_330 ? "" : "#extension GL_EXT_texture_buffer : enable\n"); 381 glu::ShaderProgram* createRenderProgram (glu::RenderContext& renderContext, 387 const glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(renderContext.getType()); 392 glu::ShaderProgram* const program = new glu::ShaderProgram(renderContext, glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.hpp | 34 namespace glu namespace 57 class BufferCase : public TestCase, public glu::CallLogWrapper 104 class BufferVerifierBase : public glu::CallLogWrapper 152 glu::ShaderProgram* m_program; 168 glu::ShaderProgram* m_program;
|
es2fTextureWrapTests.cpp | 47 using namespace glu; 49 using namespace glu::TextureTestUtil; 60 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 61 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames); 72 glu::RenderContext& m_renderCtx; 73 const glu::ContextInfo& m_renderCtxInfo; 86 glu::Texture2D* m_texture; 90 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* descript (…) [all...] |
es2fShaderInvarianceTests.cpp | 145 glu::ShaderProgram* m_shader0; 146 glu::ShaderProgram* m_shader1; 182 m_shader0 = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexShaders.vertexShaderSource0) << glu::FragmentSource(vertexShaders.fragmentShaderSource0)); 189 m_shader1 = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexShaders.vertexShaderSource1) << glu::FragmentSource(vertexShaders.fragmentShaderSource1)) [all...] |
es2fTextureFormatTests.cpp | 62 using namespace glu; 64 using namespace glu::TextureTestUtil; 71 Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height); 82 glu::RenderContext& m_renderCtx; 89 glu::Texture2D* m_texture; 93 Texture2DFormatCase::Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height) 101 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) 113 tcu::TextureFormat fmt = glu::mapGLTransferFormat(m_format, m_dataType); 189 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()) [all...] |
es2fTextureFilteringTests.cpp | 49 using namespace glu; 51 using namespace glu::TextureTestUtil; 64 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 65 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames); 76 glu::RenderContext& m_renderCtx; 77 const glu::ContextInfo& m_renderCtxInfo; 93 const glu::Texture2D* texture; 102 FilterCase (const glu::Texture2D* tex_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_ [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureFormatTests.cpp | 61 using namespace glu::TextureTestUtil; 69 Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height); 70 Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width, int height); 81 glu::RenderContext& m_renderCtx; 88 glu::Texture2D* m_texture; 92 Texture2DFormatCase::Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height) 100 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP) 104 Texture2DFormatCase::Texture2DFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width, int height) 112 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP [all...] |
es3fShaderInvarianceTests.cpp | 145 glu::ShaderProgram* m_shader0; 146 glu::ShaderProgram* m_shader1; 182 m_shader0 = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexShaders.vertexShaderSource0) << glu::FragmentSource(vertexShaders.fragmentShaderSource0)); 189 m_shader1 = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexShaders.vertexShaderSource1) << glu::FragmentSource(vertexShaders.fragmentShaderSource1)) [all...] |
es3fTextureWrapTests.cpp | 55 using namespace glu; 57 using namespace glu::TextureTestUtil; 60 static inline bool isASTCSupported (const glu::ContextInfo& contextInfo) 86 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 87 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames); 88 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, CompressedTexFormat compressedFormat, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 108 glu::RenderContext& m_renderCtx [all...] |
es3fShaderBuiltinVarTests.cpp | 61 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str()); 75 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str()); 91 ShaderBuiltinConstantCase (Context& context, const char* name, const char* desc, const char* varName, GetConstantValueFunc getValue, glu::ShaderType shaderType); 99 const glu::ShaderType m_shaderType; 102 ShaderBuiltinConstantCase::ShaderBuiltinConstantCase (Context& context, const char* name, const char* desc, const char* varName, GetConstantValueFunc getValue, glu::ShaderType shaderType) 114 static gls::ShaderExecUtil::ShaderExecutor* createGetConstantExecutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const std::string& varName) 120 shaderSpec.version = glu::GLSL_VERSION_300_ES; 122 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))) [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 48 using namespace glu::TextureTestUtil; 53 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height); 54 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames); 65 glu::RenderContext& m_renderCtx; 66 const glu::ContextInfo& m_renderCtxInfo; 79 std::vector<glu::Texture2D*> m_textures; 83 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, (…) [all...] |
/external/deqp/framework/opengl/ |
gluShaderProgram.hpp | 38 namespace glu namespace 74 glu::ProgramInfo program; 75 std::vector<glu::ShaderInfo> shaders; 94 glu::ShaderType getType (void) const { return getInfo().type; } 193 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } 194 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size(); } 195 const ShaderInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shaderNdx]->getInfo(); } 266 ShaderSource (glu::ShaderType shaderType_, const std::string& source_) : shaderType(shaderType_), source(source_) { DE_ASSERT(!source_.empty()); } 271 VertexSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_VERTEX, source_) {} 276 FragmentSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_FRAGMENT, source_) { [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 51 using namespace glu; 53 using namespace glu::TextureTestUtil; 58 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 59 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames); 70 glu::RenderContext& m_renderCtx; 71 const glu::ContextInfo& m_renderCtxInfo; 85 std::vector<glu::Texture2D*> m_textures; 90 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, de (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryPassthroughTests.cpp | 58 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 69 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); 75 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 84 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); 92 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 146 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureCases.cpp | 80 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) 123 log << TestLog::Message << "Format: " <<glu::getTextureFormatName(m_format) << " " << glu::getTypeName(m_dataType) << TestLog::EndMessage; 125 log << TestLog::Message << "Wrap: " << glu::getTextureWrapModeStr(m_wrapS) << " / " << glu::getTextureWrapModeStr(m_wrapT) << TestLog::EndMessage; 126 log << TestLog::Message << "Filter: " << glu::getTextureFilterStr(m_minFilter) << " / " << glu::getTextureFilterStr(m_magFilter) << TestLog::EndMessage; 167 glu::Texture2D* texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, width, height); 188 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++ [all...] |
/external/eigen/Eigen/src/SparseLU/ |
SparseLU_panel_dfs.h | 53 void mem_expand(IndexVector& /*glu.lsub*/, Index /*nextl*/, Index /*chmark*/) {} 65 IndexVector& xplore, GlobalLU_t& glu, 86 StorageIndex krep = glu.xsup(glu.supno(kperm)+1) - 1; 102 StorageIndex xdfs = glu.xlsub(krep); 111 StorageIndex kchild = glu.lsub(xdfs); 131 StorageIndex chrep = glu.xsup(glu.supno(chperm)+1) - 1; 146 xdfs = glu.xlsub(krep); 214 * \param glu The global data structur [all...] |