Home
last modified time | relevance | path

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

123

/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c304 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_renderbuffer()
323 _mesa_attach_and_own_rb(fb, BUFFER_DEPTH, rb); in add_depth_renderbuffer()
373 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_stencil_renderbuffer()
385 _mesa_attach_and_own_rb(fb, BUFFER_DEPTH, rb); in add_depth_stencil_renderbuffer()
649 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers()
652 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.c237 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in copy_depth_pixels()
456 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
457 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
462 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
463 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
582 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()
420 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_depth_bounds_test()
547 ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_clear_depth_buffer()
676 ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_clear_depth_stencil_buffer()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
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()
Dnouveau_screen.c273 _mesa_attach_and_own_rb(fb, BUFFER_DEPTH, rb); in nouveau_create_buffer()
278 _mesa_attach_and_own_rb(fb, BUFFER_DEPTH, rb); in nouveau_create_buffer()
282 _mesa_attach_and_own_rb(fb, BUFFER_DEPTH, rb); in nouveau_create_buffer()
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()
Dnouveau_context.c282 index = BUFFER_DEPTH; in nouveau_update_renderbuffers()
299 if (index == BUFFER_DEPTH && s->bo) { in nouveau_update_renderbuffers()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clear.c48 [BUFFER_DEPTH] = "depth",
107 intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_fast_clear_depth()
109 struct gl_renderbuffer_attachment *depth_att = &fb->Attachment[BUFFER_DEPTH]; in brw_fast_clear_depth()
Dintel_pixel_copy.c79 draw_irb = intel_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
81 intel_renderbuffer(read_fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
Dgen8_depth_state.c154 irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in gen8_emit_depth_stencil_hiz()
230 intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH); in pma_fix_enable()
Dbrw_misc_state.c108 struct intel_renderbuffer *drb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_depthbuffer_format()
204 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_workaround_depthstencil_alignment()
264 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_emit_depthbuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_clear.c48 [BUFFER_DEPTH] = "depth",
154 const struct intel_region *irb = intel_get_rb_region(fb, BUFFER_DEPTH); in intelClear()
Dintel_pixel_copy.c80 draw_irb = intel_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
82 intel_renderbuffer(read_fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c406 depth_rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
434 if (radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH)) in radeon_update_renderbuffers()
466 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
470 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
622 &(radeon_get_renderbuffer(drfb, BUFFER_DEPTH)->base.Base)); in radeonMakeCurrent()
Dradeon_screen.c691 _mesa_attach_and_own_rb(&rfb->base, BUFFER_DEPTH, &depthStencilRb->base.Base); in radeonCreateBuffer()
698 _mesa_attach_and_own_rb(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
705 _mesa_attach_and_own_rb(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
736 rb = radeon_get_renderbuffer(&rfb->base, BUFFER_DEPTH); in radeon_cleanup_renderbuffers()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c406 depth_rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
434 if (radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH)) in radeon_update_renderbuffers()
466 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
470 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); in radeon_update_renderbuffers()
622 &(radeon_get_renderbuffer(drfb, BUFFER_DEPTH)->base.Base)); in radeonMakeCurrent()
Dradeon_screen.c691 _mesa_attach_and_own_rb(&rfb->base, BUFFER_DEPTH, &depthStencilRb->base.Base); in radeonCreateBuffer()
698 _mesa_attach_and_own_rb(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
705 _mesa_attach_and_own_rb(&rfb->base, BUFFER_DEPTH, &depth->base.Base); in radeonCreateBuffer()
736 rb = radeon_get_renderbuffer(&rfb->base, BUFFER_DEPTH); in radeon_cleanup_renderbuffers()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c95 index = BUFFER_DEPTH; in attachment_to_buffer_index()
131 case BUFFER_DEPTH: in buffer_index_to_attachment()
307 idx = BUFFER_DEPTH; in st_framebuffer_add_renderbuffer()
310 case BUFFER_DEPTH: in st_framebuffer_add_renderbuffer()
333 if (idx != BUFFER_DEPTH) { in st_framebuffer_add_renderbuffer()
340 _mesa_attach_and_own_rb(&stfb->Base, BUFFER_DEPTH, rb); in st_framebuffer_add_renderbuffer()
493 st_framebuffer_add_renderbuffer(stfb, BUFFER_DEPTH); in st_framebuffer_create()
/external/mesa3d/src/mesa/main/
Dframebuffer.c476 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in _mesa_update_framebuffer_visual()
478 fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _mesa_update_framebuffer_visual()
737 if (att[BUFFER_DEPTH].Type == GL_NONE) { in renderbuffer_exists()
748 if (att[BUFFER_DEPTH].Type == GL_NONE || in renderbuffer_exists()
924 return rfb->Attachment[BUFFER_DEPTH].Renderbuffer; in _mesa_get_read_renderbuffer_for_format()
Dblit.c306 readFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer()
308 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer()
501 readFb->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_framebuffer()
503 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_framebuffer()
Dreadpix.c272 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in read_uint_depth_pixels()
319 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in read_depth_pixels()
640 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels()
684 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate()
745 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate()
Dfbobject.c274 return &fb->Attachment[BUFFER_DEPTH]; in get_attachment()
306 return &fb->Attachment[BUFFER_DEPTH]; in get_fb0_attachment()
373 return &fb->Attachment[BUFFER_DEPTH]; in get_fb0_attachment()
637 &fb->Attachment[BUFFER_DEPTH]; in _mesa_has_depthstencil_combined()
1014 att = &fb->Attachment[BUFFER_DEPTH]; in _mesa_test_framebuffer_completeness()
3311 reuse_framebuffer_texture_attachment(fb, BUFFER_DEPTH, in _mesa_framebuffer_texture()
3314 texObj == fb->Attachment[BUFFER_DEPTH].Texture && in _mesa_framebuffer_texture()
3315 level == fb->Attachment[BUFFER_DEPTH].TextureLevel && in _mesa_framebuffer_texture()
3317 fb->Attachment[BUFFER_DEPTH].CubeMapFace && in _mesa_framebuffer_texture()
3318 layer == fb->Attachment[BUFFER_DEPTH].Zoffset) { in _mesa_framebuffer_texture()
[all …]

123