Home
last modified time | relevance | path

Searched refs:BUFFER_DEPTH (Results 1 – 25 of 67) sorted by relevance

123

/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c306 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_renderbuffer()
325 _mesa_add_renderbuffer(fb, BUFFER_DEPTH, rb); in add_depth_renderbuffer()
375 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_stencil_renderbuffer()
387 _mesa_add_renderbuffer(fb, BUFFER_DEPTH, rb); in add_depth_stencil_renderbuffer()
651 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers()
654 map_attachment(ctx, fb, BUFFER_DEPTH); in _swrast_map_renderbuffers()
680 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_unmap_renderbuffers()
683 unmap_attachment(ctx, fb, BUFFER_DEPTH); in _swrast_unmap_renderbuffers()
Ds_copypix.c248 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in copy_depth_pixels()
467 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
468 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
473 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
474 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
593 rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in map_readbuffer()
Ds_depth.c286 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_depth_test_span()
414 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_depth_bounds_test()
531 ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_clear_depth_buffer()
660 ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_clear_depth_stencil_buffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c95 srcDepth = &ctx->ReadBuffer->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer_resolve()
96 dstDepth = &ctx->DrawBuffer->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer_resolve()
269 &readFB->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer()
271 &drawFB->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer()
278 st_renderbuffer(readFB->Attachment[BUFFER_DEPTH].Renderbuffer); in st_BlitFramebuffer()
280 st_renderbuffer(drawFB->Attachment[BUFFER_DEPTH].Renderbuffer); in st_BlitFramebuffer()
Dst_manager.c94 index = BUFFER_DEPTH; in attachment_to_buffer_index()
129 case BUFFER_DEPTH: in buffer_index_to_attachment()
296 idx = BUFFER_DEPTH; in st_framebuffer_add_renderbuffer()
299 case BUFFER_DEPTH: in st_framebuffer_add_renderbuffer()
324 if (idx != BUFFER_DEPTH) { in st_framebuffer_add_renderbuffer()
329 _mesa_add_renderbuffer(&stfb->Base, BUFFER_DEPTH, rb); in st_framebuffer_add_renderbuffer()
437 st_framebuffer_add_renderbuffer(stfb, BUFFER_DEPTH); in st_framebuffer_create()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c188 _mesa_add_renderbuffer(fb, BUFFER_DEPTH, rb); in nouveau_create_buffer()
193 _mesa_add_renderbuffer(fb, BUFFER_DEPTH, rb); in nouveau_create_buffer()
197 _mesa_add_renderbuffer(fb, BUFFER_DEPTH, rb); in nouveau_create_buffer()
Dnouveau_span.c56 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) in framebuffer_map_unmap()
57 renderbuffer_map_unmap(ctx, fb->Attachment[BUFFER_DEPTH].Renderbuffer, map); in framebuffer_map_unmap()
Dnv04_state_fb.c78 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in nv04_emit_framebuffer()
80 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv04_emit_framebuffer()
Dnv20_state_fb.c106 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in nv20_emit_framebuffer()
108 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv20_emit_framebuffer()
Dnv10_state_fb.c132 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in nv10_emit_framebuffer()
134 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv10_emit_framebuffer()
Dnv10_context.c64 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in nv10_use_viewport_zclear()
101 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv10_zclear()
151 nfb->base.Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv17_zclear()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_clear.c48 [BUFFER_DEPTH] = "depth",
152 const struct intel_region *irb = intel_get_rb_region(fb, BUFFER_DEPTH); in intelClear()
Dintel_pixel_copy.c108 draw_irb = intel_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
110 intel_renderbuffer(read_fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clear.c50 [BUFFER_DEPTH] = "depth",
97 intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_fast_clear_depth()
Dintel_pixel_copy.c108 draw_irb = intel_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
110 intel_renderbuffer(read_fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
Dgen6_depthstencil.c40 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH); in gen6_upload_depth_stencil_state()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c387 depth_rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
415 if (radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH)) in radeon_update_renderbuffers()
447 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
451 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
603 &(radeon_get_renderbuffer(drfb, BUFFER_DEPTH)->base.Base)); in radeonMakeCurrent()
Dradeon_screen.c639 _mesa_add_renderbuffer(&rfb->base, BUFFER_DEPTH, &depthStencilRb->base.Base); in radeonCreateBuffer()
646 _mesa_add_renderbuffer(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
653 _mesa_add_renderbuffer(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
684 rb = radeon_get_renderbuffer(&rfb->base, BUFFER_DEPTH); in radeon_cleanup_renderbuffers()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c387 depth_rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
415 if (radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH)) in radeon_update_renderbuffers()
447 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
451 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
603 &(radeon_get_renderbuffer(drfb, BUFFER_DEPTH)->base.Base)); in radeonMakeCurrent()
Dradeon_screen.c639 _mesa_add_renderbuffer(&rfb->base, BUFFER_DEPTH, &depthStencilRb->base.Base); in radeonCreateBuffer()
646 _mesa_add_renderbuffer(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
653 _mesa_add_renderbuffer(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
684 rb = radeon_get_renderbuffer(&rfb->base, BUFFER_DEPTH); in radeon_cleanup_renderbuffers()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel_copy.c108 draw_irb = intel_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
110 intel_renderbuffer(read_fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
/external/mesa3d/src/mesa/main/
Dfbobject.c228 return &fb->Attachment[BUFFER_DEPTH]; in _mesa_get_attachment()
287 return &fb->Attachment[BUFFER_DEPTH]; in _mesa_get_fb0_attachment()
713 att = &fb->Attachment[BUFFER_DEPTH]; in _mesa_test_framebuffer_completeness()
2108 reuse_framebuffer_texture_attachment(fb, BUFFER_DEPTH, in framebuffer_texture()
2111 texObj == fb->Attachment[BUFFER_DEPTH].Texture && in framebuffer_texture()
2112 level == fb->Attachment[BUFFER_DEPTH].TextureLevel && in framebuffer_texture()
2114 fb->Attachment[BUFFER_DEPTH].CubeMapFace && in framebuffer_texture()
2115 zoffset == fb->Attachment[BUFFER_DEPTH].Zoffset) { in framebuffer_texture()
2118 BUFFER_DEPTH); in framebuffer_texture()
2127 assert(att == &fb->Attachment[BUFFER_DEPTH]); in framebuffer_texture()
[all …]
Dframebuffer.c554 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in _mesa_update_framebuffer_visual()
556 fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _mesa_update_framebuffer_visual()
815 if (att[BUFFER_DEPTH].Type == GL_NONE) { in renderbuffer_exists()
826 if (att[BUFFER_DEPTH].Type == GL_NONE || in renderbuffer_exists()
Dreadpix.c61 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_pixels()
117 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in read_depth_pixels()
422 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels()
466 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate()
527 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate()
Drenderbuffer.c106 assert(bufferName == BUFFER_DEPTH || in _mesa_add_renderbuffer()

123