Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c591 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_map_renderbuffers() local
600 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_map_renderbuffers()
601 if (stencilRb && stencilRb != depthRb) { in _swrast_map_renderbuffers()
622 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_unmap_renderbuffers() local
631 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_unmap_renderbuffers()
632 if (stencilRb && stencilRb != depthRb) { in _swrast_unmap_renderbuffers()
Ds_clear.c316 struct gl_renderbuffer *stencilRb = in _swrast_Clear() local
319 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) { in _swrast_Clear()
Ds_drawpix.c641 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local
653 stencilRb = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in draw_depth_stencil_pixels()
655 assert(stencilRb); in draw_depth_stencil_pixels()
657 if (depthRb == stencilRb && in draw_depth_stencil_pixels()
/third_party/mesa3d/src/mesa/main/
Dreadpix.c651 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels() local
655 if (rb != stencilRb) in fast_read_depth_stencil_pixels()
695 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local
709 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate()
722 _mesa_unpack_ubyte_stencil_row(stencilRb->Format, width, in fast_read_depth_stencil_pixels_separate()
741 ctx->Driver.UnmapRenderbuffer(ctx, stencilRb); in fast_read_depth_stencil_pixels_separate()
756 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local
773 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate()
774 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate()
794 _mesa_unpack_ubyte_stencil_row(stencilRb->Format, width, in slow_read_depth_stencil_pixels_separate()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c558 struct intel_renderbuffer *stencilRb = in intel_validate_framebuffer() local
569 if (stencilRb) in intel_validate_framebuffer()
570 stencil_mt = stencilRb->mt; in intel_validate_framebuffer()
578 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
579 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
585 stencilRb->mt_level, in intel_validate_framebuffer()
586 stencilRb->mt_layer); in intel_validate_framebuffer()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fbo.c653 struct brw_renderbuffer *stencilRb = in brw_validate_framebuffer() local
664 if (stencilRb) { in brw_validate_framebuffer()
665 stencil_mt = stencilRb->mt; in brw_validate_framebuffer()
692 depthRb->mt_level != stencilRb->mt_level || in brw_validate_framebuffer()
693 depthRb->mt_layer != stencilRb->mt_layer) { in brw_validate_framebuffer()
704 if (depthRb->mt_level != stencilRb->mt_level || in brw_validate_framebuffer()
705 depthRb->mt_layer != stencilRb->mt_layer) { in brw_validate_framebuffer()
711 stencilRb->mt_level, in brw_validate_framebuffer()
712 stencilRb->mt_layer); in brw_validate_framebuffer()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c431 struct gl_renderbuffer *stencilRb in st_Clear() local
492 struct st_renderbuffer *strb = st_renderbuffer(stencilRb); in st_Clear()
494 if (strb->surface && !is_stencil_disabled(ctx, stencilRb)) { in st_Clear()
495 bool scissor = is_scissor_enabled(ctx, stencilRb); in st_Clear()
498 is_stencil_masked(ctx, stencilRb)) in st_Clear()