/external/mesa3d/src/mesa/main/ |
D | readpix.c | 466 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate() local 471 if (_mesa_get_format_datatype(depthRb->Format) != GL_UNSIGNED_NORMALIZED) in fast_read_depth_stencil_pixels_separate() 474 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in fast_read_depth_stencil_pixels_separate() 484 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate() 493 _mesa_unpack_uint_z_row(depthRb->Format, width, depthMap, dst); in fast_read_depth_stencil_pixels_separate() 512 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in fast_read_depth_stencil_pixels_separate() 527 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate() local 538 ctx->Driver.MapRenderbuffer(ctx, depthRb, x, y, width, height, in slow_read_depth_stencil_pixels_separate() 545 if (stencilRb != depthRb) { in slow_read_depth_stencil_pixels_separate() 550 ctx->Driver.UnmapRenderbuffer(ctx, depthRb); in slow_read_depth_stencil_pixels_separate() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_renderbuffer.c | 648 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() 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()
|
D | s_drawpix.c | 560 struct gl_renderbuffer *depthRb, *stencilRb; in draw_depth_stencil_pixels() local 571 depthRb = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in draw_depth_stencil_pixels() 573 ASSERT(depthRb); in draw_depth_stencil_pixels() 576 if (depthRb == stencilRb && in draw_depth_stencil_pixels() 577 (depthRb->Format == MESA_FORMAT_Z24_S8 || in draw_depth_stencil_pixels() 578 depthRb->Format == MESA_FORMAT_S8_Z24) && in draw_depth_stencil_pixels() 619 GLubyte *dst = _swrast_pixel_address(depthRb, x, y + i); in draw_depth_stencil_pixels() 620 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst); in draw_depth_stencil_pixels()
|
D | s_clear.c | 238 struct gl_renderbuffer *depthRb = in _swrast_Clear() local 243 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) { in _swrast_Clear()
|
D | s_triangle.c | 1012 struct gl_renderbuffer *depthRb = in _swrast_choose_triangle() local 1027 depthRb && in _swrast_choose_triangle() 1028 depthRb->Format == MESA_FORMAT_Z16) { in _swrast_choose_triangle()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 452 struct gl_renderbuffer *depthRb in st_Clear() local 483 if ((mask & BUFFER_BITS_DS) == BUFFER_BITS_DS && depthRb == stencilRb) { in st_Clear() 485 struct st_renderbuffer *strb = st_renderbuffer(depthRb); in st_Clear() 488 if (check_clear_depth_stencil_with_quad(ctx, depthRb)) in st_Clear() 498 struct st_renderbuffer *strb = st_renderbuffer(depthRb); in st_Clear() 501 if (check_clear_depth_with_quad(ctx, depthRb, in st_Clear() 541 (depthRb == stencilRb) && in st_Clear()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_fbo.c | 695 const struct intel_renderbuffer *depthRb = in intel_validate_framebuffer() local 706 if (depthRb) in intel_validate_framebuffer() 707 depth_mt = depthRb->mt; in intel_validate_framebuffer() 720 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer() 721 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer() 723 depthRb->mt_level, in intel_validate_framebuffer() 724 depthRb->mt_layer, in intel_validate_framebuffer()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_fbo.c | 695 const struct intel_renderbuffer *depthRb = in intel_validate_framebuffer() local 706 if (depthRb) in intel_validate_framebuffer() 707 depth_mt = depthRb->mt; in intel_validate_framebuffer() 720 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer() 721 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer() 723 depthRb->mt_level, in intel_validate_framebuffer() 724 depthRb->mt_layer, in intel_validate_framebuffer()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 695 const struct intel_renderbuffer *depthRb = in intel_validate_framebuffer() local 706 if (depthRb) in intel_validate_framebuffer() 707 depth_mt = depthRb->mt; in intel_validate_framebuffer() 720 if (depthRb->mt_level != stencilRb->mt_level || in intel_validate_framebuffer() 721 depthRb->mt_layer != stencilRb->mt_layer) { in intel_validate_framebuffer() 723 depthRb->mt_level, in intel_validate_framebuffer() 724 depthRb->mt_layer, in intel_validate_framebuffer()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_context.c | 64 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()
|