Home
last modified time | relevance | path

Searched refs:readFb (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dblit.c181 validate_color_buffer(struct gl_context *ctx, struct gl_framebuffer *readFb, in validate_color_buffer() argument
186 const struct gl_renderbuffer *colorReadRb = readFb->_ColorReadBuffer; in validate_color_buffer()
219 if (readFb->Visual.samples > 0 || drawFb->Visual.samples > 0) { in validate_color_buffer()
256 validate_stencil_buffer(struct gl_context *ctx, struct gl_framebuffer *readFb, in validate_stencil_buffer() argument
260 readFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer()
302 validate_depth_buffer(struct gl_context *ctx, struct gl_framebuffer *readFb, in validate_depth_buffer() argument
306 readFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer()
345 struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, in blit_framebuffer() argument
352 if (!readFb || !drawFb) { in blit_framebuffer()
360 _mesa_update_framebuffer(ctx, readFb, drawFb); in blit_framebuffer()
[all …]
Dframebuffer.h114 struct gl_framebuffer *readFb,
Dframebuffer.c644 struct gl_framebuffer *readFb, in _mesa_update_framebuffer() argument
650 if (readFb != drawFb) in _mesa_update_framebuffer()
651 update_framebuffer(ctx, readFb); in _mesa_update_framebuffer()
Dimage.h132 const struct gl_framebuffer *readFb,
Dblend.h140 const struct gl_framebuffer *readFb);
Dimage.c882 const struct gl_framebuffer *readFb, in _mesa_clip_blit() argument
888 const GLint srcXmax = readFb->Width; in _mesa_clip_blit()
890 const GLint srcYmax = readFb->Height; in _mesa_clip_blit()
Dblend.c1150 const struct gl_framebuffer *readFb) in _mesa_get_clamp_read_color() argument
1152 return get_clamp_color(readFb, ctx->Color.ClampReadColor); in _mesa_get_clamp_read_color()
Ddd.h857 struct gl_framebuffer *readFb);
871 struct gl_framebuffer *readFb,
/third_party/mesa3d/src/mesa/swrast/
Ds_blit.c110 struct gl_framebuffer *readFb, in blit_nearest() argument
155 readAtt = &readFb->Attachment[readFb->_ColorReadBufferIndex]; in blit_nearest()
156 readRb = readFb->_ColorReadBuffer; in blit_nearest()
160 readAtt = &readFb->Attachment[BUFFER_DEPTH]; in blit_nearest()
179 readAtt = &readFb->Attachment[BUFFER_STENCIL]; in blit_nearest()
256 &map, &rowStride, readFb->FlipY); in blit_nearest()
284 readFb->FlipY); in blit_nearest()
513 struct gl_framebuffer *readFb, in blit_linear() argument
518 struct gl_renderbuffer *readRb = readFb->_ColorReadBuffer; in blit_linear()
520 &readFb->Attachment[readFb->_ColorReadBufferIndex]; in blit_linear()
[all …]
Dswrast.h158 struct gl_framebuffer *readFb,
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta_blit.c90 const struct gl_framebuffer *readFb, in blitframebuffer_texture() argument
97 int att_index = do_depth ? BUFFER_DEPTH : readFb->_ColorReadBufferIndex; in blitframebuffer_texture()
99 &readFb->Attachment[att_index]; in blitframebuffer_texture()
134 if (_mesa_is_winsys_fbo(readFb)) { in blitframebuffer_texture()
416 const struct gl_framebuffer *readFb, in _mesa_meta_BlitFramebuffer() argument
439 if (readFb->Visual.samples > 0) in _mesa_meta_BlitFramebuffer()
445 if (!_mesa_clip_blit(ctx, readFb, drawFb, in _mesa_meta_BlitFramebuffer()
476 if (blitframebuffer_texture(ctx, readFb, drawFb, in _mesa_meta_BlitFramebuffer()
486 if (blitframebuffer_texture(ctx, readFb, drawFb, in _mesa_meta_BlitFramebuffer()
524 struct gl_framebuffer *readFb, in _mesa_meta_and_swrast_BlitFramebuffer() argument
[all …]
Dmeta.h407 const struct gl_framebuffer *readFb,
415 struct gl_framebuffer *readFb,
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fbo.c798 const struct gl_framebuffer *readFb, in brw_blit_framebuffer_with_blitter() argument
815 struct gl_renderbuffer *src_rb = readFb->_ColorReadBuffer; in brw_blit_framebuffer_with_blitter()
832 srcX0 >= 0 && srcX1 <= readFb->Width && in brw_blit_framebuffer_with_blitter()
833 srcY0 >= 0 && srcY1 <= readFb->Height && in brw_blit_framebuffer_with_blitter()
871 srcX0, srcY0, readFb->FlipY, in brw_blit_framebuffer_with_blitter()
891 struct gl_framebuffer *readFb, in brw_blit_framebuffer() argument
915 mask = brw_blit_framebuffer_with_blitter(ctx, readFb, drawFb, in brw_blit_framebuffer()
923 mask = brw_blorp_framebuffer(brw, readFb, drawFb, in brw_blit_framebuffer()
933 mask = _mesa_meta_BlitFramebuffer(ctx, readFb, drawFb, in brw_blit_framebuffer()
944 _swrast_BlitFramebuffer(ctx, readFb, drawFb, in brw_blit_framebuffer()
Dbrw_context.c1385 struct gl_framebuffer *fb, *readFb; in brw_make_current() local
1395 readFb = _mesa_get_incomplete_framebuffer(); in brw_make_current()
1397 readFb = driReadPriv->driverPrivate; in brw_make_current()
1406 brw_gles3_srgb_workaround(brw, readFb); in brw_make_current()
1414 _mesa_make_current(ctx, fb, readFb); in brw_make_current()
Dbrw_blorp.c795 struct gl_framebuffer *readFb, in brw_blorp_framebuffer() argument
809 try_blorp_blit(brw, readFb, drawFb, in brw_blorp_framebuffer()
Dbrw_context.h1498 struct gl_framebuffer *readFb,
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c643 const struct gl_framebuffer *readFb, in intel_blit_framebuffer_with_blitter() argument
660 struct gl_renderbuffer *src_rb = readFb->_ColorReadBuffer; in intel_blit_framebuffer_with_blitter()
677 srcX0 >= 0 && srcX1 <= readFb->Width && in intel_blit_framebuffer_with_blitter()
678 srcY0 >= 0 && srcY1 <= readFb->Height && in intel_blit_framebuffer_with_blitter()
737 struct gl_framebuffer *readFb, in intel_blit_framebuffer() argument
744 mask = intel_blit_framebuffer_with_blitter(ctx, readFb, drawFb, in intel_blit_framebuffer()
752 _mesa_meta_and_swrast_BlitFramebuffer(ctx, readFb, drawFb, in intel_blit_framebuffer()
Dintel_context.c633 struct gl_framebuffer *fb, *readFb; in intelMakeCurrent() local
637 readFb = _mesa_get_incomplete_framebuffer(); in intelMakeCurrent()
640 readFb = driReadPriv->driverPrivate; in intelMakeCurrent()
646 _mesa_make_current(ctx, fb, readFb); in intelMakeCurrent()