Searched refs:depthRb (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/mesa/swrast/ |
D | s_renderbuffer.c | 591 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_map_renderbuffers() local 594 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers() 595 if (depthRb) { in _swrast_map_renderbuffers() 601 if (stencilRb && stencilRb != depthRb) { in _swrast_map_renderbuffers() 622 struct gl_renderbuffer *depthRb, *stencilRb; in _swrast_unmap_renderbuffers() local 625 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_unmap_renderbuffers() 626 if (depthRb) { in _swrast_unmap_renderbuffers() 632 if (stencilRb && stencilRb != depthRb) { in _swrast_unmap_renderbuffers()
|
D | s_drawpix.c | 641 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local 652 depthRb = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in draw_depth_stencil_pixels() 654 assert(depthRb); in draw_depth_stencil_pixels() 657 if (depthRb == stencilRb && in draw_depth_stencil_pixels() 658 (depthRb->Format == MESA_FORMAT_S8_UINT_Z24_UNORM || in draw_depth_stencil_pixels() 659 depthRb->Format == MESA_FORMAT_Z24_UNORM_S8_UINT) && in draw_depth_stencil_pixels() 700 GLubyte *dst = _swrast_pixel_address(depthRb, x, y + i); in draw_depth_stencil_pixels() 701 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst); in draw_depth_stencil_pixels()
|
D | s_clear.c | 314 struct gl_renderbuffer *depthRb = in _swrast_Clear() local 319 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) { in _swrast_Clear()
|
D | s_triangle.c | 1013 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()
|
/third_party/mesa3d/src/mesa/main/ |
D | readpix.c | 694 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local 699 if (_mesa_get_format_datatype(depthRb->Format) != GL_UNSIGNED_NORMALIZED) in fast_read_depth_stencil_pixels_separate() 702 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate() 712 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate() 721 _mesa_unpack_uint_z_row(depthRb->Format, width, depthMap, dst); in fast_read_depth_stencil_pixels_separate() 740 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate() 755 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local 766 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate() 773 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate() 778 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in slow_read_depth_stencil_pixels_separate() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_fbo.c | 651 struct brw_renderbuffer *depthRb = in brw_validate_framebuffer() local 662 if (depthRb) in brw_validate_framebuffer() 663 depth_mt = depthRb->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() 709 depthRb->mt_level, in brw_validate_framebuffer() 710 depthRb->mt_layer, in brw_validate_framebuffer() 725 if (devinfo->ver < 7 && !brw_renderbuffer_has_hiz(depthRb)) { in brw_validate_framebuffer()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 556 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()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 429 struct gl_renderbuffer *depthRb in st_Clear() local 479 struct st_renderbuffer *strb = st_renderbuffer(depthRb); in st_Clear() 482 bool scissor = is_scissor_enabled(ctx, depthRb); in st_Clear()
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_context.c | 65 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()
|