* original surface is the shader resource.
*/
struct svga_surface *backed;
+ unsigned age; /* timestamp when the backed resource is
+ * synced with the original resource.
+ */
};
svga_mark_surfaces_dirty(struct svga_context *svga);
extern void
-svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf);
+svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf,
+ boolean reset);
void
svga_propagate_rendertargets(struct svga_context *svga);
int layer_pick,
unsigned num_layers,
int zslice_pick,
+ boolean cacheable,
struct svga_host_surface_cache_key *key); /* OUT */