Lines Matching refs:srcRb
450 struct gl_renderbuffer *srcRb, *dstRb; in swrast_fast_copy_pixels() local
459 srcRb = srcFb->_ColorReadBuffer; in swrast_fast_copy_pixels()
463 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
467 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
473 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
478 if (!srcRb || !dstRb || srcRb->Format != dstRb->Format) { in swrast_fast_copy_pixels()
484 if (_mesa_is_format_packed_depth_stencil(srcRb->Format) || in swrast_fast_copy_pixels()
490 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer || in swrast_fast_copy_pixels()
503 pixelBytes = _mesa_get_format_bytes(srcRb->Format); in swrast_fast_copy_pixels()
506 if (srcRb == dstRb) { in swrast_fast_copy_pixels()
514 ctx->Driver.MapRenderbuffer(ctx, srcRb, 0, 0, in swrast_fast_copy_pixels()
515 srcRb->Width, srcRb->Height, in swrast_fast_copy_pixels()
542 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
553 ctx->Driver.UnmapRenderbuffer(ctx, srcRb); in swrast_fast_copy_pixels()
566 ctx->Driver.UnmapRenderbuffer(ctx, srcRb); in swrast_fast_copy_pixels()
567 if (dstRb != srcRb) { in swrast_fast_copy_pixels()