Lines Matching refs:surf

287                      struct pipe_surface *surf)  in svga_surface_destroy()  argument
289 struct svga_surface *s = svga_surface(surf); in svga_surface_destroy()
290 struct svga_texture *t = svga_texture(surf->texture); in svga_surface_destroy()
291 struct svga_screen *ss = svga_screen(surf->texture->screen); in svga_surface_destroy()
298 pipe_resource_reference(&surf->texture, NULL); in svga_surface_destroy()
299 FREE(surf); in svga_surface_destroy()
304 svga_mark_surface_dirty(struct pipe_surface *surf) in svga_mark_surface_dirty() argument
306 struct svga_surface *s = svga_surface(surf); in svga_mark_surface_dirty()
309 struct svga_texture *tex = svga_texture(surf->texture); in svga_mark_surface_dirty()
315 if (surf->texture->target == PIPE_TEXTURE_CUBE) in svga_mark_surface_dirty()
316 tex->defined[surf->u.tex.first_layer][surf->u.tex.level] = TRUE; in svga_mark_surface_dirty()
318 tex->defined[0][surf->u.tex.level] = TRUE; in svga_mark_surface_dirty()
327 tex->view_age[surf->u.tex.first_layer] = ++(tex->age); in svga_mark_surface_dirty()
351 svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf) in svga_propagate_surface() argument
353 struct svga_surface *s = svga_surface(surf); in svga_propagate_surface()
354 struct svga_texture *tex = svga_texture(surf->texture); in svga_propagate_surface()
355 struct svga_screen *ss = svga_screen(surf->texture->screen); in svga_propagate_surface()
361 if (surf->texture->target == PIPE_TEXTURE_CUBE) { in svga_propagate_surface()
363 face = surf->u.tex.first_layer; in svga_propagate_surface()
366 zslice = surf->u.tex.first_layer; in svga_propagate_surface()
372 tex->view_age[surf->u.tex.level] = ++(tex->age); in svga_propagate_surface()
377 tex, surf->u.tex.level, surf); in svga_propagate_surface()
380 tex->handle, 0, 0, zslice, surf->u.tex.level, face, in svga_propagate_surface()
381 u_minify(tex->b.b.width0, surf->u.tex.level), in svga_propagate_surface()
382 u_minify(tex->b.b.height0, surf->u.tex.level), 1); in svga_propagate_surface()
383 tex->defined[face][surf->u.tex.level] = TRUE; in svga_propagate_surface()
392 svga_surface_needs_propagation(const struct pipe_surface *surf) in svga_surface_needs_propagation() argument
394 const struct svga_surface *s = svga_surface_const(surf); in svga_surface_needs_propagation()
395 struct svga_texture *tex = svga_texture(surf->texture); in svga_surface_needs_propagation()