aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_setup.c
Commit message (Collapse)AuthorAgeFilesLines
...
* softpipe: simplify flush_spansKeith Whitwell2009-07-221-53/+19
| | | | No loss of performance, but simpler code.
* Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-031-15/+12
|\ | | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * gallium: fix the front face semanticsZack Rusin2009-07-011-15/+12
| | | | | | | | | | | | | | | | mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
* | Merge branch 'ext-provoking-vertex'Brian Paul2009-06-191-1/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
| * | softpipe: implement flatshade_first for line setupBrian Paul2009-06-091-1/+4
| | |
| * | Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul2009-06-031-4/+1
| | | | | | | | | | | | This reverts commit 5d75124db480b37977c353511b4e228905b7cc95.
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-161-3/+6
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/main/api_validate.c
| * | softpipe: fix out of bounds quad rasterization bugBrian Paul2009-06-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark.
* | | Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul2009-05-301-4/+1
| |/ |/| | | | | | | | | | | This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. This fixed unclipped polygons, but broke clipped polygons. A better fix from the mesa 7.5 branch will be merged next...
* | softpipe: commentsBrian Paul2009-05-271-0/+2
| |
* | softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGONBrian Paul2009-05-271-1/+4
|/ | | | Use the first vertex, not the last.
* softpipe: use util_is_inf_or_nan()Brian Paul2009-03-311-12/+5
| | | | And print/warn NaN/Inf in print_vertex().
* gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer2009-03-261-10/+0
|
* gallium: remove use of origin_lower_leftBrian Paul2009-03-201-11/+2
| | | | | | | | | | | | | | This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
* softpipe: asst clean-ups, const correctness, commentsBrian Paul2009-02-111-14/+16
|
* softpipe: rename PRIM_x to QUAD_PRIM_xBrian2009-02-111-3/+3
|
* softpipe: rename sp_headers.h to sp_quad.hBrian2009-02-111-1/+1
| | | | This header describes the quad-related datatypes afterall.
* softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch]Brian2009-02-111-1/+1
| | | | Be more consistant with 'draw' module.
* gallium: standardize api on the prefix "nr"Zack Rusin2009-01-271-1/+1
|
* make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell2008-10-061-6/+6
|
* softpipe: Silence compiler warning on Windows.Michal Krol2008-09-091-0/+2
|
* softpipe: Protect pipe_condvar_signal/broadcast calls with a mutex.Michal Krol2008-09-081-4/+7
|
* softpipe: More improvements for multithreaded softpipe.Michal Krol2008-09-081-17/+38
| | | | Store only input and inout of a quad_header in job que.
* softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol2008-09-081-57/+57
| | | | parts.
* softpipe: Improve multithreaded softpipe.Michal Krol2008-09-081-16/+87
| | | | Use condition vars to communicate between threads instead of stalling.
* softpipe: First attempts at multithreaded softpipe.Michal Krol2008-09-081-33/+167
| | | | Configured for 2 cores.
* 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: stop using ifloor(), FABSF(), etcBrian Paul2008-08-221-6/+8
|
* gallium: test for and cull prims with inf/nan vertices in sp_setup.c code.Brian Paul2008-08-201-11/+34
|
* softpipe: Include missing header.Michal Krol2008-08-121-0/+1
|
* gallium: debug/print vertex tweakBrian Paul2008-08-111-4/+1
|
* gallium: new/better debug code (disabled)Brian Paul2008-08-071-2/+2
|
* gallium: added some sanity check assertionsBrian Paul2008-07-151-0/+5
|
* gallium: nr_attrs was off by one, updated comments, minor code movementBrian Paul2008-07-021-2/+4
|
* gallium: optimize the flush_spans() functionBrian2008-05-101-41/+40
|
* softpipe: don't calc det if NO_RAST setKeith Whitwell2008-05-081-2/+3
|
* gallium: more vertex debug codeBrian Paul2008-04-231-7/+17
|
* gallium: move the vertex print/debug codeBrian Paul2008-04-221-8/+6
|
* softpipe: implement SP_NO_RAST env varKeith Whitwell2008-04-221-0/+10
|
* gallium: take reduced prim, fill modes into account when cullingBrian Paul2008-04-141-1/+10
|
* softpipe: calculate determinant for all triangles, don't rely on draw module ↵Keith Whitwell2008-04-141-1/+25
| | | | to do it
* softpipe: do our own culling, don't rely on the draw module.Keith Whitwell2008-04-141-18/+26
| | | | May not always happen due to passthrough modes, etc.
* remove usage of vertex_headerKeith Whitwell2008-04-101-0/+1249