diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-20 11:20:25 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-02-20 11:20:25 -0700 |
commit | 58edb0683db45c449b219988a8715cf8fd69e42d (patch) | |
tree | 1797c58be2dfa6768673e8542a754797d37065e4 /src/mesa/state_tracker/st_cb_fbo.c | |
parent | 22a0b85eaebf767f5b03bf899596e09f5cc03876 (diff) | |
download | external_mesa3d-58edb0683db45c449b219988a8715cf8fd69e42d.zip external_mesa3d-58edb0683db45c449b219988a8715cf8fd69e42d.tar.gz external_mesa3d-58edb0683db45c449b219988a8715cf8fd69e42d.tar.bz2 |
gallium: state tracker didn't always notify drivers of texobj data changes
Calling glTexSubImage() or glTexImage() to replace texture data didn't
reliably cause pipe->set_sampler_texture() to get called so drivers didn't
always get notified of new texture data.
The st_texture_object->pt pointer doesn't always indicate changed data so
added a dirtyData field.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 4341623..781425b 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -48,6 +48,7 @@ #include "st_cb_texture.h" #include "st_format.h" #include "st_public.h" +#include "st_texture.h" |