Lines Matching refs:dstsurf
2117 struct pipe_surface *dstsurf, in util_blitter_clear_render_target() argument
2127 assert(dstsurf->texture); in util_blitter_clear_render_target()
2128 if (!dstsurf->texture) in util_blitter_clear_render_target()
2144 fb_state.width = dstsurf->width; in util_blitter_clear_render_target()
2145 fb_state.height = dstsurf->height; in util_blitter_clear_render_target()
2147 fb_state.cbufs[0] = dstsurf; in util_blitter_clear_render_target()
2152 blitter_set_dst_dimensions(ctx, dstsurf->width, dstsurf->height); in util_blitter_clear_render_target()
2157 num_layers = dstsurf->u.tex.last_layer - dstsurf->u.tex.first_layer + 1; in util_blitter_clear_render_target()
2180 struct pipe_surface *dstsurf, in util_blitter_clear_depth_stencil() argument
2193 assert(dstsurf->texture); in util_blitter_clear_depth_stencil()
2194 if (!dstsurf->texture) in util_blitter_clear_depth_stencil()
2226 fb_state.width = dstsurf->width; in util_blitter_clear_depth_stencil()
2227 fb_state.height = dstsurf->height; in util_blitter_clear_depth_stencil()
2230 fb_state.zsbuf = dstsurf; in util_blitter_clear_depth_stencil()
2234 blitter_set_dst_dimensions(ctx, dstsurf->width, dstsurf->height); in util_blitter_clear_depth_stencil()
2236 num_layers = dstsurf->u.tex.last_layer - dstsurf->u.tex.first_layer + 1; in util_blitter_clear_depth_stencil()
2467 struct pipe_surface *srcsurf, *dstsurf, surf_tmpl; in util_blitter_custom_resolve_color() local
2486 dstsurf = pipe->create_surface(pipe, dst, &surf_tmpl); in util_blitter_custom_resolve_color()
2499 fb_state.cbufs[1] = dstsurf; in util_blitter_custom_resolve_color()
2515 pipe_surface_reference(&dstsurf, NULL); in util_blitter_custom_resolve_color()
2519 struct pipe_surface *dstsurf, in util_blitter_custom_color() argument
2526 assert(dstsurf->texture); in util_blitter_custom_color()
2527 if (!dstsurf->texture) in util_blitter_custom_color()
2542 pipe->set_sample_mask(pipe, (1ull << MAX2(1, dstsurf->texture->nr_samples)) - 1); in util_blitter_custom_color()
2545 fb_state.width = dstsurf->width; in util_blitter_custom_color()
2546 fb_state.height = dstsurf->height; in util_blitter_custom_color()
2548 fb_state.cbufs[0] = dstsurf; in util_blitter_custom_color()
2554 blitter_set_dst_dimensions(ctx, dstsurf->width, dstsurf->height); in util_blitter_custom_color()
2556 0, 0, dstsurf->width, dstsurf->height, in util_blitter_custom_color()