aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_texture.h
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: implement blit-based ReadPixelsMarek Olšák2013-03-231-0/+6
| | | | | | | | | | | | | | | Initial version contributed by: Martin Andersson <[email protected]> This is only used if the memcpy path cannot be used and if no transfer ops are needed. It's pretty similar to our TexImage and GetTexImage implementations. The motivation behind this is to be able to use ReadPixels every frame and still have at least 20 fps (or 60 fps with a powerful GPU and CPU) instead of 0.5 fps. Reviewed-by: Brian Paul <[email protected]> Tested-by: Brian Paul <[email protected]>
* st/mesa: remove st_get_default_texture()Brian Paul2012-02-151-4/+0
| | | | | | Just use _mesa_get_fallback_texture() instead. Reviewed-by: Jose Fonseca <[email protected]>
* st/mesa: Clean up header file inclusion in st_cb_texture.h.Vinson Lee2010-12-201-1/+2
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* st/mesa: Add missing headers in st_cb_texture.h.Vinson Lee2010-08-041-0/+7
|
* st/mesa: remove unused needFlush parameter to st_finalize_texture()Brian Paul2010-05-031-2/+1
|
* gallium: use a default texture in update_textures(), update_samplers() when ↵Brian Paul2008-08-141-0/+4
| | | | | | | needed The default texture is used when the current fragment shader has texture sample instructions but the user has not provided/bound a texture.
* gallium: state tracker didn't always notify drivers of texobj data changesBrian2008-02-201-4/+28
| | | | | | | | 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.
* gallium: remove set_sampler_units interfaceKeith Whitwell2007-12-111-1/+2
| | | | | The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects.
* Hide texture layout details from the state tracker.Michel Dänzer2007-12-061-5/+5
| | | | pipe->get_tex_surface() has to be used for access to texture image data.
* s/intel/st/Brian2007-08-071-1/+1
|
* plug in texture/sampler state updateBrian2007-08-071-0/+4
|
* New st_init_*_functions() to initialize the driver functions table.Brian2007-08-061-5/+1
| | | | | We need to do these initializations before initializing the Mesa context because context init involves creating texture/program/etc objects.
* new texture functionsBrian2007-08-061-0/+19