Lines Matching defs:drawFb
182 struct gl_framebuffer *drawFb, GLenum filter,
185 const GLuint numColorDrawBuffers = drawFb->_NumColorDrawBuffers;
191 colorDrawRb = drawFb->_ColorDrawBuffers[i];
219 if (readFb->Visual.samples > 0 || drawFb->Visual.samples > 0) {
257 struct gl_framebuffer *drawFb, const char *func)
262 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer;
303 struct gl_framebuffer *drawFb, const char *func)
308 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer;
345 struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb,
352 if (!readFb || !drawFb) {
359 /* Update completeness status of readFb and drawFb. */
360 _mesa_update_framebuffer(ctx, readFb, drawFb);
362 /* Make sure drawFb has an initialized bounding box. */
363 _mesa_update_draw_buffer_bounds(ctx, drawFb);
371 if (drawFb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT ||
386 (readFb->Visual.samples == 0 || drawFb->Visual.samples > 0)) {
412 if (drawFb->Visual.samples > 0) {
439 drawFb->Visual.samples > 0 &&
440 readFb->Visual.samples != drawFb->Visual.samples) {
447 if ((readFb->Visual.samples > 0 || drawFb->Visual.samples > 0) &&
462 const GLuint numColorDrawBuffers = drawFb->_NumColorDrawBuffers;
474 if (!validate_color_buffer(ctx, readFb, drawFb, filter, func))
483 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer;
494 if (!validate_stencil_buffer(ctx, readFb, drawFb, func))
503 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer;
514 if (!validate_depth_buffer(ctx, readFb, drawFb, func))
548 for (i = 0; i < drawFb->_NumColorDrawBuffers; i++) {
549 colorDrawRb = drawFb->_ColorDrawBuffers[i];
553 att = find_attachment(drawFb, colorDrawRb);
555 drawFb->Name, colorDrawRb->Name,
576 ctx->Driver.BlitFramebuffer(ctx, readFb, drawFb,
586 struct gl_framebuffer *drawFb,
594 blit_framebuffer(ctx, readFb, drawFb, srcX0, srcY0, srcX1, srcY1,
649 struct gl_framebuffer *readFb, *drawFb;
674 drawFb = _mesa_lookup_framebuffer(ctx, drawFramebuffer);
676 drawFb = _mesa_lookup_framebuffer_err(ctx, drawFramebuffer,
678 if (!drawFb)
682 drawFb = ctx->WinSysDrawBuffer;
685 blit_framebuffer(ctx, readFb, drawFb,