• Home
  • Raw
  • Download

Lines Matching refs:sglr

64 class FlatColorShader : public sglr::ShaderProgram
68 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in FlatColorShader()
69 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in FlatColorShader()
70 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in FlatColorShader()
71 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) in FlatColorShader()
72 << sglr::pdec::VertexSource( in FlatColorShader()
78 << sglr::pdec::FragmentSource( in FlatColorShader()
87 void setColor (sglr::Context& gl, deUint32 program, const tcu::Vec4& color) in setColor()
111 class SingleTex2DShader : public sglr::ShaderProgram
115 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in SingleTex2DShader()
116 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in SingleTex2DShader()
117 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) in SingleTex2DShader()
118 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in SingleTex2DShader()
119 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in SingleTex2DShader()
120 << sglr::pdec::Uniform("u_sampler0", glu::TYPE_SAMPLER_2D) in SingleTex2DShader()
121 << sglr::pdec::VertexSource( in SingleTex2DShader()
130 << sglr::pdec::FragmentSource( in SingleTex2DShader()
140 void setUnit (sglr::Context& gl, deUint32 program, int unitNdx) in setUnit()
171 class MixTexturesShader : public sglr::ShaderProgram
175 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in MixTexturesShader()
176 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in MixTexturesShader()
177 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) in MixTexturesShader()
178 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in MixTexturesShader()
179 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in MixTexturesShader()
180 << sglr::pdec::Uniform("u_sampler0", glu::TYPE_SAMPLER_2D) in MixTexturesShader()
181 << sglr::pdec::Uniform("u_sampler1", glu::TYPE_SAMPLER_2D) in MixTexturesShader()
182 << sglr::pdec::VertexSource( in MixTexturesShader()
191 << sglr::pdec::FragmentSource( in MixTexturesShader()
202 void setUnits (sglr::Context& gl, deUint32 program, int unit0, int unit1) in setUnits()
356 …Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fb…
372 sglr::Context& m_context;
379 static bool isExtensionSupported (sglr::Context& context, const char* name) in isExtensionSupported()
393 static void checkColorFormatSupport (sglr::Context& context, deUint32 sizedFormat) in checkColorFormatSupport()
409 Framebuffer::Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, d… in Framebuffer()
511 static void createMetaballsTex2D (sglr::Context& context, deUint32 name, GLenum format, GLenum data… in createMetaballsTex2D()
523 static void createQuadsTex2D (sglr::Context& context, deUint32 name, GLenum format, GLenum dataType… in createQuadsTex2D()
542 virtual void render (sglr::Context& fboContext, Surface& dst) = DE_NULL;
585sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height)… in iterate()
608sglr::ReferenceContextBuffers buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaB… in iterate()
609sglr::ReferenceContext context (sglr::ReferenceContextLimits(renderCtx), buffers.getColorbuffer(… in iterate()
651 void render (sglr::Context& context, Surface& dst);
659 void ColorClearsTest::render (sglr::Context& context, Surface& dst) in render()
710 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
738 virtual void render (sglr::Context& context, Surface& dst);
770 void IntersectingQuadsTest::render (sglr::Context& ctx, Surface& dst) in render()
798 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0f)); in render()
801 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 1.0f), Vec3(1.0f, 1.0f, -1.0f)); in render()
813 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
831 void render (sglr::Context& context, Surface& dst);
867 void MixTest::render (sglr::Context& context, Surface& dst) in render()
892 sglr::drawQuad(context, singleTexShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
915 sglr::drawQuad(context, mixShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
926 void render (sglr::Context& context, Surface& dst);
957 void BlendTest::render (sglr::Context& context, Surface& dst) in render()
981 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
989 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1002 void render (sglr::Context& context, Surface& dst);
1012 void StencilClearsTest::render (sglr::Context& context, Surface& dst) in render()
1052 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1056 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1067 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1097 void render (sglr::Context& context, Surface& dst);
1127 void StencilTest::render (sglr::Context& ctx, Surface& dst) in render()
1160 sglr::drawQuad(ctx, colorShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.0f)); in render()
1164 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(+1.0f, +1.0f, +1.0f)); in render()
1171 sglr::drawQuad(ctx, colorShaderID, Vec3(-0.5f, -0.5f, 0.0f), Vec3(+0.5f, +0.5f, 0.0f)); in render()
1177 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.0f)); in render()
1187 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1200 void render (sglr::Context& context, Surface& dst);
1208 void SharedColorbufferTest::render (sglr::Context& context, Surface& dst) in render()
1270 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1278 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1283 sglr::drawQuad(context, shaderID, Vec3(0.5f, 0.5f, 0.5f), Vec3(1.0f, 1.0f, 0.5f)); in render()
1303 sglr::drawQuad(context, flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1313 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1327 void render (sglr::Context& context, Surface& dst);
1342 void SharedColorbufferClearsTest::render (sglr::Context& context, Surface& dst) in render()
1420 sglr::drawQuad(context, shaderID, Vec3(-0.9f, -0.9f, 0.0f), Vec3(0.9f, 0.9f, 0.0f)); in render()
1434 void render (sglr::Context& context, Surface& dst);
1447 void SharedDepthbufferTest::render (sglr::Context& context, Surface& dst) in render()
1497 sglr::drawQuad(context, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1502 sglr::drawQuad(context, texShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0f)); in render()
1518 sglr::drawQuad(context, colorShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1528 sglr::drawQuad(context, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(0.0f, 1.0f, 0.0f)); in render()
1530 sglr::drawQuad(context, texShaderID, Vec3(0.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1548 void render (sglr::Context& context, Surface& dst);
1564 void TexSubImageAfterRenderTest::render (sglr::Context& context, Surface& dst) in render()
1594 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1603 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1614 void render (sglr::Context& context, Surface& dst);
1630 void TexSubImageBetweenRenderTest::render (sglr::Context& context, Surface& dst) in render()
1668 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1678 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1685 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1696 void render (sglr::Context& context, Surface& dst);
1704 void ResizeTest::render (sglr::Context& context, Surface& dst) in render()
1731 sglr::drawQuad(context, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1739 sglr::drawQuad(context, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1787 sglr::drawQuad(context, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.0f)); in render()
1790 sglr::drawQuad(context, texShaderID, Vec3(0.0f, 0.0f, -1.0f), Vec3(+1.0f, +1.0f, 1.0f)); in render()
1804 sglr::drawQuad(context, colorShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.0f)); in render()
1813 sglr::drawQuad(context, texShaderID, Vec3(-0.5f, -0.5f, 0.0f), Vec3(0.5f, 0.5f, 0.0f)); in render()
1828 void render (sglr::Context& context, Surface& dst);
1874 void RecreateBuffersTest<Buffers>::render (sglr::Context& ctx, Surface& dst) in render()
1902 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1986 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 1.0f), Vec3(1.0f, 1.0f, -1.0f)); in render()
2016 void render (sglr::Context& ctx, Surface& dst) in render()
2073 sglr::drawQuad(ctx, fboBlitShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()