Lines Matching defs:readRb
116 struct gl_renderbuffer *readRb, *drawRb = NULL;
156 readRb = readFb->_ColorReadBuffer;
162 readRb = readAtt->Renderbuffer;
170 if (readRb->Format == MESA_FORMAT_Z_FLOAT32 ||
171 readRb->Format == MESA_FORMAT_Z32_FLOAT_S8X24_UINT) {
181 readRb = readAtt->Renderbuffer;
210 if (readRb->Format == drawRb->Format) {
212 pixelSize = _mesa_get_format_bytes(readRb->Format);
242 if ((readRb == drawRb) ||
251 GLint formatSize = _mesa_get_format_bytes(readRb->Format);
253 ctx->Driver.MapRenderbuffer(ctx, readRb, 0, 0,
254 readRb->Width, readRb->Height,
267 srcMap += rowStride * (readRb->Height - 1);
268 dstMap += rowStride * (readRb->Height - 1);
280 ctx->Driver.MapRenderbuffer(ctx, readRb,
294 ctx->Driver.UnmapRenderbuffer(ctx, readRb);
320 _mesa_unpack_rgba_row(readRb->Format, srcWidth, srcRowStart,
324 _mesa_unpack_float_z_row(readRb->Format, srcWidth, srcRowStart,
328 _mesa_unpack_uint_z_row(readRb->Format, srcWidth, srcRowStart,
332 _mesa_unpack_ubyte_stencil_row(readRb->Format, srcWidth,
365 ctx->Driver.UnmapRenderbuffer(ctx, readRb);
366 if (drawRb != readRb) {
518 struct gl_renderbuffer *readRb = readFb->_ColorReadBuffer;
542 mesa_format readFormat = _mesa_get_srgb_format_linear(readRb->Format);
592 if ((readRb == drawRb) ||
596 ctx->Driver.MapRenderbuffer(ctx, readRb,
597 0, 0, readRb->Width, readRb->Height,
613 ctx->Driver.MapRenderbuffer(ctx, readRb,
614 0, 0, readRb->Width, readRb->Height,
625 ctx->Driver.UnmapRenderbuffer(ctx, readRb);
716 ctx->Driver.UnmapRenderbuffer(ctx, readRb);
717 if (drawRb != readRb) {