Lines Matching refs:glu
148 glu::ShaderProgram basicQuadProgram(m_context.getRenderContext(), glu::makeVtxFragSources(s_vertexShaderSrc, s_defaultFragmentShaderSrc));
176 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &constDepthCoord[0]);
177 glu::draw(m_context.getRenderContext(), basicQuadProgram.getProgram(), 1, &posBinding,
178 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0]));
182 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &varyingDepthCoord[0]);
183 glu::draw(m_context.getRenderContext(), basicQuadProgram.getProgram(), 1, &posBinding,
184 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0]));
192 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(s_vertexShaderSrc, m_fragSrc.c_str()));
221 glu::VertexArrayBinding vertexArrays[] =
223 glu::va::Float("a_position", 4, 4, 0, &position[0]),
224 glu::va::Float("a_coord", 2, 4, 0, &coord[0])
226 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0],
227 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0]));
233 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess());
321 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(s_vertexShaderSrc, m_fragSrc.c_str()));
349 glu::VertexArrayBinding vertexArrays[] =
351 glu::va::Float("a_position", 4, 4, 0, &position[0]),
352 glu::va::Float("a_coord", 2, 4, 0, &coord[0])
354 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0],
355 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0]));
363 glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(s_vertexShaderSrc, s_defaultFragmentShaderSrc));
389 glu::VertexArrayBinding posBinding = glu::va::Float(posLoc, 4, 4, 0, &position[0]);
392 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding,
393 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0]));
399 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess());