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

@@ -192,12 +192,10 @@ struct pipe_context {
/**
* Called when texture data is changed.
* Note: we could pass some hints about which mip levels or cube faces
* have changed...
* XXX this may go away - could pass a 'write' flag to get_tex_surface()
*/
void (*texture_update)(struct pipe_context *pipe,
struct pipe_texture *texture);
struct pipe_texture *texture,
uint face, uint dirtyLevelsMask);