Lines Matching refs:dst

75 i915_surface_copy_render(struct pipe_context *pipe, struct pipe_resource *dst,
83 unsigned dst_width0 = dst->width0;
84 unsigned dst_height0 = dst->height0;
91 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER)
99 desc = util_format_description(dst->format);
103 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
106 if (!util_blitter_is_copy_supported(i915->blitter, dst, src))
111 dst_view = i915_create_surface_custom(pipe, dst, &dst_templ, dst_width0,
125 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, src,
131 struct pipe_surface *dst,
141 fb_state.width = dst->width;
142 fb_state.height = dst->height;
144 fb_state.cbufs[0] = dst;
161 struct pipe_surface *dst, unsigned clear_flags,
171 fb_state.width = dst->width;
172 fb_state.height = dst->height;
174 fb_state.zsbuf = dst;
196 i915_surface_copy_blitter(struct pipe_context *pipe, struct pipe_resource *dst,
202 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) {
203 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, src,
208 struct i915_texture *dst_tex = i915_texture(dst);
216 if (dst->target != PIPE_TEXTURE_CUBE && dst->target != PIPE_TEXTURE_3D)
270 util_format_short_name(info.dst.resource->format));
286 struct pipe_surface *dst,
291 struct i915_texture *tex = i915_texture(dst->texture);
295 i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer);
300 util_pack_color(color->f, dst->format, &uc);
309 struct pipe_surface *dst, unsigned clear_flags,
314 struct i915_texture *tex = i915_texture(dst->texture);
319 i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer);
324 packedds = util_pack_z_stencil(dst->format, depth, stencil);
332 (dst->format != PIPE_FORMAT_Z24_UNORM_S8_UINT))