Lines Matching refs:readRb

116    struct gl_renderbuffer *readRb, *drawRb = NULL;  in blit_nearest()  local
156 readRb = readFb->_ColorReadBuffer; in blit_nearest()
162 readRb = readAtt->Renderbuffer; in blit_nearest()
170 if (readRb->Format == MESA_FORMAT_Z_FLOAT32 || in blit_nearest()
171 readRb->Format == MESA_FORMAT_Z32_FLOAT_S8X24_UINT) { in blit_nearest()
181 readRb = readAtt->Renderbuffer; in blit_nearest()
210 if (readRb->Format == drawRb->Format) { in blit_nearest()
212 pixelSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
242 if ((readRb == drawRb) || in blit_nearest()
251 GLint formatSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
253 ctx->Driver.MapRenderbuffer(ctx, readRb, 0, 0, in blit_nearest()
254 readRb->Width, readRb->Height, in blit_nearest()
267 srcMap += rowStride * (readRb->Height - 1); in blit_nearest()
268 dstMap += rowStride * (readRb->Height - 1); in blit_nearest()
280 ctx->Driver.MapRenderbuffer(ctx, readRb, in blit_nearest()
292 ctx->Driver.UnmapRenderbuffer(ctx, readRb); in blit_nearest()
318 _mesa_unpack_rgba_row(readRb->Format, srcWidth, srcRowStart, in blit_nearest()
322 _mesa_unpack_float_z_row(readRb->Format, srcWidth, srcRowStart, in blit_nearest()
326 _mesa_unpack_uint_z_row(readRb->Format, srcWidth, srcRowStart, in blit_nearest()
330 _mesa_unpack_ubyte_stencil_row(readRb->Format, srcWidth, in blit_nearest()
363 ctx->Driver.UnmapRenderbuffer(ctx, readRb); in blit_nearest()
364 if (drawRb != readRb) { in blit_nearest()
516 struct gl_renderbuffer *readRb = readFb->_ColorReadBuffer; in blit_linear() local
540 mesa_format readFormat = _mesa_get_srgb_format_linear(readRb->Format); in blit_linear()
590 if ((readRb == drawRb) || in blit_linear()
594 ctx->Driver.MapRenderbuffer(ctx, readRb, in blit_linear()
595 0, 0, readRb->Width, readRb->Height, in blit_linear()
610 ctx->Driver.MapRenderbuffer(ctx, readRb, in blit_linear()
611 0, 0, readRb->Width, readRb->Height, in blit_linear()
620 ctx->Driver.UnmapRenderbuffer(ctx, readRb); in blit_linear()
711 ctx->Driver.UnmapRenderbuffer(ctx, readRb); in blit_linear()
712 if (drawRb != readRb) { in blit_linear()