Home
last modified time | relevance | path

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

/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()
679 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_unmap_renderbuffers() local
688 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_unmap_renderbuffers()
689 if (stencilRb && stencilRb != depthRb) { in _swrast_unmap_renderbuffers()
Ds_clear.c317 struct gl_renderbuffer *stencilRb = in _swrast_Clear() local
320 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) { in _swrast_Clear()
Ds_drawpix.c616 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local
628 stencilRb = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in draw_depth_stencil_pixels()
630 assert(stencilRb); in draw_depth_stencil_pixels()
632 if (depthRb == stencilRb && in draw_depth_stencil_pixels()
/external/mesa3d/src/mesa/main/
Dreadpix.c643 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels() local
647 if (rb != stencilRb) in fast_read_depth_stencil_pixels()
687 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local
701 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate()
714 _mesa_unpack_ubyte_stencil_row(stencilRb->Format, width, in fast_read_depth_stencil_pixels_separate()
733 ctx->Driver.UnmapRenderbuffer(ctx, stencilRb); in fast_read_depth_stencil_pixels_separate()
748 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local
765 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate()
766 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate()
786 _mesa_unpack_ubyte_stencil_row(stencilRb->Format, width, in slow_read_depth_stencil_pixels_separate()
[all …]
/external/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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c655 struct intel_renderbuffer *stencilRb = in intel_validate_framebuffer() local
666 if (stencilRb) { in intel_validate_framebuffer()
667 stencil_mt = stencilRb->mt; in intel_validate_framebuffer()
694 depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
695 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
706 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
707 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
713 stencilRb->mt_level, in intel_validate_framebuffer()
714 stencilRb->mt_layer); in intel_validate_framebuffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c431 struct gl_renderbuffer *stencilRb in st_Clear() local
490 struct st_renderbuffer *strb = st_renderbuffer(stencilRb); in st_Clear()
492 if (strb->surface && !is_stencil_disabled(ctx, stencilRb)) { in st_Clear()
493 if (is_scissor_enabled(ctx, stencilRb) || in st_Clear()
495 is_stencil_masked(ctx, stencilRb)) in st_Clear()