Home | History | Annotate | Download | only in glshared

Lines Matching defs:fbo

189 void setupFbo (const Context& ctx, GLuint seed, GLuint fbo)
193 GLU_CHECK_CALL_ERROR(gl.bindFramebuffer(GL_FRAMEBUFFER, fbo),
230 void drawFbo (const Context& ctx, GLuint fbo, Surface& dst)
236 gl.bindFramebuffer(GL_FRAMEBUFFER, fbo),
248 GLuint getFboAttachment (const Functions& gl, GLuint fbo, GLenum requiredType)
251 gl.bindFramebuffer(GL_FRAMEBUFFER, fbo);
275 Framebuffer fbo(getRenderContext());
285 attach(element, *fbo);
286 setupFbo(getContext(), seed, *fbo);
287 detach(element, *fbo);
297 void FboInputAttacher::drawContainer (GLuint fbo, Surface& dst)
299 drawFbo(getContext(), fbo, dst);
301 << "// Read pixels from framebuffer " << fbo << " to output image."
305 void FboOutputAttacher::setupContainer (GLuint seed, GLuint fbo)
307 setupFbo(getContext(), seed, fbo);
309 << "// Drew to framebuffer " << fbo << " with seed " << seed << "."
315 Framebuffer fbo(getRenderContext());
317 m_attacher.attach(element, *fbo);
318 drawFbo(getContext(), *fbo, dst);
319 m_attacher.detach(element, *fbo);
328 void TextureFboAttacher::attach (GLuint texture, GLuint fbo)
331 glBindFramebuffer(GL_FRAMEBUFFER, fbo),
342 void TextureFboAttacher::detach (GLuint texture, GLuint fbo)
346 glBindFramebuffer(GL_FRAMEBUFFER, fbo),
356 GLuint TextureFboAttacher::getAttachment (GLuint fbo)
358 return getFboAttachment(gl(), fbo, GL_TEXTURE);
376 void RboFboAttacher::attach (GLuint rbo, GLuint fbo)
379 glBindFramebuffer(GL_FRAMEBUFFER, fbo),
389 void RboFboAttacher::detach (GLuint rbo, GLuint fbo)
393 glBindFramebuffer(GL_FRAMEBUFFER, fbo),
403 GLuint RboFboAttacher::getAttachment (GLuint fbo)
405 return getFboAttachment(gl(), fbo, GL_RENDERBUFFER);