/external/deqp/modules/gles31/stress/ |
es31sVertexAttributeBindingTests.cpp | 145 glu::ShaderProgram* m_program; 314 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 366 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess()); 482 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(s_colorFragmentShader)); 526 glu::ShaderProgram* m_program; 553 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_vertexSource) << glu::FragmentSource(s_fragmentSource)) [all...] |
es31sTessellationGeometryInteractionTests.cpp | 94 glu::ShaderProgram* m_program; 138 glu::ProgramSources sources; 141 sources << glu::VertexSource(getVertexSource()) 142 << glu::FragmentSource(getFragmentSource()); 166 sources << glu::TessellationControlSource(getTessellationControlSource(tessGenLevel)) 167 << glu::TessellationEvaluationSource(getTessellationEvaluationSource(tessGenLevel)); 271 sources << glu::GeometrySource(getGeometryShaderSource(numPrimitivesPerInvocation, geometryShaderInvocations)); 282 m_program = new glu::ShaderProgram(m_context.getRenderContext(), sources); 336 const glu::VertexArray vao (m_context.getRenderContext()); 375 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.front().getAccess()) [all...] |
/external/deqp/modules/glshared/ |
glsFboUtil.cpp | 38 using glu::TransferFormat; 39 using glu::mapGLInternalFormat; 40 using glu::mapGLTransferFormat; 41 using glu::getTextureFormatName; 42 using glu::getTypeName; 43 using glu::getFramebufferTargetName; 44 using glu::getFramebufferAttachmentName; 45 using glu::getFramebufferAttachmentTypeName; 46 using glu::getTextureTargetName; 47 using glu::getTransferFormat [all...] |
glsFboUtil.hpp | 185 bool checkExtensionSupport (const glu::RenderContext& ctx, const std::string& extension); 191 void addExtFormats (FormatDB& db, FormatExtEntries extFmts, const glu::RenderContext* ctx); 192 glu::TransferFormat transferImageFormat (const ImageFormat& imgFormat); 396 Checker (const glu::RenderContext&); 411 const glu::RenderContext& m_renderCtx; 420 virtual Checker* createChecker (const glu::RenderContext&) = 0; 431 const glu::RenderContext& renderCtx); 438 const glu::RenderContext& m_renderCtx;
|
glsShaderPerformanceMeasurer.hpp | 77 ShaderPerformanceMeasurer (const glu::RenderContext& renderCtx, PerfCaseType measureType); 111 const glu::RenderContext& m_renderCtx;
|
glsFragOpInteractionCase.cpp | 79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vector<glu::VertexArrayBinding>* layout, int* stride) 94 layout->push_back(glu::va::Float(var->getName(), numComps, numVertices, 0 /* computed later */, (const float*)(deUintptr)curOffset)); 99 for (vector<glu::VertexArrayBinding>::iterator vaIter = layout->begin(); vaIter != layout->end(); ++vaIter) 114 const std::vector<glu::VertexArrayBinding>& getLayout (void) const { return m_layout; } 117 const glu::VertexArrayBinding& getLayoutEntry (int ndx) const { return m_layout[ndx]; } 121 std::vector<glu::VertexArrayBinding> m_layout; 131 static inline glu::VertexArrayBinding getEntryWithPointer (const VertexDataStorage& data, int ndx) 133 const glu::VertexArrayBinding& entry = data.getLayoutEntry(ndx); 134 return glu::VertexArrayBinding(entry.binding, glu::VertexArrayPointer(entry.pointer.componentType [all...] |
glsRandomShaderProgram.cpp | 47 static glu::DataType mapToBasicType (const rsg::VariableType& varType) 51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT : 52 varType.isIntOrVec() ? glu::TYPE_INT : 53 varType.isBoolOrVec() ? glu::TYPE_BOOL : glu::TYPE_LAST; 57 return glu::DataType(scalarType + numComps - 1); 60 return glu::TYPE_SAMPLER_2D; 62 return glu::TYPE_SAMPLER_CUBE; 66 return glu::TYPE_LAST [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBufferMemoryAliasing.cpp | 86 const glu::GLSLVersion glslVersion); 93 const glu::GLSLVersion m_glslVersion; 100 const glu::GLSLVersion glslVersion) 110 const char* const versionDecl = glu::getGLSLVersionDeclaration(m_glslVersion); 131 sourceCollections.glslSources.add("comp") << glu::ComputeSource(src.str()); 405 group->addChild(new BufferSparseMemoryAliasingCase(group->getTestContext(), "buffer_size_2_10", "", 1 << 10, glu::GLSL_VERSION_440)); 406 group->addChild(new BufferSparseMemoryAliasingCase(group->getTestContext(), "buffer_size_2_12", "", 1 << 12, glu::GLSL_VERSION_440)); 407 group->addChild(new BufferSparseMemoryAliasingCase(group->getTestContext(), "buffer_size_2_16", "", 1 << 16, glu::GLSL_VERSION_440)); 408 group->addChild(new BufferSparseMemoryAliasingCase(group->getTestContext(), "buffer_size_2_17", "", 1 << 17, glu::GLSL_VERSION_440)); 409 group->addChild(new BufferSparseMemoryAliasingCase(group->getTestContext(), "buffer_size_2_20", "", 1 << 20, glu::GLSL_VERSION_440)) [all...] |
vktSparseResourcesBufferSparseResidency.cpp | 67 const glu::GLSLVersion glslVersion); 74 const glu::GLSLVersion m_glslVersion; 81 const glu::GLSLVersion glslVersion) 90 const char* const versionDecl = glu::getGLSLVersionDeclaration(m_glslVersion); 115 sourceCollections.glslSources.add("comp") << glu::ComputeSource(src.str()); 388 group->addChild(new BufferSparseResidencyCase(group->getTestContext(), "buffer_size_2_10", "", 1 << 10, glu::GLSL_VERSION_440)); 389 group->addChild(new BufferSparseResidencyCase(group->getTestContext(), "buffer_size_2_12", "", 1 << 12, glu::GLSL_VERSION_440)); 390 group->addChild(new BufferSparseResidencyCase(group->getTestContext(), "buffer_size_2_16", "", 1 << 16, glu::GLSL_VERSION_440)); 391 group->addChild(new BufferSparseResidencyCase(group->getTestContext(), "buffer_size_2_17", "", 1 << 17, glu::GLSL_VERSION_440)); 392 group->addChild(new BufferSparseResidencyCase(group->getTestContext(), "buffer_size_2_20", "", 1 << 20, glu::GLSL_VERSION_440)) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeSSBOBlockTests.cpp | 41 using glu::CallLogWrapper; 358 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 359 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; 362 std::string versionString(glu::getGLSLVersionDeclaration(version)); 447 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 448 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES [all...] |
es31fTextureFilteringTests.cpp | 55 using namespace glu::TextureTestUtil; 138 const glu::TextureCubeArray* texture; 148 FilterCase (const glu::TextureCubeArray* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_, const tcu::Vec2& layerRange_) 157 glu::TextureCubeArray* m_gradientTex; 158 glu::TextureCubeArray* m_gridTex; 188 , m_renderer (context.getRenderContext(), context.getTestContext().getLog(), glu::GLSL_VERSION_310_ES, glu::PRECISION_HIGHP) 205 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_internalFormat); 213 m_gradientTex = new glu::TextureCubeArray(m_context.getRenderContext(), m_internalFormat, m_size, m_depth); 214 m_gridTex = new glu::TextureCubeArray(m_context.getRenderContext(), m_internalFormat, m_size, m_depth) [all...] |
es31fDrawBuffersIndexedTests.cpp | 392 const glu::Framebuffer& framebuffer, 393 const glu::RenderbufferVector& renderbuffers, 410 const deUint32 glFormat = glu::getInternalFormat(format); 542 glu::RenderContext& renderContext, 543 const glu::RenderbufferVector& renderbuffers, 544 const glu::Framebuffer& framebuffer, 563 glu::readPixels(renderContext, 0, 0, result.getAccess()); 860 glu::VertexSource genVertexSource (glu::RenderContext& renderContext) 862 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) [all...] |
es31fIndirectComputeDispatchTests.cpp | 87 glu::ProgramSources genVerifySources (const UVec3& workGroupSize) 109 return glu::ProgramSources() << glu::ComputeSource(tcu::StringTemplate(s_verifyDispatchTmpl).specialize(args)); 242 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(src.str())); 341 const glu::RenderContext& renderCtx = m_context.getRenderContext(); 344 const glu::ShaderProgram program (renderCtx, genVerifySources(m_workGroupSize)); 346 glu::Buffer cmdBuffer (renderCtx); 347 glu::Buffer resultBuffer (renderCtx) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fNegativeVertexArrayApiTests.cpp | 128 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 181 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 209 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 274 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
|
es2fTextureMipmapTests.cpp | 58 using namespace glu; 60 using namespace glu::TextureTestUtil; 79 glu::RenderContext& renderCtx, 80 const glu::ContextInfo& renderCtxInfo, 101 glu::RenderContext& m_renderCtx; 102 const glu::ContextInfo& m_renderCtxInfo; 113 glu::Texture2D* m_texture; 118 glu::RenderContext& renderCtx, 119 const glu::ContextInfo& renderCtxInfo, 142 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderOperatorTests.cpp | 54 using namespace glu; 132 static glu::DataType getDataTypeFloatOrVec (int size) 134 return size == 1 ? glu::TYPE_FLOAT : glu::getDataTypeFloatVec(size); 205 OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 258 glu::RenderContext& m_renderCtx; 562 OperatorPerformanceCase::OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 804 m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSources(vert, frag)))); 851 glu::readPixels(m_renderCtx, 0, 0, tcu::Surface(1, 1).getAccess()); // \note Serves as a more reliable replacement for glFinish(). [all...] |
/external/deqp/modules/gles3/performance/ |
es3pShaderOperatorTests.cpp | 54 using namespace glu; 132 static glu::DataType getDataTypeFloatOrVec (int size) 134 return size == 1 ? glu::TYPE_FLOAT : glu::getDataTypeFloatVec(size); 205 OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 258 glu::RenderContext& m_renderCtx; 562 OperatorPerformanceCase::OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 804 m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSources(vert, frag)))); 851 glu::readPixels(m_renderCtx, 0, 0, tcu::Surface(1, 1).getAccess()); // \note Serves as a more reliable replacement for glFinish(). [all...] |
es3pBlendTests.cpp | 81 log << TestLog::Message << "modeRGB: " << glu::getBlendEquationStr(m_modeRGB) << TestLog::EndMessage; 82 log << TestLog::Message << "modeAlpha: " << glu::getBlendEquationStr(m_modeAlpha) << TestLog::EndMessage; 83 log << TestLog::Message << "srcRGB: " << glu::getBlendFactorStr(m_srcRGB) << TestLog::EndMessage; 84 log << TestLog::Message << "dstRGB: " << glu::getBlendFactorStr(m_dstRGB) << TestLog::EndMessage; 85 log << TestLog::Message << "srcAlpha: " << glu::getBlendFactorStr(m_srcAlpha) << TestLog::EndMessage; 86 log << TestLog::Message << "dstAlpha: " << glu::getBlendFactorStr(m_dstAlpha) << TestLog::EndMessage;
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrImageQueryTests.cpp | 85 glu::ShaderType shaderType; 87 TestParameters (QueryType query_, VkFormat format_, VkImageCreateFlags flags_, glu::ShaderType shaderType_) 99 , shaderType(glu::SHADERTYPE_LAST) 108 glu::DataType resultType = glu::TYPE_LAST; 114 resultType = glu::TYPE_INT_VEC2; 119 resultType = glu::TYPE_INT; 126 spec.glslVersion = glu::GLSL_VERSION_450; 128 spec.inputs.push_back(Symbol("lod", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))) [all...] |
vktYCbCrViewTests.cpp | 389 glu::ShaderType shaderType; 391 TestParameters (ViewType viewType_, VkFormat format_, const UVec2& size_, VkImageCreateFlags createFlags_, deUint32 planeNdx_, glu::ShaderType shaderType_) 406 , shaderType (glu::SHADERTYPE_LAST) 415 spec.inputs.push_back(Symbol("texCoord", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); 416 spec.outputs.push_back(Symbol("result0", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP))); 417 spec.outputs.push_back(Symbol("result1", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP))) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryGridRenderTests.cpp | 206 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 213 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); 219 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 228 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); 234 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" 249 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); 255 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n [all...] |
/external/deqp/modules/gles3/functional/ |
es3fASTCDecompressionCases.cpp | 80 using namespace glu::TextureTestUtil; 200 static inline ASTCSupportLevel getASTCSupportLevel (const glu::ContextInfo& contextInfo, const glu::RenderContext& renderCtx) 202 const bool isES32 = glu::contextSupports(renderCtx.getType(), glu::ApiType::es(3, 2)); 244 const glu::Texture2D& texture, 274 , m_renderer (context.getRenderContext(), context.getTestContext().getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP) 325 void ASTCRenderer2D::render (Surface& referenceDst, Surface& resultDst, const glu::Texture2D& texture, const tcu::TextureFormat& uncompressedFormat) 330 const glu::RenderContext& renderCtx = m_context.getRenderContext() [all...] |
es3fTextureSpecificationTests.cpp | 182 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); 281 Texture2DShader shader (DataTypes() << glu::getSampler2DType(m_texFormat), glu::TYPE_FLOAT_VEC4); 364 TextureCubeShader shader (glu::getSamplerCubeType(m_texFormat), glu::TYPE_FLOAT_VEC4); 465 Texture2DArrayShader shader (glu::getSampler2DArrayType(m_texFormat), glu::TYPE_FLOAT_VEC4); 565 Texture3DShader shader (glu::getSampler3DType(m_texFormat), glu::TYPE_FLOAT_VEC4); 638 : Texture2DSpecCase (context, name, desc, glu::mapGLTransferFormat(format, dataType), width, height, maxLevelCount(width, height) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateVPTests.cpp | 137 : ViewportStateBaseCase (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) 184 : ViewportStateBaseCase (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) 235 : DynamicStateBaseClass (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) 236 , m_geometryShaderName (shaders[glu::SHADERTYPE_GEOMETRY]) 399 shaderPaths[glu::SHADERTYPE_VERTEX] = "vulkan/dynamic_state/VertexFetch.vert"; 400 shaderPaths[glu::SHADERTYPE_FRAGMENT] = "vulkan/dynamic_state/VertexFetch.frag"; 405 shaderPaths[glu::SHADERTYPE_GEOMETRY] = "vulkan/dynamic_state/ViewportArray.geom" [all...] |
/external/deqp/framework/opengl/ |
gluTextureUtil.cpp | 32 namespace glu namespace [all...] |