Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c646 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_map_renderbuffers() local
649 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers()
650 if (depthRb) { in _swrast_map_renderbuffers()
656 if (stencilRb && stencilRb != depthRb) { in _swrast_map_renderbuffers()
677 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_unmap_renderbuffers() local
680 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_unmap_renderbuffers()
681 if (depthRb) { in _swrast_unmap_renderbuffers()
687 if (stencilRb && stencilRb != depthRb) { in _swrast_unmap_renderbuffers()
Ds_drawpix.c608 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local
619 depthRb = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in draw_depth_stencil_pixels()
621 assert(depthRb); in draw_depth_stencil_pixels()
624 if (depthRb == stencilRb && in draw_depth_stencil_pixels()
625 (depthRb->Format == MESA_FORMAT_S8_UINT_Z24_UNORM || in draw_depth_stencil_pixels()
626 depthRb->Format == MESA_FORMAT_Z24_UNORM_S8_UINT) && in draw_depth_stencil_pixels()
667 GLubyte *dst = _swrast_pixel_address(depthRb, x, y + i); in draw_depth_stencil_pixels()
668 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst); in draw_depth_stencil_pixels()
Ds_clear.c238 struct gl_renderbuffer *depthRb = in _swrast_Clear() local
243 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.c684 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local
689 if (_mesa_get_format_datatype(depthRb->Format) != GL_UNSIGNED_NORMALIZED) in fast_read_depth_stencil_pixels_separate()
692 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate()
702 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate()
711 _mesa_unpack_uint_z_row(depthRb->Format, width, depthMap, dst); in fast_read_depth_stencil_pixels_separate()
730 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate()
745 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local
756 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate()
763 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate()
768 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in slow_read_depth_stencil_pixels_separate()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c639 struct intel_renderbuffer *depthRb = in intel_validate_framebuffer() local
650 if (depthRb) in intel_validate_framebuffer()
651 depth_mt = depthRb->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()
697 depthRb->mt_level, in intel_validate_framebuffer()
698 depthRb->mt_layer, in intel_validate_framebuffer()
712 if (devinfo->gen < 7 && !intel_renderbuffer_has_hiz(depthRb)) { in intel_validate_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c551 struct intel_renderbuffer *depthRb = in intel_validate_framebuffer() local
562 if (depthRb) in intel_validate_framebuffer()
563 depth_mt = depthRb->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()
578 depthRb->mt_level, in intel_validate_framebuffer()
579 depthRb->mt_layer, in intel_validate_framebuffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c399 struct gl_renderbuffer *depthRb in st_Clear() local
440 struct st_renderbuffer *strb = st_renderbuffer(depthRb); in st_Clear()
443 if (is_scissor_enabled(ctx, depthRb) || in st_Clear()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_context.c64 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in nv10_use_viewport_zclear() local
67 !nctx->hierz.clear_blocked && depthRb && in nv10_use_viewport_zclear()
68 (_mesa_get_format_bits(depthRb->Format, in nv10_use_viewport_zclear()