Home
last modified time | relevance | path

Searched refs:readRb (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_blit.c113 struct gl_renderbuffer *readRb, *drawRb; in blit_nearest() local
149 readRb = ctx->ReadBuffer->_ColorReadBuffer; in blit_nearest()
152 if (readRb->Format == drawRb->Format) { in blit_nearest()
154 pixelSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
162 readRb = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_nearest()
169 if (readRb->Format == MESA_FORMAT_Z32_FLOAT || in blit_nearest()
170 readRb->Format == MESA_FORMAT_Z32_FLOAT_X24S8) { in blit_nearest()
178 readRb = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_nearest()
211 if (readRb == drawRb) { in blit_nearest()
218 GLint formatSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
[all …]
Ds_copypix.c248 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in copy_depth_pixels() local
256 if (!readRb) { in copy_depth_pixels()
296 _swrast_read_depth_span_float(ctx, readRb, width, srcx, ssy, p); in copy_depth_pixels()
319 _swrast_read_depth_span_float(ctx, readRb, width, srcx, sy, depth); in copy_depth_pixels()
/external/mesa3d/src/mesa/main/
Dfbobject.c2967 struct gl_renderbuffer *readRb = in _mesa_BlitFramebufferEXT() local
2978 if ((readRb == NULL) || (drawRb == NULL)) { in _mesa_BlitFramebufferEXT()
2981 else if (_mesa_get_format_bits(readRb->Format, GL_STENCIL_BITS) != in _mesa_BlitFramebufferEXT()
2993 struct gl_renderbuffer *readRb = in _mesa_BlitFramebufferEXT() local
3004 if ((readRb == NULL) || (drawRb == NULL)) { in _mesa_BlitFramebufferEXT()
3007 else if ((_mesa_get_format_bits(readRb->Format, GL_DEPTH_BITS) != in _mesa_BlitFramebufferEXT()
3009 (_mesa_get_format_datatype(readRb->Format) != in _mesa_BlitFramebufferEXT()