HomeSort by relevance Sort by last modified time
    Searched refs:glu (Results 251 - 275 of 572) sorted by null

<<11121314151617181920>>

  /external/deqp/modules/gles31/functional/
es31fFboNoAttachmentTests.cpp 67 bool checkFramebufferSize (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size)
87 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource));
174 bool checkFramebufferRenderable (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size)
192 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource));
269 const glu::RenderContext& renderCtx,
276 const glu::RenderContext& m_renderCtx;
281 const glu::RenderContext& renderCtx,
327 const glu::RenderContext& renderCtx
    [all...]
es31fTextureLevelStateQueryTests.cpp 100 static bool isCoreTextureTarget (glw::GLenum target, const glu::ContextType& contextType)
114 return glu::contextSupports(contextType, glu::ApiType::es(3, 2));
172 static std::string getIntegerName (int v) { return de::toString(glu::getTextureFormatStr(v)); }
173 static std::string getFloatName (float v) { return de::toString(glu::getTextureFormatStr((int)v)); }
177 static bool verifyTextureLevelParameterEqualWithPrinter (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type)
182 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << Printer::getIntegerName(refValue) << tcu::TestLog::EndMessage;
193 static bool verifyTextureLevelParameterEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type)
198 static bool verifyTextureLevelParameterInternalFormatEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type)
203 static bool verifyTextureLevelParameterGreaterOrEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType typ (…)
    [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...]
es31fTextureFilteringTests.cpp 137 const glu::TextureCubeArray* texture;
147 FilterCase (const glu::TextureCubeArray* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_, const tcu::Vec2& layerRange_)
156 glu::TextureCubeArray* m_gradientTex;
157 glu::TextureCubeArray* m_gridTex;
187 , m_renderer (context.getRenderContext(), context.getTestContext().getLog(), glu::GLSL_VERSION_310_ES, glu::PRECISION_HIGHP)
204 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_internalFormat);
212 m_gradientTex = new glu::TextureCubeArray(m_context.getRenderContext(), m_internalFormat, m_size, m_depth);
213 m_gridTex = new glu::TextureCubeArray(m_context.getRenderContext(), m_internalFormat, m_size, m_depth);
265 const glu::TextureCubeArray* const tex0 = m_gradientTex
    [all...]
  /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());
438 testGroup->addChild(new BufferSparseMemoryAliasingCase(testCtx, "buffer_size_2_10", "", 1 << 10, glu::GLSL_VERSION_440));
439 testGroup->addChild(new BufferSparseMemoryAliasingCase(testCtx, "buffer_size_2_12", "", 1 << 12, glu::GLSL_VERSION_440));
440 testGroup->addChild(new BufferSparseMemoryAliasingCase(testCtx, "buffer_size_2_16", "", 1 << 16, glu::GLSL_VERSION_440));
441 testGroup->addChild(new BufferSparseMemoryAliasingCase(testCtx, "buffer_size_2_17", "", 1 << 17, glu::GLSL_VERSION_440));
442 testGroup->addChild(new BufferSparseMemoryAliasingCase(testCtx, "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());
431 testGroup->addChild(new BufferSparseResidencyCase(testCtx, "buffer_size_2_10", "", 1 << 10, glu::GLSL_VERSION_440));
432 testGroup->addChild(new BufferSparseResidencyCase(testCtx, "buffer_size_2_12", "", 1 << 12, glu::GLSL_VERSION_440));
433 testGroup->addChild(new BufferSparseResidencyCase(testCtx, "buffer_size_2_16", "", 1 << 16, glu::GLSL_VERSION_440));
434 testGroup->addChild(new BufferSparseResidencyCase(testCtx, "buffer_size_2_17", "", 1 << 17, glu::GLSL_VERSION_440));
435 testGroup->addChild(new BufferSparseResidencyCase(testCtx, "buffer_size_2_20", "", 1 << 20, glu::GLSL_VERSION_440))
    [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;
78 glu::RenderContext& renderCtx,
79 const glu::ContextInfo& renderCtxInfo,
100 glu::RenderContext& m_renderCtx;
101 const glu::ContextInfo& m_renderCtxInfo;
112 glu::Texture2D* m_texture;
117 glu::RenderContext& renderCtx,
118 const glu::ContextInfo& renderCtxInfo,
141 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES,
142 renderCtxInfo.isFragmentHighPrecisionSupported() ? glu::PRECISION_HIGHP // Use highp if available
    [all...]
  /external/opencv3/samples/gpu/
opengl.cpp 23 #include <OpenGL/glu.h>
26 #include <GL/glu.h>
  /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/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 57 using namespace glu;
77 glu::RenderContext& renderCtx,
78 const glu::ContextInfo& renderCtxInfo,
99 glu::RenderContext& m_renderCtx;
100 const glu::ContextInfo& m_renderCtxInfo;
111 glu::Texture2D* m_texture;
116 glu::RenderContext& renderCtx,
117 const glu::ContextInfo& renderCtxInfo,
140 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES,
141 renderCtxInfo.isFragmentHighPrecisionSupported() ? glu::PRECISION_HIGHP // Use highp if available
    [all...]
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 74 glu::RenderContext& renderCtx,
75 const glu::ContextInfo& renderCtxInfo,
96 glu::RenderContext& m_renderCtx;
97 const glu::ContextInfo& m_renderCtxInfo;
108 glu::Texture2D* m_texture;
113 glu::RenderContext& renderCtx,
114 const glu::ContextInfo& renderCtxInfo,
137 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP)
148 m_texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
vktDynamicStateVPTests.cpp 134 : ViewportStateBaseCase (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT])
181 : ViewportStateBaseCase (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT])
232 : DynamicStateBaseClass (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT])
233 , m_geometryShaderName (shaders[glu::SHADERTYPE_GEOMETRY])
396 shaderPaths[glu::SHADERTYPE_VERTEX] = "vulkan/dynamic_state/VertexFetch.vert";
397 shaderPaths[glu::SHADERTYPE_FRAGMENT] = "vulkan/dynamic_state/VertexFetch.frag";
402 shaderPaths[glu::SHADERTYPE_GEOMETRY] = "vulkan/dynamic_state/ViewportArray.geom"
    [all...]
  /external/deqp/modules/gles3/functional/
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...]
es3fASTCDecompressionCases.cpp 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();
366 glu::readPixels(renderCtx, viewport.x, viewport.y, resultDst.getAccess())
    [all...]

Completed in 2627 milliseconds

<<11121314151617181920>>