Home | History | Annotate | Download | only in svga

Lines Matching refs:surf

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