Lines Matching refs:vao
72 void draw (GLuint vao, GLfloat scale, bool tf, Surface* dst);
73 void setPos (GLuint buffer, GLuint vao);
126 void ScaleProgram::draw (GLuint vao, GLfloat scale, bool tf, Surface* dst) in draw() argument
129 de::Random rnd (vao); in draw()
136 gl.bindVertexArray(vao); in draw()
155 void ScaleProgram::setPos (GLuint buffer, GLuint vao) in setPos() argument
160 gl.bindVertexArray(vao); in setPos()
264 void BufferVAOAttacher::attach (GLuint buffer, GLuint vao) in attach() argument
266 m_program.setPos(buffer, vao); in attach()
268 << "// Set the `pos` attribute in VAO " << vao << " to buffer " << buffer in attach()
300 void BufferVAOInputAttacher::drawContainer (GLuint vao, Surface& dst) in drawContainer() argument
302 m_program.draw(vao, 1.0, false, &dst); in drawContainer()
303 log() << TestLog::Message << "// Drew an output image with VAO " << vao in drawContainer()
368 VertexArray vao(getRenderContext()); in drawAttachment() local
370 m_program.setPos(buffer, *vao); in drawAttachment()
371 m_program.draw(*vao, 1.0, false, &dst); in drawAttachment()
381 VertexArray vao (getRenderContext()); in setupContainer() local
384 m_program.setPos(*posBuf, *vao); in setupContainer()
387 m_program.draw(*vao, -1.0, true, DE_NULL); in setupContainer()