aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_state_sampler.c
Commit message (Collapse)AuthorAgeFilesLines
* sp: Implement separate vertex sampler state.Michal Krol2009-12-011-5/+64
|
* Merge branch 'tex-tilecache' into softpipe-optKeith Whitwell2009-08-231-2/+2
|\ | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_state_derived.c src/gallium/drivers/softpipe/sp_state_sampler.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_tex_sample.h src/gallium/drivers/softpipe/sp_tile_cache.c
| * softpipe: split texture and surface tile cachesKeith Whitwell2009-08-181-2/+2
| | | | | | | | | | These do similar jobs but with largely disjoint code. Will want to evolve them separately going forward.
* | softpipe: remove duplicate #include, move anotherBrian Paul2009-08-211-2/+1
| |
* | softpipe: per-unit sampler varientsBrian Paul2009-08-211-4/+20
| | | | | | | | | | | | | | Can't share sampler varients across multiple tex units because the texture pointer is in the sampler varient. That prevents different textures per unit. Fixes progs/demos/multiarb, progs/glsl/samplers, etc.
* | softpipe: rework texture sampling codeKeith Whitwell2009-08-211-1/+103
|/ | | | | | | | | | | | | | Split into component pieces, stitch together at runtime using function pointers. Make it possible to utilize the existing fastpaths as image-level filters for generic mip-filtering routines. Remove special case for rectangle filtering, as it can now be handled by the 2d path. As most of the mesa demo texturing was already covered by fast paths, its harder to find examples of speedups, but tunnel gets a boost as mip-nearest filtering is now able to access the img_2d_linear_wrap_POT functions for sampling within a mipmap level.
* softpipe: remove backwards dependency from tilecache to softpipeKeith Whitwell2009-07-221-1/+1
| | | | | | | | The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie softpipe). Remove softpipe parameter to all the tilecache function calls, and also remove the need to keep a softpipe pointer in the sampler structs.
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-041-1/+0
|
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-241-1/+1
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallium: Silence MSVC warnings.José Fonseca2008-03-121-3/+5
|
* gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell2008-03-051-17/+39
| | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
* gallium: remove pipe parameter from pipe_texture_reference()Brian2008-02-261-1/+1
| | | | | Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
* gallium: replace some ordinary assignments with pipe_reference_texture()Brian2008-02-201-1/+2
| | | | This fixes at least one instance of dereferencing an invalid texture pointer.
* gallium: use pipe_texture_reference() in sp_tile_cache_set_texture()Brian2008-02-201-1/+1
|
* Code reorganization: update build.José Fonseca2008-02-151-2/+2
| | | | | | | | | Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
* Code reorganization: move files into their places.José Fonseca2008-02-151-0/+93
This is in a separate commit to ensure renames are properly preserved.