Home
last modified time | relevance | path

Searched refs:glu (Results 251 - 275 of 1516) sorted by relevance

1...<<11121314151617181920>>...61

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineDynamicControlPoints.cpp131 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
143 collection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
148 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
154 collection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
159 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
169 collection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms()
174 src << glu in initPrograms()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureSizeTests.cpp47 using namespace glu;
49 using namespace glu::TextureTestUtil;
55 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps);
66 glu::RenderContext& m_renderCtx;
74 glu::Texture2D* m_texture;
78 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) in Texture2DSizeCase()
87 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
126 const tcu::IVec4 texBits = tcu::getTextureFormatBitDepth(glu::mapGLTransferFormat(m_format, m_dataType)); in iterate()
158 glu in iterate()
[all...]
H A Des3fTextureWrapTests.cpp55 using namespace glu;
57 using namespace glu::TextureTestUtil;
60 static inline bool isASTCSupported (const glu::ContextInfo& contextInfo) in isASTCSupported()
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, bool enableRelaxedRef = false);
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, bool enableRelaxedRef = false);
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, bool enableRelaxedRef = false);
108 glu
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fFboColorbufferTests.cpp132 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_texFmt); in render()
135 Texture2DShader texToFboShader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.valueMin); in render()
145 glu::TransferFormat transferFmt = glu::getTransferFormat(texFmt); in render()
173 tcu::TextureLevel data (glu::mapGLTransferFormat(format, dataType), texW, texH, 1); in render()
213 if (!glu::contextSupports(ctxType, glu::ApiType::core(4, 5)) && in preCheck()
214 !glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) && in preCheck()
225 tcu::TextureFormat texFmt = glu in render()
[all...]
H A Des31fShaderFramebufferFetchTests.cpp73 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) in isRequiredFormat()
75 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat()
203 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) in getEnablingExtensions()
205 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getEnablingExtensions()
272 virtual glu::ProgramSources genShaderSources (void);
284 glu::ShaderProgram* m_program;
289 glu::TransferFormat m_transferFmt;
306 , m_texFmt (glu in FramebufferFetchTestCase()
[all...]
H A Des31fTextureMultisampleTests.cpp128 const glu::ContextType contextType = context.getRenderContext().getType(); in specializeShader()
129 const glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(contextType); in specializeShader()
132 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
173 const glu::ShaderProgram* m_samplerProgram;
355 const glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() in genMultisampleTexture()
356 << glu::VertexSource(specializeShader(m_context, vertexShaderSource)) in genMultisampleTexture()
357 << glu::FragmentSource(specializeShader(m_context, fragmentShaderSource))); in genMultisampleTexture()
440 m_samplerProgram = new glu in genSamplerProgram()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDynamicControlPoints.cpp129 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
141 collection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
146 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
152 collection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
157 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
167 collection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms()
172 src << glu in initPrograms()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationMiscDrawTests.cpp328 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initCommonPrograms()
338 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initCommonPrograms()
346 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initCommonPrograms()
369 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initCommonPrograms()
375 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initCommonPrograms()
385 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initCommonPrograms()
398 src << glu in initProgramsFillCoverCase()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureSizeTests.cpp47 using namespace glu;
49 using namespace glu::TextureTestUtil;
54 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps);
65 glu::RenderContext& m_renderCtx;
73 glu::Texture2D* m_texture;
77 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) in Texture2DSizeCase()
86 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
125 const tcu::IVec4 texBits = tcu::getTextureFormatBitDepth(glu::mapGLTransferFormat(m_format, m_dataType)); in iterate()
157 glu in iterate()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles32/
H A Des32cTestPackage.cpp95 glu::resetState(m_testPackage.getContext().getRenderContext(), m_testPackage.getContext().getContextInfo()); in init()
104 glu::resetState(m_testPackage.getContext().getRenderContext(), m_testPackage.getContext().getContextInfo()); in deinit()
110 glu::RenderContext& renderCtx = m_testPackage.getContext().getRenderContext(); in iterate()
143 glu::ContextType(glu::ApiType::es(3, 2)), "gl_cts/data/gles32/") in ES32TestPackage()
163 shadersGroup->addChild(new deqp::ShaderFunctionTests(getContext(), glu::GLSL_VERSION_320_ES)); in init()
164 shadersGroup->addChild(new deqp::ShaderIntegerMixTests(getContext(), glu::GLSL_VERSION_320_ES)); in init()
165 shadersGroup->addChild(new deqp::ShaderNegativeTests(getContext(), glu::GLSL_VERSION_320_ES)); in init()
166 shadersGroup->addChild(new deqp::ShaderStructTests(getContext(), glu::GLSL_VERSION_320_ES)); in init()
171 glcts::ExtParameters extParams(glu in init()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
H A DesextcTessellationShaderWinding.cpp55 de::SharedPtr<const glu::ShaderProgram> m_program;
114 m_program = de::SharedPtr<const glu::ShaderProgram>( in init()
115 new glu::ShaderProgram(m_context.getRenderContext(), in init()
116 glu::ProgramSources() << glu::VertexSource(specializeShader(1, &vs)) in init()
117 << glu::TessellationControlSource(specializeShader(1, &tcs)) in init()
118 << glu::TessellationEvaluationSource(specializeShader(1, &tes)) in init()
119 << glu::FragmentSource(specializeShader(1, &fs)))); in init()
175 const glu::RenderContext& renderCtx = m_context.getRenderContext(); in iterate()
214 glu in iterate()
[all...]
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pTextureCases.cpp80 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in ~Texture2DRenderCase()
123 log << TestLog::Message << "Format: " <<glu::getTextureFormatName(m_format) << " " << glu::getTypeName(m_dataType) << TestLog::EndMessage; in init()
125 log << TestLog::Message << "Wrap: " << glu::getTextureWrapModeStr(m_wrapS) << " / " << glu::getTextureWrapModeStr(m_wrapT) << TestLog::EndMessage; in init()
126 log << TestLog::Message << "Filter: " << glu::getTextureFilterStr(m_minFilter) << " / " << glu::getTextureFilterStr(m_magFilter) << TestLog::EndMessage; in init()
167 glu::Texture2D* texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, width, height); in init()
188 for (vector<glu in deinit()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/runner/
H A DglcKhronosMustpassGlNocontext.hpp25 { glu::ApiType::core(3, 0), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
26 { glu::ApiType::core(4, 0), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
27 { glu::ApiType::core(4, 3), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
28 { glu::ApiType::core(4, 5), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
H A DglcKhronosMustpassGlSingleConfig.hpp25 { glu::ApiType::core(4, 3), "khr-single", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
26 { glu::ApiType::core(4, 4), "khr-single", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
27 { glu::ApiType::core(4, 5), "khr-single", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
28 { glu::ApiType::core(4, 6), "khr-single", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
/third_party/vk-gl-cts/framework/platform/ohos/context/
H A DtcuOhosEglContextFactory.cpp30 : glu::ContextFactory ("ohos", "Render Context") in OhosContextFactory()
35 glu::RenderContext* OhosContextFactory::createContext (const glu::RenderConfig& config, in createContext()
36 const tcu::CommandLine& cmdline, const glu::RenderContext* sharedContext) const in createContext()
H A DtcuOhosEglContextFactory.hpp35 class OhosContextFactory : public glu::ContextFactory
40 virtual glu::RenderContext* createContext (const glu::RenderConfig& config,
41 const tcu::CommandLine& cmdLine, const glu::RenderContext* sharedContext) const;
/third_party/vk-gl-cts/framework/platform/win32/
H A DtcuWGLContextFactory.hpp35 class ContextFactory : public glu::ContextFactory
39 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine,
40 const glu::RenderContext* sharedContext) const;
H A DtcuWGL.cpp424 glu::ContextType ctxType, in Context()
426 glu::ResetNotificationStrategy resetNotificationStrategy) in Context()
443 case glu::PROFILE_CORE: in Context()
449 case glu::PROFILE_ES: in Context()
453 case glu::PROFILE_COMPATIBILITY: in Context()
473 if ((ctxType.getFlags() & glu::CONTEXT_FORWARD_COMPATIBLE) != 0) in Context()
475 if (glu::isContextTypeES(ctxType)) in Context()
481 if ((ctxType.getFlags() & glu::CONTEXT_DEBUG) != 0) in Context()
484 if ((ctxType.getFlags() & glu::CONTEXT_ROBUST) != 0) in Context()
487 if ((ctxType.getFlags() & glu in Context()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
H A DesextcTextureBorderClampParameterBorderColorError.cpp195 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLTexParameterf()
196 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLTexParameterf()
227 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLTexParameteri()
228 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLTexParameteri()
257 << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLSamplerParameterf()
258 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLSamplerParameterf()
287 << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLSamplerParameteri()
288 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLSamplerParameteri()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferPrecision.cpp166 if (m_glslVersion >= glu::GLSL_VERSION_130) in TextureBufferPrecision()
168 m_glslVersion = glu::GLSL_VERSION_450; in TextureBufferPrecision()
292 glu::ContextType contextType = m_context.getRenderContext().getType(); in iterate()
294 glw::GLint expected_fail = glu::glslVersionIsES(m_glslVersion) ? GL_FALSE : GL_TRUE; in iterate()
297 if (glu::contextSupports(contextType, glu::ApiType::core(4, 5)) || in iterate()
298 glu::contextSupports(contextType, glu::ApiType::es(3, 1))) in iterate()
/third_party/vk-gl-cts/modules/glshared/
H A DglsScissorTests.hpp32 namespace glu namespace
35 } // glu
77 glu::RenderContext& renderCtx,
85 glu::RenderContext& renderCtx,
92 glu::RenderContext& renderCtx,
98 glu::RenderContext& renderCtx,
H A DglsTextureBufferCase.hpp29 namespace glu namespace
33 } // glu
67 glu::RenderContext& renderCtx,
85 glu::RenderContext& m_renderCtx;
94 glu::ShaderProgram* m_preRenderProgram;
95 glu::ShaderProgram* m_postRenderProgram;
H A DglsShaderLibrary.hpp41 ShaderLibrary (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& contextInfo);
51 glu::RenderContext& m_renderCtx;
52 const glu::ContextInfo& m_contextInfo;
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cShaderViewportLayerArrayTests.cpp197 void ShaderViewportLayerArrayUtils::ShaderPipeline::create(const glu::RenderContext& context) in create()
199 glu::ProgramSources sources; in create()
200 sources.sources[glu::SHADERTYPE_VERTEX].push_back(m_vs); in create()
203 sources.sources[glu::SHADERTYPE_TESSELLATION_CONTROL].push_back(m_tcs); in create()
204 sources.sources[glu::SHADERTYPE_TESSELLATION_EVALUATION].push_back(m_tes); in create()
208 sources.sources[glu::SHADERTYPE_GEOMETRY].push_back(m_gs); in create()
210 sources.sources[glu::SHADERTYPE_FRAGMENT].push_back(m_fs); in create()
212 m_program = new glu::ShaderProgram(context, sources); in create()
219 void ShaderViewportLayerArrayUtils::ShaderPipeline::use(const glu::RenderContext& context) in use()
226 void ShaderViewportLayerArrayUtils::renderQuad(const glu
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
H A Des3cNumberParsingTests.cpp79 typedef function<void (const glu::ShaderProgram&, const glw::Functions&)> SetupUniformsFn;
97 static void initializeExpectedValue(const glu::ShaderProgram& program, const glw::Functions& gl, const deUint32 value);
98 static void initializeZeroValue(const glu::ShaderProgram& program, const glw::Functions& gl);
286 static void initializeExpectedValue(const glu::ShaderProgram& program, const glw::Functions& gl, const deUint32 value) in initializeExpectedValue()
295 static void initializeZeroValue(const glu::ShaderProgram& program, const glw::Functions& gl) in initializeZeroValue()
361 const auto transferFormat = glu::getTransferFormat(textureFormat); in iterate()
365 glu::ShaderProgram program(renderContext, glu::makeVtxFragSources(m_vertexShader, m_fragmentShader)); in iterate()
376 const std::vector<glu::VertexArrayBinding> vertexArrays = in iterate()
378 glu in iterate()
[all...]

Completed in 17 milliseconds

1...<<11121314151617181920>>...61