Home
last modified time | relevance | path

Searched refs:BUFFER_STENCIL (Results 1 – 25 of 49) sorted by relevance

12

/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c349 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_stencil_renderbuffer()
361 _mesa_attach_and_own_rb(fb, BUFFER_STENCIL, rb); in add_stencil_renderbuffer()
374 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_depth_stencil_renderbuffer()
386 _mesa_attach_and_reference_rb(fb, BUFFER_STENCIL, rb); in add_depth_stencil_renderbuffer()
655 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_map_renderbuffers()
658 map_attachment(ctx, fb, BUFFER_STENCIL); in _swrast_map_renderbuffers()
686 stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_unmap_renderbuffers()
689 unmap_attachment(ctx, fb, BUFFER_STENCIL); in _swrast_unmap_renderbuffers()
Ds_copypix.c339 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in copy_stencil_pixels()
452 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
453 dstRb = dstFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
479 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer || in swrast_fast_copy_pixels()
480 dstRb != dstFb->Attachment[BUFFER_STENCIL].Renderbuffer) in swrast_fast_copy_pixels()
585 rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in map_readbuffer()
Ds_stencil.c355 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_stencil_and_ztest_span()
500 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_write_stencil_span()
554 ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_clear_stencil_buffer()
Ds_clear.c241 ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in _swrast_Clear()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_clear.c49 [BUFFER_STENCIL] = "stencil",
134 = intel_get_rb_region(fb, BUFFER_STENCIL); in intelClear()
Dintel_blit.c393 bool is_depth_stencil = buf == BUFFER_DEPTH || buf == BUFFER_STENCIL; in intelClearWithBlit()
508 if (buf == BUFFER_DEPTH || buf == BUFFER_STENCIL) in intelClearWithBlit()
/external/mesa3d/src/mesa/main/
Dframebuffer.c484 if (fb->Attachment[BUFFER_STENCIL].Renderbuffer) { in _mesa_update_framebuffer_visual()
486 fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _mesa_update_framebuffer_visual()
743 if (att[BUFFER_STENCIL].Type == GL_NONE) { in renderbuffer_exists()
749 att[BUFFER_STENCIL].Type == GL_NONE) { in renderbuffer_exists()
926 return rfb->Attachment[BUFFER_STENCIL].Renderbuffer; in _mesa_get_read_renderbuffer_for_format()
Dblit.c260 readFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer()
262 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer()
481 readFb->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_framebuffer()
483 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_framebuffer()
Dfbobject.c276 return &fb->Attachment[BUFFER_STENCIL]; in get_attachment()
308 return &fb->Attachment[BUFFER_STENCIL]; in get_fb0_attachment()
375 return &fb->Attachment[BUFFER_STENCIL]; in get_fb0_attachment()
639 &fb->Attachment[BUFFER_STENCIL]; in _mesa_has_depthstencil_combined()
1025 att = &fb->Attachment[BUFFER_STENCIL]; in _mesa_test_framebuffer_completeness()
3301 texObj == fb->Attachment[BUFFER_STENCIL].Texture && in _mesa_framebuffer_texture()
3302 level == fb->Attachment[BUFFER_STENCIL].TextureLevel && in _mesa_framebuffer_texture()
3304 fb->Attachment[BUFFER_STENCIL].CubeMapFace && in _mesa_framebuffer_texture()
3305 layer == fb->Attachment[BUFFER_STENCIL].Zoffset) { in _mesa_framebuffer_texture()
3312 BUFFER_STENCIL); in _mesa_framebuffer_texture()
[all …]
Drenderbuffer.c123 bufferName == BUFFER_STENCIL || in validate_and_init_renderbuffer_attachment()
Dreadpix.c383 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in read_stencil_pixels()
641 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels()
685 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels_separate()
746 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in slow_read_depth_stencil_pixels_separate()
Dclear.c367 else if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer in clear_bufferiv()
700 if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer) in clear_bufferfi()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clear.c49 [BUFFER_STENCIL] = "stencil",
290 intel_get_renderbuffer(fb, BUFFER_STENCIL); in brw_clear()
Dbrw_misc_state.c112 (srb = intel_get_renderbuffer(fb, BUFFER_STENCIL)) && in brw_depthbuffer_format()
205 struct intel_renderbuffer *stencil_irb = intel_get_renderbuffer(fb, BUFFER_STENCIL); in brw_workaround_depthstencil_alignment()
265 struct intel_renderbuffer *stencil_irb = intel_get_renderbuffer(fb, BUFFER_STENCIL); in brw_emit_depthbuffer()
Dgen6_depth_state.c72 irb = intel_get_renderbuffer(fb, BUFFER_STENCIL); in gen6_emit_depth_stencil_hiz()
Dgen7_misc_state.c65 irb = intel_get_renderbuffer(fb, BUFFER_STENCIL); in gen7_emit_depth_stencil_hiz()
Dgen8_depth_state.c156 irb = intel_get_renderbuffer(fb, BUFFER_STENCIL); in gen8_emit_depth_stencil_hiz()
Dbrw_blorp.c599 intel_renderbuffer(read_fb->Attachment[BUFFER_STENCIL].Renderbuffer); in try_blorp_blit()
601 intel_renderbuffer(draw_fb->Attachment[BUFFER_STENCIL].Renderbuffer); in try_blorp_blit()
715 src_rb = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in brw_blorp_copytexsubimage()
1349 fb->Attachment[BUFFER_STENCIL].Renderbuffer; in brw_blorp_clear_depth_stencil()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c407 stencil_rb = radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL); in radeon_update_renderbuffers()
436 if (radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL)) in radeon_update_renderbuffers()
474 rb = radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL); in radeon_update_renderbuffers()
554 rb = radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL); in radeon_update_renderbuffers()
Dradeon_common.c277 if (fb->Attachment[BUFFER_STENCIL].Renderbuffer) { in radeon_draw_buffer()
278 rrbStencil = radeon_renderbuffer(fb->Attachment[BUFFER_STENCIL].Renderbuffer); in radeon_draw_buffer()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c407 stencil_rb = radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL); in radeon_update_renderbuffers()
436 if (radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL)) in radeon_update_renderbuffers()
474 rb = radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL); in radeon_update_renderbuffers()
554 rb = radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL); in radeon_update_renderbuffers()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c277 st_renderbuffer(readFB->Attachment[BUFFER_STENCIL].Renderbuffer); in st_BlitFramebuffer()
279 st_renderbuffer(drawFB->Attachment[BUFFER_STENCIL].Renderbuffer); in st_BlitFramebuffer()
Dst_atom_framebuffer.c184 strb = st_renderbuffer(fb->Attachment[BUFFER_STENCIL].Renderbuffer); in st_update_framebuffer_state()
Dst_manager.c306 if (idx == BUFFER_STENCIL) in st_framebuffer_add_renderbuffer()
346 _mesa_attach_and_reference_rb(&stfb->Base, BUFFER_STENCIL, rb); in st_framebuffer_add_renderbuffer()
348 _mesa_attach_and_own_rb(&stfb->Base, BUFFER_STENCIL, rb); in st_framebuffer_add_renderbuffer()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c274 _mesa_attach_and_reference_rb(fb, BUFFER_STENCIL, rb); in nouveau_create_buffer()

12