summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_atom_texture.c
AgeCommit message (Collapse)Author
2008-03-20gallium: catch some out of memory conditions in the texture image code.Brian Paul
st_finalize_texture()'s return code now indicates success/fail instead of presence of texture border (which we discard earlier).
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
2008-03-05gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
2008-02-29gallium: change st->state.sampler_texture[] to store pipe_texture pointersBrian Paul
This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs.
2008-02-29gallium: fix update_textures() bug in pipe_texture binding logicBrian Paul
The 'st' pointer might not have changed, but st->pt might have. The dirtyData flag will indicate when that's happened, so check it.
2008-02-20gallium: new pipe->texture_update() functionBrian
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
2008-02-20gallium: state tracker didn't always notify drivers of texobj data changesBrian
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.
2008-02-06added commentBrian
2008-02-06clean-upBrian
2007-12-11gallium: remove set_sampler_units interfaceKeith Whitwell
The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects.
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-11-01silence the finalize_mipmap_tree msgBrian
2007-08-25add names to tracked state atoms to improve debugkeithw
2007-08-13fix some issues with texture/mipmap_tree state trackingBrian
2007-08-07debug infoBrian
2007-08-07plug in texture/sampler state updateBrian
2007-08-07texture image state handlingBrian