Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c158 struct pipe_surface *zsurf, *cbsurf, surf_tmpl; in r600_blit_decompress_depth() local
170 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth()
177 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, cbsurf, 1 << sample, in r600_blit_decompress_depth()
181 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth()
206 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in r600_blit_decompress_depth_in_place() local
237 zsurf = rctx->b.b.create_surface(&rctx->b.b, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth_in_place()
240 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, NULL, ~0, in r600_blit_decompress_depth_in_place()
244 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth_in_place()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c134 struct pipe_surface *zsurf, *cbsurf; in si_blit_dbcb_copy() local
140 zsurf = sctx->b.b.create_surface(&sctx->b.b, &src->resource.b.b, &surf_tmpl); in si_blit_dbcb_copy()
152 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, cbsurf, 1 << sample, in si_blit_dbcb_copy()
157 pipe_surface_reference(&zsurf, NULL); in si_blit_dbcb_copy()
206 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in si_blit_decompress_zs_planes_in_place() local
235 zsurf = sctx->b.b.create_surface(&sctx->b.b, &texture->resource.b.b, &surf_tmpl); in si_blit_decompress_zs_planes_in_place()
238 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, NULL, ~0, in si_blit_decompress_zs_planes_in_place()
243 pipe_surface_reference(&zsurf, NULL); in si_blit_decompress_zs_planes_in_place()
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c2110 struct pipe_surface *zsurf, in util_blitter_custom_depth_stencil() argument
2119 assert(zsurf->texture); in util_blitter_custom_depth_stencil()
2120 if (!zsurf->texture) in util_blitter_custom_depth_stencil()
2141 fb_state.width = zsurf->width; in util_blitter_custom_depth_stencil()
2142 fb_state.height = zsurf->height; in util_blitter_custom_depth_stencil()
2151 fb_state.zsbuf = zsurf; in util_blitter_custom_depth_stencil()
2156 blitter_set_dst_dimensions(ctx, zsurf->width, zsurf->height); in util_blitter_custom_depth_stencil()
2157 blitter->draw_rectangle(blitter, 0, 0, zsurf->width, zsurf->height, depth, in util_blitter_custom_depth_stencil()
Du_blitter.h350 struct pipe_surface *zsurf,
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c337 struct virgl_surface *zsurf = virgl_surface(state->zsbuf); in virgl_encoder_set_framebuffer_state() local
342 virgl_encoder_write_dword(ctx->cbuf, zsurf ? zsurf->handle : 0); in virgl_encoder_set_framebuffer_state()