Home
last modified time | relevance | path

Searched refs:zsurf (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c163 struct pipe_surface *zsurf, *cbsurf, surf_tmpl; in r600_blit_decompress_depth() local
175 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth()
182 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, cbsurf, 1 << sample, in r600_blit_decompress_depth()
186 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth()
211 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in r600_blit_decompress_depth_in_place() local
242 zsurf = rctx->b.b.create_surface(&rctx->b.b, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth_in_place()
245 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, NULL, ~0, in r600_blit_decompress_depth_in_place()
249 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth_in_place()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c137 struct pipe_surface *zsurf, *cbsurf; in si_blit_dbcb_copy() local
143 zsurf = sctx->b.create_surface(&sctx->b, &src->buffer.b.b, &surf_tmpl); in si_blit_dbcb_copy()
155 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, cbsurf, 1 << sample, in si_blit_dbcb_copy()
160 pipe_surface_reference(&zsurf, NULL); in si_blit_dbcb_copy()
184 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in si_blit_decompress_zs_planes_in_place() local
215 zsurf = sctx->b.create_surface(&sctx->b, &texture->buffer.b.b, &surf_tmpl); in si_blit_decompress_zs_planes_in_place()
218 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, NULL, ~0, sctx->custom_dsa_flush, in si_blit_decompress_zs_planes_in_place()
222 pipe_surface_reference(&zsurf, NULL); in si_blit_decompress_zs_planes_in_place()
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c2416 struct pipe_surface *zsurf, in util_blitter_custom_depth_stencil() argument
2425 assert(zsurf->texture); in util_blitter_custom_depth_stencil()
2426 if (!zsurf->texture) in util_blitter_custom_depth_stencil()
2446 fb_state.width = zsurf->width; in util_blitter_custom_depth_stencil()
2447 fb_state.height = zsurf->height; in util_blitter_custom_depth_stencil()
2456 fb_state.zsbuf = zsurf; in util_blitter_custom_depth_stencil()
2462 blitter_set_dst_dimensions(ctx, zsurf->width, zsurf->height); in util_blitter_custom_depth_stencil()
2464 0, 0, zsurf->width, zsurf->height, depth, in util_blitter_custom_depth_stencil()
Du_blitter.h377 struct pipe_surface *zsurf,
/external/virglrenderer/tests/
Dtestvirgl_encode.c323 struct virgl_surface *zsurf = (struct virgl_surface *)state->zsbuf; in virgl_encoder_set_framebuffer_state() local
328 virgl_encoder_write_dword(ctx->cbuf, zsurf ? zsurf->handle : 0); in virgl_encoder_set_framebuffer_state()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c623 struct virgl_surface *zsurf = virgl_surface(state->zsbuf); in virgl_encoder_set_framebuffer_state() local
628 virgl_encoder_write_dword(ctx->cbuf, zsurf ? zsurf->handle : 0); in virgl_encoder_set_framebuffer_state()
/external/virglrenderer/src/
Dvrend_renderer.c621 struct vrend_surface *zsurf; member
2398 struct vrend_surface *surf = ctx->sub->zsurf; in vrend_hw_set_zsurf_texture()
2494 struct vrend_surface *surf, *zsurf; in vrend_set_framebuffer_state() local
2506 zsurf = vrend_object_lookup(sub_ctx->object_hash, zsurf_handle, VIRGL_OBJECT_SURFACE); in vrend_set_framebuffer_state()
2507 if (!zsurf) { in vrend_set_framebuffer_state()
2512 zsurf = NULL; in vrend_set_framebuffer_state()
2514 if (sub_ctx->zsurf != zsurf) { in vrend_set_framebuffer_state()
2515 vrend_surface_reference(&sub_ctx->zsurf, zsurf); in vrend_set_framebuffer_state()
2547 if (sub_ctx->nr_cbufs == 0 && !sub_ctx->zsurf) { in vrend_set_framebuffer_state()
2551 new_height = u_minify(sub_ctx->zsurf->texture->base.height0, sub_ctx->zsurf->val0); in vrend_set_framebuffer_state()
[all …]