gallium: add face, dirtyLevels params to pipe->texture_update()

This provides better information about which images in texture object have changed.
Also, call texture_update() from more places previously missed.
This commit is contained in:
Brian Paul
2008-03-19 17:08:16 -06:00
parent 11c34dc644
commit 4984487bc3
12 changed files with 24 additions and 23 deletions

View File

@@ -174,7 +174,8 @@ softpipe_get_tex_surface_screen(struct pipe_screen *screen,
static void
softpipe_texture_update(struct pipe_context *pipe,
struct pipe_texture *texture)
struct pipe_texture *texture,
uint face, uint levelsMask)
{
struct softpipe_context *softpipe = softpipe_context(pipe);
uint unit;