Home
last modified time | relevance | path

Searched refs:glu (Results 126 - 150 of 1516) sorted by relevance

12345678910>>...61

/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcPixelStorageModesTests.cpp152 glu::GLSLVersion glsl_version);
174 void setRefcolour (glu::CallLogWrapper gl, glw::GLdouble col);
176 void setUnsignedRefcolour(glu::CallLogWrapper gl, glw::GLdouble col);
178 void setSignedRefcolour(glu::CallLogWrapper gl, glw::GLdouble col);
179 void setRGB10A2Refcolour (glu::CallLogWrapper gl, glw::GLdouble col);
184 glu::ShaderProgram* prog;
201 glu::GLSLVersion m_glsl_version;
214 glu::GLSLVersion glsl_version) in TexImageUtils()
219 , m_format(glu::getTransferFormat(glu in TexImageUtils()
[all...]
H A DglcShaderIntegerMixTests.cpp49 ShaderIntegerMixCase(Context& context, const char* name, const char* description, glu::GLSLVersion glslVersion) in ShaderIntegerMixCase()
69 glu::GLSLVersion m_glslVersion;
78 glu::GLSLVersion glslVersion) in ShaderIntegerMixDefineCase()
114 const glu::GLSLVersion v = glslVersionIsES(m_glslVersion) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330; in test()
123 args["VERSION_DECL"] = glu::getGLSLVersionDeclaration(v); in test()
149 glu::GLSLVersion glslVersion, bool _use_extension, bool _is_negative_testing) in ShaderIntegerMixPrototypesCase()
197 glu::GLSLVersion v; in test()
202 v = glslVersionIsES(m_glslVersion) ? glu in test()
[all...]
H A DglcContext.cpp37 Context::Context(tcu::TestContext& testCtx, glu::ContextType contextType) in Context()
48 void Context::createRenderContext(glu::ContextType& contextType, glu::ContextFlags ctxFlags) in createRenderContext()
54 glu::RenderConfig renderCfg(glu::ContextType(contextType.getAPI(), contextType.getFlags() | ctxFlags)); in createRenderContext()
56 glu::parseRenderConfig(&renderCfg, m_testCtx.getCommandLine()); in createRenderContext()
62 renderCfg.surfaceType = glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC; in createRenderContext()
65 m_renderCtx = glu::createRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), renderCfg); in createRenderContext()
66 m_contextInfo = glu::ContextInfo::create(*m_renderCtx); in createRenderContext()
/third_party/vk-gl-cts/modules/glshared/
H A DglsFragmentOpUtil.cpp110 static const char* getVertSrc (glu::GLSLVersion glslVersion) in getVertSrc()
112 if (glslVersion == glu::GLSL_VERSION_100_ES) in getVertSrc()
114 else if (glslVersion == glu::GLSL_VERSION_300_ES) in getVertSrc()
116 else if (glslVersion == glu::GLSL_VERSION_330) in getVertSrc()
123 static const char* getFragSrc (glu::GLSLVersion glslVersion) in getFragSrc()
125 if (glslVersion == glu::GLSL_VERSION_100_ES) in getFragSrc()
127 else if (glslVersion == glu::GLSL_VERSION_300_ES) in getFragSrc()
129 else if (glslVersion == glu::GLSL_VERSION_330) in getFragSrc()
136 QuadRenderer::QuadRenderer (const glu::RenderContext& context, glu
[all...]
H A DglsShaderLibrary.cpp35 class CaseFactory : public glu::sl::ShaderCaseFactory
38 CaseFactory (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& contextInfo) in CaseFactory()
50 tcu::TestCase* createCase (const std::string& name, const std::string& description, const glu::sl::ShaderCaseSpecification& spec) in createCase()
57 glu::RenderContext& m_renderCtx;
58 const glu::ContextInfo& m_contextInfo;
63 ShaderLibrary::ShaderLibrary (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& contextInfo) in ShaderLibrary()
78 return glu::sl::parseFile(m_testCtx.getArchive(), fileName, &caseFactory); in loadShaderFile()
H A DglsShaderExecUtil.hpp35 namespace glu namespace
51 glu::VarType varType; //!< Symbol type.
54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {} in Symbol()
60 glu::GLSLVersion version; //!< Shader version.
66 ShaderSpec (void) : version(glu::GLSL_VERSION_300_ES) {} in ShaderSpec()
91 ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec);
93 const glu::RenderContext& m_renderCtx;
102 bool executorSupported(glu::ShaderType shaderType);
103 ShaderExecutor* createExecutor (const glu::RenderContext& renderCtx, glu
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cSampleShadingTests.cpp65 static std::string specializeVersion(std::string const& source, glu::GLSLVersion version, std::string const& sampler, in specializeVersion()
68 DE_ASSERT(version == glu::GLSL_VERSION_310_ES || version >= glu::GLSL_VERSION_400); in specializeVersion()
70 args["VERSION_DECL"] = glu::getGLSLVersionDeclaration(version); in specializeVersion()
79 SampleShadingApiCaseGroup(Context& context, glu::GLSLVersion glslVersion) in SampleShadingApiCaseGroup()
93 SampleShadingApiCase(Context& context, glu::GLSLVersion glslVersion);
99 glu::GLSLVersion m_glslVersion;
103 glu::GLSLVersion m_glslVersion;
106 SampleShadingApiCaseGroup::SampleShadingApiCase::SampleShadingApiCase(Context& context, glu::GLSLVersion glslVersion) in SampleShadingApiCase()
109 DE_ASSERT(glslVersion == glu in SampleShadingApiCase()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFragDepthTests.cpp148 glu::ShaderProgram basicQuadProgram(m_context.getRenderContext(), glu::makeVtxFragSources(s_vertexShaderSrc, s_defaultFragmentShaderSrc)); in iterate()
176 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &constDepthCoord[0]); in iterate()
177 glu::draw(m_context.getRenderContext(), basicQuadProgram.getProgram(), 1, &posBinding, in iterate()
178 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
182 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &varyingDepthCoord[0]); in iterate()
183 glu::draw(m_context.getRenderContext(), basicQuadProgram.getProgram(), 1, &posBinding, in iterate()
184 glu in iterate()
[all...]
H A Des3fTextureFormatTests.cpp55 using glu::ContextInfo;
66 using namespace glu::TextureTestUtil;
72 void checkSupport (const glu::ContextInfo& info, deUint32 internalFormat) in checkSupport()
100 glu::RenderContext& m_renderCtx;
101 const glu::ContextInfo& m_renderCtxInfo;
108 glu::Texture2D* m_texture;
121 , m_renderer (context.getRenderContext(), testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP) in Texture2DFormatCase()
134 , m_renderer (context.getRenderContext(), testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu in Texture2DFormatCase()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderPackingFunctionTests.cpp72 ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
79 glu::ShaderType m_shaderType;
88 ShaderPackingFunctionCase::ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase()
93 m_spec.version = glu::getContextTypeGLSLVersion(context.getRenderContext().getType()); in ShaderPackingFunctionCase()
123 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case()
127 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case()
128 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu in PackSnorm2x16Case()
[all...]
H A Des31fTextureFormatTests.cpp50 using namespace glu::TextureTestUtil;
80 SupportedExtensions checkSupport (const glu::ContextInfo& renderCtxInfoid) in checkSupport()
98 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth);
99 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth);
112 glu::RenderContext& m_renderCtx;
113 const glu::ContextInfo& m_renderCtxInfo;
120 glu::TextureCubeArray* m_texture;
126 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu
[all...]
H A Des31fOpaqueTypeIndexingTests.cpp60 using namespace glu;
119 static TextureType getTextureType (glu::DataType samplerType) in getTextureType()
123 case glu::TYPE_SAMPLER_1D: in getTextureType()
124 case glu::TYPE_INT_SAMPLER_1D: in getTextureType()
125 case glu::TYPE_UINT_SAMPLER_1D: in getTextureType()
126 case glu::TYPE_SAMPLER_1D_SHADOW: in getTextureType()
129 case glu::TYPE_SAMPLER_2D: in getTextureType()
130 case glu::TYPE_INT_SAMPLER_2D: in getTextureType()
131 case glu::TYPE_UINT_SAMPLER_2D: in getTextureType()
132 case glu in getTextureType()
[all...]
H A Des31fSSBOLayoutCase.hpp31 namespace glu namespace
69 BufferVar (const char* name, const glu::VarType& type, deUint32 flags);
72 const glu::VarType& getType (void) const { return m_type; } in getType()
77 glu::VarType m_type;
123 glu::StructType& allocStruct (const char* name);
124 const glu::StructType* findStruct (const char* name) const;
125 void getNamedStructs (std::vector<const glu::StructType*>& structs) const;
136 std::vector<glu::StructType*> m_structs;
155 SSBOLayoutCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, glu
[all...]
H A Des31fTextureBorderClampTests.cpp100 else if (glu::isCompressedFormat(format)) in isDepthFormat()
107 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isDepthFormat()
128 else if (glu::isCompressedFormat(format)) in isStencilFormat()
135 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isStencilFormat()
156 else if (glu::isCompressedFormat(format)) in getFormatChannelClass()
158 const tcu::CompressedTexFormat compressedFmt = glu::mapGLCompressedTexFormat(format); in getFormatChannelClass()
164 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in getFormatChannelClass()
215 struct TextureTraits<glu::Texture2D>
219 static de::MovePtr<glu::Texture2D> createTextureFromInternalFormat (glu
[all...]
/third_party/vk-gl-cts/modules/gles3/
H A Dtes3Context.hpp30 namespace glu namespace
49 Context (tcu::TestContext& testCtx, glu::ApiType apiType = glu::ApiType::es(3,0));
53 glu::RenderContext& getRenderContext (void) { return *m_renderCtx; } in getRenderContext()
54 const glu::ContextInfo& getContextInfo (void) const { return *m_contextInfo; } in getContextInfo()
59 glu::RenderContext* m_renderCtx;
60 glu::ContextInfo* m_contextInfo;
61 glu::ApiType m_apiType;
/third_party/vk-gl-cts/modules/gles31/
H A Dtes31Context.hpp30 namespace glu namespace
49 Context (tcu::TestContext& testCtx, glu::ApiType apiType = glu::ApiType::es(3,2));
53 glu::RenderContext& getRenderContext (void) { return *m_renderCtx; } in getRenderContext()
54 const glu::ContextInfo& getContextInfo (void) const { return *m_contextInfo; } in getContextInfo()
65 glu::RenderContext* m_renderCtx;
66 glu::ContextInfo* m_contextInfo;
67 glu::ApiType m_apiType;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationUserDefinedIO.cpp99 typedef std::string (*BasicTypeVisitFunc)(const std::string& name, glu::DataType type, int indentationDepth); //!< See glslTraverseBasicTypes below.
119 const glu::VarType& rootType, in glslTraverseBasicTypes()
138 const glu::StructType& structType = *rootType.getStructPtr(); in glslTraverseBasicTypes()
144 const glu::StructMember& member = structType.getMember(membNdx); in glslTraverseBasicTypes()
158 std::string glslAssignBasicTypeObject (const std::string& name, const glu::DataType type, const int indentationDepth) in glslAssignBasicTypeObject()
160 const int scalarSize = glu::getDataTypeScalarSize(type); in glslAssignBasicTypeObject()
166 if (type != glu::TYPE_FLOAT) in glslAssignBasicTypeObject()
167 result << std::string() << glu::getDataTypeName(type) << "("; in glslAssignBasicTypeObject()
170 if (type != glu::TYPE_FLOAT) in glslAssignBasicTypeObject()
178 std::string glslCheckBasicTypeObject (const std::string& name, const glu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationUserDefinedIO.cpp99 typedef std::string (*BasicTypeVisitFunc)(const std::string& name, glu::DataType type, int indentationDepth); //!< See glslTraverseBasicTypes below.
119 const glu::VarType& rootType, in glslTraverseBasicTypes()
138 const glu::StructType& structType = *rootType.getStructPtr(); in glslTraverseBasicTypes()
144 const glu::StructMember& member = structType.getMember(membNdx); in glslTraverseBasicTypes()
158 std::string glslAssignBasicTypeObject (const std::string& name, const glu::DataType type, const int indentationDepth) in glslAssignBasicTypeObject()
160 const int scalarSize = glu::getDataTypeScalarSize(type); in glslAssignBasicTypeObject()
166 if (type != glu::TYPE_FLOAT) in glslAssignBasicTypeObject()
167 result << std::string() << glu::getDataTypeName(type) << "("; in glslAssignBasicTypeObject()
170 if (type != glu::TYPE_FLOAT) in glslAssignBasicTypeObject()
178 std::string glslCheckBasicTypeObject (const std::string& name, const glu
[all...]
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sLongShaderTests.cpp82 const char* getConstShaderSource (const glu::ShaderType shaderType) in getConstShaderSource()
84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in getConstShaderSource()
86 if (shaderType == glu::SHADERTYPE_VERTEX) in getConstShaderSource()
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
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluShaderProgram.hpp39 namespace glu namespace
77 glu::ProgramInfo program;
78 std::vector<glu::ShaderInfo> shaders;
99 glu::ShaderType getType (void) const { return getInfo().type; } in getType()
201 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } in hasShader()
202 Shader* getShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shaderNdx]; } in getShader()
203 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size(); } in getNumShaders()
204 const ShaderInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shaderNdx]->getInfo(); } in getShaderInfo()
277 ShaderSource (glu::ShaderType shaderType_, const std::string& source_) : shaderType(shaderType_), source(source_) { DE_ASSERT(!source_.empty()); } in ShaderSource()
282 VertexSource (const std::string& source_) : ShaderSource(glu
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
H A Dtes31Context_override.cpp25 Context::Context (tcu::TestContext& testCtx, glu::ApiType apiType) in Context()
38 m_renderCtx = new glu::DummyRenderContext(glu::ContextType(glu::ApiType::es(3,1))); in Context()
59 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), m_apiType); in createRenderContext()
62 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 1)); in createRenderContext()
64 m_contextInfo = glu::ContextInfo::create(*m_renderCtx); in createRenderContext()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
H A DvktTypeComparisonUtil.hpp35 const char* getCompareFuncForType (glu::DataType type);
36 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType);
37 void collectUniqueBasicTypes (std::set<glu::DataType> &basicTypes, const glu::VarType &type);
38 glu::DataType getPromoteType (glu::DataType type);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
H A DvktTypeComparisonUtil.hpp35 const char* getCompareFuncForType (glu::DataType type);
36 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType);
37 void collectUniqueBasicTypes (std::set<glu::DataType> &basicTypes, const glu::VarType &type);
38 glu::DataType getPromoteType (glu::DataType type);
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp101 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) in InterpolationCase()
126 static bool isValidFloat (glu::Precision precision, float val) in isValidFloat()
128 if (precision == glu::PRECISION_MEDIUMP) in isValidFloat()
141 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) in isValidFloatVec()
186 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); in iterate()
188 glu::ShaderProgram program(m_context.getRenderContext(), in iterate()
189 glu::makeVtxFragSources(tcu::StringTemplate(s_vertShaderTemplate).specialize(templateParams), in iterate()
194 if (m_precision == glu in iterate()
[all...]
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp103 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) in InterpolationCase()
128 static bool isValidFloat (glu::Precision precision, float val) in isValidFloat()
130 if (precision == glu::PRECISION_MEDIUMP) in isValidFloat()
143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) in isValidFloatVec()
192 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); in iterate()
194 glu::ShaderProgram program(m_context.getRenderContext(), in iterate()
195 glu::makeVtxFragSources(tcu::StringTemplate(s_vertShaderTemplate).specialize(templateParams), in iterate()
200 if (m_precision == glu in iterate()
[all...]

Completed in 17 milliseconds

12345678910>>...61