Lines Matching refs:renderCtx

64 static bool isExtensionSupported (const glu::RenderContext& renderCtx, const std::string& extension)
66 const glw::Functions& gl = renderCtx.getFunctions();
166 const glu::RenderContext& renderCtx = m_context.getRenderContext();
167 const glw::Functions& gl = renderCtx.getFunctions();
168 const glu::ShaderProgram program (renderCtx, genSources(m_indexExprType));
169 const int viewportW = de::min(renderCtx.getRenderTarget().getWidth(), 128);
170 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128);
213 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0],
219 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1);
222 glu::readPixels(renderCtx, 0, 0, result.getAccess());
248 const glu::RenderContext& renderCtx = m_context.getRenderContext();
251 if(!isExtensionSupported(renderCtx, "GL_EXT_draw_buffers") && !isExtensionSupported(renderCtx, "GL_NV_draw_buffers"))
255 if (isExtensionSupported(renderCtx, "GL_EXT_draw_buffers"))
258 if (isExtensionSupported(renderCtx, "GL_NV_draw_buffers"))
261 const glu::ShaderProgram program (renderCtx, glu::ProgramSources()
279 const glw::Functions& gl = renderCtx.getFunctions();
283 const glu::Framebuffer fbo (renderCtx);
284 const glu::Renderbuffer colorBuf0 (renderCtx);
285 const glu::Renderbuffer colorBuf1 (renderCtx);
336 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1);
346 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0],
357 glu::readPixels(renderCtx, 0, 0, result.getAccess());