Home
last modified time | relevance | path

Searched refs:stencilRb (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/main/
Dreadpix.c423 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels() local
427 if (rb != stencilRb) in fast_read_depth_stencil_pixels()
467 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local
481 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate()
494 _mesa_unpack_ubyte_stencil_row(stencilRb->Format, width, in fast_read_depth_stencil_pixels_separate()
513 ctx->Driver.UnmapRenderbuffer(ctx, stencilRb); in fast_read_depth_stencil_pixels_separate()
528 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local
545 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate()
546 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate()
566 _mesa_unpack_ubyte_stencil_row(stencilRb->Format, width, in slow_read_depth_stencil_pixels_separate()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c648 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_map_renderbuffers() local
657 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_map_renderbuffers()
658 if (stencilRb && stencilRb != depthRb) { in _swrast_map_renderbuffers()
677 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_unmap_renderbuffers() local
686 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_unmap_renderbuffers()
687 if (stencilRb && stencilRb != depthRb) { in _swrast_unmap_renderbuffers()
Ds_clear.c240 struct gl_renderbuffer *stencilRb = in _swrast_Clear() local
243 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) { in _swrast_Clear()
Ds_drawpix.c560 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local
572 stencilRb = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in draw_depth_stencil_pixels()
574 ASSERT(stencilRb); in draw_depth_stencil_pixels()
576 if (depthRb == stencilRb && in draw_depth_stencil_pixels()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c697 const struct intel_renderbuffer *stencilRb = in intel_validate_framebuffer() local
708 if (stencilRb) { in intel_validate_framebuffer()
709 stencil_mt = stencilRb->mt; in intel_validate_framebuffer()
720 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
721 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
725 stencilRb->mt_level, in intel_validate_framebuffer()
726 stencilRb->mt_layer); in intel_validate_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_fbo.c697 const struct intel_renderbuffer *stencilRb = in intel_validate_framebuffer() local
708 if (stencilRb) { in intel_validate_framebuffer()
709 stencil_mt = stencilRb->mt; in intel_validate_framebuffer()
720 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
721 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
725 stencilRb->mt_level, in intel_validate_framebuffer()
726 stencilRb->mt_layer); in intel_validate_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c697 const struct intel_renderbuffer *stencilRb = in intel_validate_framebuffer() local
708 if (stencilRb) { in intel_validate_framebuffer()
709 stencil_mt = stencilRb->mt; in intel_validate_framebuffer()
720 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
721 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
725 stencilRb->mt_level, in intel_validate_framebuffer()
726 stencilRb->mt_layer); in intel_validate_framebuffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c454 struct gl_renderbuffer *stencilRb in st_Clear() local
483 if ((mask & BUFFER_BITS_DS) == BUFFER_BITS_DS && depthRb == stencilRb) { in st_Clear()
509 struct st_renderbuffer *strb = st_renderbuffer(stencilRb); in st_Clear()
512 if (check_clear_stencil_with_quad(ctx, stencilRb, in st_Clear()
541 (depthRb == stencilRb) && in st_Clear()