Lines Matching refs:srcRb
439 struct gl_renderbuffer *srcRb, *dstRb; in swrast_fast_copy_pixels() local
448 srcRb = srcFb->_ColorReadBuffer; in swrast_fast_copy_pixels()
452 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
456 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
462 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
467 if (!srcRb || !dstRb || srcRb->Format != dstRb->Format) { in swrast_fast_copy_pixels()
473 if (_mesa_is_format_packed_depth_stencil(srcRb->Format) || in swrast_fast_copy_pixels()
479 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer || in swrast_fast_copy_pixels()
492 pixelBytes = _mesa_get_format_bytes(srcRb->Format); in swrast_fast_copy_pixels()
495 if (srcRb == dstRb) { in swrast_fast_copy_pixels()
503 ctx->Driver.MapRenderbuffer(ctx, srcRb, 0, 0, in swrast_fast_copy_pixels()
504 srcRb->Width, srcRb->Height, in swrast_fast_copy_pixels()
531 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
542 ctx->Driver.UnmapRenderbuffer(ctx, srcRb); in swrast_fast_copy_pixels()
555 ctx->Driver.UnmapRenderbuffer(ctx, srcRb); in swrast_fast_copy_pixels()
556 if (dstRb != srcRb) { in swrast_fast_copy_pixels()