Lines Matching refs:drawRb
113 struct gl_renderbuffer *readRb, *drawRb; in blit_nearest() local
150 drawRb = ctx->DrawBuffer->_ColorDrawBuffers[0]; in blit_nearest()
152 if (readRb->Format == drawRb->Format) { in blit_nearest()
163 drawRb = ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_nearest()
179 drawRb = ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_nearest()
211 if (readRb == drawRb) { in blit_nearest()
256 ctx->Driver.MapRenderbuffer(ctx, drawRb, in blit_nearest()
327 _mesa_pack_float_rgba_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
331 _mesa_pack_float_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
335 _mesa_pack_uint_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
339 _mesa_pack_ubyte_stencil_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
349 if (drawRb != readRb) { in blit_nearest()
350 ctx->Driver.UnmapRenderbuffer(ctx, drawRb); in blit_nearest()
493 struct gl_renderbuffer *drawRb = ctx->DrawBuffer->_ColorDrawBuffers[0]; in blit_linear() local
517 gl_format drawFormat = _mesa_get_srgb_format_linear(drawRb->Format); in blit_linear()
562 if (readRb == drawRb) { in blit_linear()
594 ctx->Driver.MapRenderbuffer(ctx, drawRb, in blit_linear()
595 0, 0, drawRb->Width, drawRb->Height, in blit_linear()
701 if (drawRb != readRb) { in blit_linear()
702 ctx->Driver.UnmapRenderbuffer(ctx, drawRb); in blit_linear()