Lines Matching refs:glu
365 string specializeShader (const string& shaderTemplateString, glu::GLSLVersion glslVersion)
370 parameters["VERSION_HEADER"] = glu::getGLSLVersionDeclaration(glslVersion);
375 parameters["HIGHP"] = (glslVersion == glu::GLSL_VERSION_330 ? "" : "highp");
376 parameters["TEXTURE_BUFFER_EXT"] = (glslVersion == glu::GLSL_VERSION_330 ? "" : "#extension GL_EXT_texture_buffer : enable\n");
381 glu::ShaderProgram* createRenderProgram (glu::RenderContext& renderContext,
387 const glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(renderContext.getType());
392 glu::ShaderProgram* const program = new glu::ShaderProgram(renderContext, glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
424 glu::TextureBuffer& texture)
444 glu::TextureBuffer& texture)
467 glu::TextureBuffer& texture)
501 glu::TextureBuffer& texture)
553 glu::RenderContext& renderContext,
556 glu::TextureBuffer& texture)
575 void renderGL (glu::RenderContext& renderContext,
579 glu::ShaderProgram& program,
580 glu::TextureBuffer& texture)
583 const glu::VertexArray vao (renderContext);
584 const glu::Buffer coordBuffer (renderContext);
659 const glu::TextureBuffer& texture,
663 const tcu::ConstPixelBufferAccess effectiveAccess = glu::getTextureBufferEffectiveRefTexture(texture, maxTextureBufferSize);
758 glu::RenderContext& renderContext,
761 glu::ShaderProgram& program,
762 glu::TextureBuffer& texture,
782 glu::RenderContext& renderContext,
788 glu::readPixels(renderContext, 0, 0, screen.getAccess());
794 void logImplementationInfo (TestLog& log, glu::RenderContext& renderContext)
797 de::UniquePtr<glu::ContextInfo> info (glu::ContextInfo::create(renderContext));
800 if (glu::contextSupports(renderContext.getType(), glu::ApiType(3, 3, glu::PROFILE_CORE)))
809 else if (glu::contextSupports(renderContext.getType(), glu::ApiType(3, 1, glu::PROFILE_ES)) && info->isExtensionSupported("GL_EXT_texture_buffer"))
841 log << TestLog::Message << "Texture format : " << glu::getTextureFormatStr(format) << TestLog::EndMessage;
852 glu::RenderContext& renderContext,
859 glu::ShaderProgram* preRenderProgram,
862 glu::ShaderProgram* postRenderProgram)
895 glu::TextureBuffer texture (renderContext, format, bufferSize, offset, size, &(bufferData[0]));
930 glu::RenderContext& renderCtx,
963 de::UniquePtr<glu::ContextInfo> info (glu::ContextInfo::create(m_renderCtx));
965 if (!glu::contextSupports(m_renderCtx.getType(), glu::ApiType(3, 3, glu::PROFILE_CORE))
966 && !(glu::contextSupports(m_renderCtx.getType(), glu::ApiType(3, 1, glu::PROFILE_ES)) && info->isExtensionSupported("GL_EXT_texture_buffer")))