Lines Matching refs:drawRb
116 struct gl_renderbuffer *readRb, *drawRb = NULL; in blit_nearest() local
163 drawRb = drawAtt->Renderbuffer; in blit_nearest()
182 drawRb = drawAtt->Renderbuffer; in blit_nearest()
205 drawRb = drawAtt->Renderbuffer; in blit_nearest()
207 if (!drawRb) in blit_nearest()
210 if (readRb->Format == drawRb->Format) { in blit_nearest()
242 if ((readRb == drawRb) || in blit_nearest()
288 ctx->Driver.MapRenderbuffer(ctx, drawRb, in blit_nearest()
347 _mesa_pack_float_rgba_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
351 _mesa_pack_float_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
355 _mesa_pack_uint_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
359 _mesa_pack_ubyte_stencil_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
366 if (drawRb != readRb) { in blit_nearest()
367 ctx->Driver.UnmapRenderbuffer(ctx, drawRb); in blit_nearest()
576 struct gl_renderbuffer *drawRb; in blit_linear() local
583 drawRb = drawAtt->Renderbuffer; in blit_linear()
584 if (!drawRb) in blit_linear()
587 drawFormat = _mesa_get_srgb_format_linear(drawRb->Format); in blit_linear()
592 if ((readRb == drawRb) || in blit_linear()
620 ctx->Driver.MapRenderbuffer(ctx, drawRb, in blit_linear()
621 0, 0, drawRb->Width, drawRb->Height, in blit_linear()
717 if (drawRb != readRb) { in blit_linear()
718 ctx->Driver.UnmapRenderbuffer(ctx, drawRb); in blit_linear()