Home
last modified time | relevance | path

Searched refs:depthRb (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c648 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_map_renderbuffers() local
651 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers()
652 if (depthRb) { in _swrast_map_renderbuffers()
658 if (stencilRb && stencilRb != depthRb) { in _swrast_map_renderbuffers()
679 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_unmap_renderbuffers() local
682 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_unmap_renderbuffers()
683 if (depthRb) { in _swrast_unmap_renderbuffers()
689 if (stencilRb && stencilRb != depthRb) { in _swrast_unmap_renderbuffers()
Ds_drawpix.c616 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local
627 depthRb = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in draw_depth_stencil_pixels()
629 assert(depthRb); in draw_depth_stencil_pixels()
632 if (depthRb == stencilRb && in draw_depth_stencil_pixels()
633 (depthRb->Format == MESA_FORMAT_S8_UINT_Z24_UNORM || in draw_depth_stencil_pixels()
634 depthRb->Format == MESA_FORMAT_Z24_UNORM_S8_UINT) && in draw_depth_stencil_pixels()
675 GLubyte *dst = _swrast_pixel_address(depthRb, x, y + i); in draw_depth_stencil_pixels()
676 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst); in draw_depth_stencil_pixels()
Ds_clear.c315 struct gl_renderbuffer *depthRb = in _swrast_Clear() local
320 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) { in _swrast_Clear()
Ds_triangle.c1013 struct gl_renderbuffer *depthRb = in _swrast_choose_triangle() local
1028 depthRb && in _swrast_choose_triangle()
1029 depthRb->Format == MESA_FORMAT_Z_UNORM16) { in _swrast_choose_triangle()
/external/mesa3d/src/mesa/main/
Dreadpix.c686 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local
691 if (_mesa_get_format_datatype(depthRb->Format) != GL_UNSIGNED_NORMALIZED) in fast_read_depth_stencil_pixels_separate()
694 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate()
704 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate()
713 _mesa_unpack_uint_z_row(depthRb->Format, width, depthMap, dst); in fast_read_depth_stencil_pixels_separate()
732 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate()
747 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local
758 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate()
765 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate()
770 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in slow_read_depth_stencil_pixels_separate()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c653 struct intel_renderbuffer *depthRb = in intel_validate_framebuffer() local
664 if (depthRb) in intel_validate_framebuffer()
665 depth_mt = depthRb->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()
711 depthRb->mt_level, in intel_validate_framebuffer()
712 depthRb->mt_layer, in intel_validate_framebuffer()
727 if (devinfo->gen < 7 && !intel_renderbuffer_has_hiz(depthRb)) { in intel_validate_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c556 struct intel_renderbuffer *depthRb = in intel_validate_framebuffer() local
567 if (depthRb) in intel_validate_framebuffer()
568 depth_mt = depthRb->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()
583 depthRb->mt_level, in intel_validate_framebuffer()
584 depthRb->mt_layer, in intel_validate_framebuffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c429 struct gl_renderbuffer *depthRb in st_Clear() local
479 struct st_renderbuffer *strb = st_renderbuffer(depthRb); in st_Clear()
482 if (is_scissor_enabled(ctx, depthRb) || in st_Clear()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_context.c65 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in nv10_use_viewport_zclear() local
68 !nctx->hierz.clear_blocked && depthRb && in nv10_use_viewport_zclear()
69 (_mesa_get_format_bits(depthRb->Format, in nv10_use_viewport_zclear()