summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
2009-09-24softpipe: fix compiler warningsKeith Whitwell
2009-09-24softpipe: Use portable INLINE macro.José Fonseca
2009-09-24softpipe: Update SConscript.José Fonseca
2009-09-23softpipe: replace macros with inline functionsBrian Paul
And update comments.
2009-09-23softpipe: white-space/formatting fixes and updated commentsBrian Paul
2009-09-23Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
2009-09-23softpipe: added max texture/surface size sanity checkBrian Paul
2009-09-23softpipe: increase MAX_WIDTH/HEIGTH 4096 to match max texture sizeBrian Paul
2009-09-23Merge branch 'softpipe-opt'Keith Whitwell
Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
2009-09-23gallium: Update vendor string.José Fonseca
2009-09-22softpipe: fix bugs in POT texture sampling when texture is not squareroot
Before, if level was greater than the logbase2(base size) we were doing a negative bit shift and winding up with garbage values.
2009-09-22softpipe: additional assertionsBrian Paul
2009-09-22softpipe: disable a _debug_printf()Brian Paul
2009-09-22softpipe: need to write depth/stencil values even when stencil failsKeith Whitwell
2009-09-22softpipe: set quad->facing valueKeith Whitwell
2009-09-22softpipe: fix polygon stippleKeith Whitwell
2009-09-22softpipe: fix occlusion countingKeith Whitwell
2009-09-21Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-21softpipe: Fix cube face selection.Brian Paul
If arx and ary are equal, we still want to choose from one of them, and not arz. (cherry picked from commit de685b37a91bc95dd4093a44a49b7b47385b1f7c)
2009-09-18softpipe: Fix cube face selection.Michal Krol
If arx and ary are equal, we still want to choose from one of them, and not arz.
2009-09-17softpipe: Respect input interpolators for the shader.Michal Krol
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-09-16softpipe: Do not advertise Z32_UNORM as a supported format.Michal Krol
2009-09-10softpipe: remove no-op softpipe_init_texture_funcs() functionBrian Paul
2009-09-10softpipe: remove unused #includes, move commentBrian Paul
2009-09-10softpipe: reformatting, clean-ups, commentsBrian Paul
2009-09-10softpipe: remove unneeded #includesBrian Paul
2009-09-10Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-10softpipe: minor indentation fixBrian Paul
2009-09-10softpipe: set dirty_render_cache in softpipe_clear()Brian Paul
This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer.
2009-08-24softpipe: use one fewer divide in sample_cubeKeith Whitwell
GCC won't do this for us. Makes a bigger difference to cubemap fps than previous set of compilcated rearrangements.
2009-08-24softpipe: separate out 2d and cube img filter functionsKeith Whitwell
2009-08-24softpipe: make the various get_texel routines more similarKeith Whitwell
Remove arguments, return const float * by default. Add specialized 3d versions and remove 3d texture support from the others.
2009-08-23softpipe: lift tex_address construction up to img_filterKeith Whitwell
For fastpaths at least, can avoid recalculating this sometimes.
2009-08-23softpipe: remove old prim_setup draw stageKeith Whitwell
Everything now goes through the draw_vbuf handler, the same as regular drivers.
2009-08-23softpipe: add missing headerKeith Whitwell
2009-08-23Merge branch 'tex-tilecache' into softpipe-optKeith Whitwell
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
2009-08-21softpipe: remove duplicate #include, move anotherBrian Paul
2009-08-21softpipe: remove tex sample dependencies on softpipeBrian Paul
The texture sampling code doesn't really have any dependencies on the rest of softpipe, just the tile cache.
2009-08-21softpipe: minor code refactoring to remove softpipe/tile cache dependenciesBrian Paul
The tile cache code now has no hard dependencies on softpipe.
2009-08-21softpipe: remove unused #includes, white-space clean-upBrian Paul
2009-08-21softpipe: remove unneeded const qualifierBrian Paul
2009-08-21softpipe: per-unit sampler varientsBrian Paul
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.
2009-08-21softpipe: add missing PIPE_TEXTURE_CUBE case in get_lambda_func()Brian Paul
Fixes progs/demos/cubemap
2009-08-21softpipe: add missing sp_sampler_varient_destroyKeith Whitwell
2009-08-21softpipe: remove redundant comparison, make test easier to understandBrian Paul
2009-08-21softpipe: fix min/mag filter typoBrian Paul
2009-08-21softpipe: fix s/t/p typosBrian Paul
2009-08-21softpipe: rework texture sampling codeKeith Whitwell
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.
2009-08-20softpipe: allow the existing sampler routines to be hooked up directlyKeith Whitwell
Let eg. sp_get_samples_rect be hooked directly in as the tgsi sampler routine. Add a field to determine whether this is a vertex or fragment sampling call, and massage parameters to match the tgsi call.