Searched refs:glu (Results 201 - 225 of 447) sorted by relevance

1234567891011>>

/external/deqp/modules/gles31/functional/
H A Des31fShaderImageLoadStoreTests.cpp56 using glu::RenderContext;
353 static inline void checkTextureTypeExtensions (const glu::ContextInfo& contextInfo, TextureType type)
685 static void setTextureStorage (glu::CallLogWrapper& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textureBufGL)
693 const TextureFormat format = glu::mapGLInternalFormat(internalFormat);
721 static void uploadTexture (glu::CallLogWrapper& glLog, const LayeredImage& src, deUint32 textureBufGL)
723 const deUint32 internalFormat = glu::getInternalFormat(src.getFormat());
724 const glu::TransferFormat transferFormat = glu::getTransferFormat(src.getFormat());
764 static void readPixelsRGBAInteger32 (const PixelBufferAccess& dst, int originX, int originY, glu::CallLogWrapper& glLog)
800 static void setTexParameteri (glu
[all...]
H A Des31fIndirectComputeDispatchTests.cpp87 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
[all...]
H A Des31fTextureFilteringTests.cpp137 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 (m_context.getRenderContext(), context.getTestContext(), 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
[all...]
H A Des31fVertexAttributeBindingTests.cpp153 glu::ShaderProgram* m_program;
322 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
374 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
490 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(s_colorFragmentShader));
618 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
681 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
813 m_program = new glu
[all...]
H A Des31fTextureLevelStateQueryTests.cpp97 static std::string getIntegerName (int v) { return de::toString(glu::getPixelFormatStr(v)); }
98 static std::string getFloatName (float v) { return de::toString(glu::getPixelFormatStr((int)v)); }
102 static bool verifyTextureLevelParameterEqualWithPrinter (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, VerifierType type)
104 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << Printer::getIntegerName(refValue) << tcu::TestLog::EndMessage;
159 static bool verifyTextureLevelParameterEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, VerifierType type)
164 static bool verifyTextureLevelParameterInternalFormatEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, VerifierType type)
169 static bool verifyTextureLevelParameterGreaterOrEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, VerifierType type)
171 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << refValue << " or greater" << tcu::TestLog::EndMessage;
226 static bool verifyTextureLevelParameterInternalFormatAnyOf (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, const int* refValues, int numRefValues, VerifierType type)
232 msg << "Verifying " << glu
[all...]
H A Des31fAdvancedBlendTests.cpp113 glu::ShaderProgram* m_program;
179 glu::ProgramSources getBlendProgramSrc (rr::BlendEquationAdvanced equation)
204 return glu::ProgramSources()
205 << glu::VertexSource(s_vertSrc)
206 << glu::FragmentSource(tcu::StringTemplate(s_fragSrc).specialize(args));
227 m_program = new glu::ShaderProgram(m_context.getRenderContext(), getBlendProgramSrc(sglr::rr_util::mapGLBlendEquationAdvanced(m_blendMode)));
246 << glu::getPixelFormatStr(format) << " and " << numSamples << " samples"
358 const glu::RenderContext& renderCtx = m_context.getRenderContext();
377 const glu::Buffer indexBuffer (renderCtx);
378 const glu
[all...]
/external/deqp/modules/glshared/
H A DglsShaderPerformanceMeasurer.hpp77 ShaderPerformanceMeasurer (const glu::RenderContext& renderCtx, PerfCaseType measureType);
111 const glu::RenderContext& m_renderCtx;
H A DglsFragOpInteractionCase.cpp79 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
[all...]
H A DglsRandomShaderProgram.cpp47 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
[all...]
H A DglsFboUtil.cpp37 using glu::TransferFormat;
38 using glu::mapGLInternalFormat;
39 using glu::mapGLTransferFormat;
40 using glu::getPixelFormatName;
41 using glu::getTypeName;
42 using glu::getFramebufferTargetName;
43 using glu::getFramebufferAttachmentName;
44 using glu::getFramebufferAttachmentTypeName;
45 using glu::getTextureTargetName;
46 using glu
[all...]
H A DglsShaderLibrary.cpp45 using namespace glu;
60 static const glu::GLSLVersion DEFAULT_GLSL_VERSION = glu::GLSL_VERSION_100_ES;
91 ShaderParser (tcu::TestContext& testCtx, RenderContext& renderCtx, const glu::ContextInfo& contextInfo, const char* currentDir = DE_NULL);
195 void parseGLSLVersion (glu::GLSLVersion& version);
204 const glu::ContextInfo& m_contextInfo;
212 ShaderParser::ShaderParser (tcu::TestContext& testCtx, RenderContext& renderCtx, const glu::ContextInfo& contextInfo, const char* currentDir)
695 case TOKEN_VERTEX: return (1 << glu::SHADERTYPE_VERTEX);
696 case TOKEN_FRAGMENT: return (1 << glu::SHADERTYPE_FRAGMENT);
697 case TOKEN_GEOMETRY: return (1 << glu
[all...]
/external/deqp/modules/gles2/performance/
H A Des2pShaderOperatorTests.cpp54 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().
1099 glu
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pShaderOperatorTests.cpp54 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().
1099 glu
[all...]
H A Des3pBlendTests.cpp81 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/functional/
H A Des2fTextureMipmapTests.cpp58 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, glu::GLSL_VERSION_100_ES,
142 renderCtxInfo.isFragmentHighPrecisionSupported() ? glu
[all...]
/external/deqp/modules/gles2/accuracy/
H A Des2aTextureMipmapTests.cpp57 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, glu::GLSL_VERSION_100_ES,
141 renderCtxInfo.isFragmentHighPrecisionSupported() ? glu
[all...]
/external/deqp/modules/gles3/accuracy/
H A Des3aTextureMipmapTests.cpp74 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, glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP)
148 m_texture = new glu
[all...]
/external/deqp/modules/gles31/stress/
H A Des31sTessellationGeometryInteractionTests.cpp94 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
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFboStencilbufferTests.cpp70 GradientShader gradShader (glu::TYPE_FLOAT_VEC4);
71 FlatColorShader flatShader (glu::TYPE_FLOAT_VEC4);
132 readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
164 GradientShader gradShader (glu::TYPE_FLOAT_VEC4);
165 FlatColorShader flatShader (glu::TYPE_FLOAT_VEC4);
229 readPixels(dst, 0, 0, width, height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
263 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format);
H A Des3fTextureShadowTests.cpp177 const glu::Texture2D* texture;
188 FilterCase (const glu::Texture2D* tex_, const float ref_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_)
197 std::vector<glu::Texture2D*> m_textures;
215 , m_renderer (context.getRenderContext(), context.getTestContext(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP)
231 m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height));
232 m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height));
256 for (std::vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++)
315 for (std::vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++)
337 sampleParams.sampler = glu
[all...]
H A Des3fTextureSpecificationTests.cpp170 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext();
269 Texture2DShader shader (DataTypes() << glu::getSampler2DType(m_texFormat), glu::TYPE_FLOAT_VEC4);
352 TextureCubeShader shader (glu::getSamplerCubeType(m_texFormat), glu::TYPE_FLOAT_VEC4);
453 Texture2DArrayShader shader (glu::getSampler2DArrayType(m_texFormat), glu::TYPE_FLOAT_VEC4);
553 Texture3DShader shader (glu::getSampler3DType(m_texFormat), glu::TYPE_FLOAT_VEC4);
626 : Texture2DSpecCase (context, name, desc, glu
[all...]
H A Des3fFramebufferBlitTests.cpp75 GradientShader gradShader (glu::TYPE_FLOAT_VEC4);
76 Texture2DShader texShader (DataTypes() << glu::TYPE_SAMPLER_2D, glu::TYPE_FLOAT_VEC4);
119 tcu::TextureLevel data (glu::mapGLTransferFormat(format, dataType), texW, texH, 1);
143 readPixels(dst, 0, 0, m_dstSize.x(), m_dstSize.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
347 tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat);
348 tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat);
349 glu::DataType srcOutputType = getFragmentOutputType(srcFormat);
350 glu::DataType dstOutputType = getFragmentOutputType(dstFormat);
427 const tcu::TextureFormat srcFormat = glu
[all...]
/external/deqp/modules/egl/
H A DteglTestCase.cpp233 static deUint32 makeKey (glu::ApiType apiType)
238 const tcu::FunctionLibrary* EglTestContext::getGLLibrary (glu::ApiType apiType) const
255 deFunctionPtr EglTestContext::getGLFunction (glu::ApiType apiType, const char* name) const
262 void EglTestContext::getGLFunctions (glw::Functions& gl, glu::ApiType apiType) const
268 glu::initCoreFunctions(&gl, &loader, apiType);
/external/deqp/framework/opengl/simplereference/
H A DsglrGLContext.cpp42 GLContext::GLContext (const glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, const tcu::IVec4& baseViewport)
57 m_wrapper = new glu::CallLogWrapper(gl, log);
105 for (std::vector<glu::ShaderProgram*>::iterator i = m_programs.begin();
300 << glu::getTextureTargetStr(target) << ", "
302 << glu::getPixelFormatStr(internalFormat) << ", "
316 << glu::getTextureTargetStr(target) << ", "
318 << glu::getPixelFormatStr(internalFormat) << ", "
332 << glu::getTextureTargetStr(target) << ", "
347 << glu::getTextureTargetStr(target) << ", "
362 << glu
[all...]
H A DsglrContextUtil.cpp33 const glu::ContextType ctxType = ctx.getType();
35 if (glu::isContextTypeGLCore(ctxType) || (contextSupports(ctxType, glu::ApiType::es(3,1))))

Completed in 1063 milliseconds

1234567891011>>