Lines Matching defs:gl
233 const glw::Functions& gl = m_renderCtx.getFunctions();
244 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar);
245 GLU_EXPECT_NO_ERROR(gl.getError(), "glDepthRangef()");
273 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
311 const int scaleLoc = gl.getUniformLocation(program.getProgram(), "u_scale");
314 gl.useProgram(program.getProgram());
315 gl.uniform3fv(scaleLoc, 1, scale.getPtr());
321 GLU_EXPECT_NO_ERROR(gl.getError(), "Draw");
367 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
407 gl.useProgram(program.getProgram());
413 GLU_EXPECT_NO_ERROR(gl.getError(), "Draw");
454 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
468 gl.getFloatv(GL_ALIASED_POINT_SIZE_RANGE, &pointSizeRange[0]);
469 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE)");
509 gl.viewport(viewportX, viewportY, width, height);
510 gl.clearColor(0.0f, 0.0f, 0.0f, 1.0f);
511 gl.clear(GL_COLOR_BUFFER_BIT);
513 gl.useProgram(program.getProgram());
519 GLU_EXPECT_NO_ERROR(gl.getError(), "Draw");
575 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
620 gl.useProgram(program.getProgram());
622 gl.viewport(viewportX, viewportY, width/2, height);
626 gl.viewport(viewportX + width/2, viewportY, width-width/2, height);
631 GLU_EXPECT_NO_ERROR(gl.getError(), "Draw");