Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c646 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_map_renderbuffers() local
655 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_map_renderbuffers()
656 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.c608 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local
620 stencilRb = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in draw_depth_stencil_pixels()
622 assert(stencilRb); in draw_depth_stencil_pixels()
624 if (depthRb == stencilRb && in draw_depth_stencil_pixels()
/external/mesa3d/src/mesa/main/
Dreadpix.c641 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels() local
645 if (rb != stencilRb) in fast_read_depth_stencil_pixels()
685 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local
699 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate()
712 _mesa_unpack_ubyte_stencil_row(stencilRb->Format, width, in fast_read_depth_stencil_pixels_separate()
731 ctx->Driver.UnmapRenderbuffer(ctx, stencilRb); in fast_read_depth_stencil_pixels_separate()
746 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local
763 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate()
764 ctx->Driver.MapRenderbuffer(ctx, stencilRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate()
784 _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.c553 struct intel_renderbuffer *stencilRb = in intel_validate_framebuffer() local
564 if (stencilRb) in intel_validate_framebuffer()
565 stencil_mt = stencilRb->mt; in intel_validate_framebuffer()
573 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
574 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
580 stencilRb->mt_level, in intel_validate_framebuffer()
581 stencilRb->mt_layer); in intel_validate_framebuffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c401 struct gl_renderbuffer *stencilRb in st_Clear() local
451 struct st_renderbuffer *strb = st_renderbuffer(stencilRb); in st_Clear()
453 if (strb->surface && !is_stencil_disabled(ctx, stencilRb)) { in st_Clear()
454 if (is_scissor_enabled(ctx, stencilRb) || in st_Clear()
456 is_stencil_masked(ctx, stencilRb)) in st_Clear()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c641 struct intel_renderbuffer *stencilRb = in intel_validate_framebuffer() local
652 if (stencilRb) { in intel_validate_framebuffer()
653 stencil_mt = stencilRb->mt; in intel_validate_framebuffer()
680 depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
681 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
692 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer()
693 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer()
699 stencilRb->mt_level, in intel_validate_framebuffer()
700 stencilRb->mt_layer); in intel_validate_framebuffer()