summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_state_sampler.c
AgeCommit message (Collapse)Author
2007-12-07Move struct softpipe_texture definition into sp_texture.hBrian
Also, added softpipe_texture() cast wrapper.
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-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29Make gallium compile in win32.Michal Krol
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
2007-10-22Finish unifying the surface and texture tile caches.Brian
2007-10-03Make softpipe behave more like a real driver by always allocating somethingZack Rusin
in the state functions.
2007-09-20Fix failover state binding and convert the sampler to use the newZack Rusin
state constant state object semantics.
2007-09-18Make sampler an immutable state object.Zack Rusin
Switch the sample to be an immutable state object.
2007-08-14Continue reducing dependencies on core mesa include files.Keith Whitwell
Mainly down to the support for legacy TNL processing now.
2007-08-07s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.cBrian
2007-07-09Rename G_NEW_* tokens to SP_NEW_*Brian
2007-07-09New 'draw' module for primitive drawing (clipping, culling, etc).Brian
2007-06-22initial texture object, texture format codeBrian
2007-06-22more texture sampler workBrian