Lines Matching refs:renderCtx

108 	CheckedShader (const RenderContext& renderCtx, glu::ShaderType type, const string& src)
109 : Shader (renderCtx, type)
121 CheckedProgram (const RenderContext& renderCtx, GLuint vtxShader, GLuint fragShader)
122 : Program (renderCtx)
234 const RenderContext& renderCtx = ctx.getRenderContext();
235 const Functions& gl = renderCtx.getFunctions();
242 glu::readPixels(renderCtx, 0, 0, dst.getAccess());
363 static bool isTextureFormatColorRenderable (const glu::RenderContext& renderCtx, const glu::TransferFormat& format)
365 const glw::Functions& gl = renderCtx.getFunctions();
415 static glu::TransferFormat getRenderableColorTextureFormat (const glu::RenderContext& renderCtx)
417 if (glu::contextSupports(renderCtx.getType(), glu::ApiType::es(3,0)))
431 if (isTextureFormatColorRenderable(renderCtx, candidates[ndx]))
452 static bool isRenderbufferFormatColorRenderable (const glu::RenderContext& renderCtx, const deUint32 format)
454 const glw::Functions& gl = renderCtx.getFunctions();
503 static deUint32 getRenderableColorRenderbufferFormat (const glu::RenderContext& renderCtx)
505 if (glu::contextSupports(renderCtx.getType(), glu::ApiType::es(3,0)))
518 if (isRenderbufferFormatColorRenderable(renderCtx, candidates[ndx]))
646 void setViewport (const RenderContext& renderCtx, const Rectangle& rect)
648 renderCtx.getFunctions().viewport(rect.x, rect.y, rect.width, rect.height);
651 void readRectangle (const RenderContext& renderCtx, const Rectangle& rect, Surface& dst)
654 glu::readPixels(renderCtx, rect.x, rect.y, dst.getAccess());