aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad_stipple.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: fix various undefined left shifts into sign bitNicolai Hähnle2016-05-071-2/+2
| | | | | | | | | Funnily enough, some of these were turned into a compile-time error by gcc with -fsanitize=undefined ("initializer is not a constant"). Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
* softpipe: actually pass >1 quad from triangle routineKeith Whitwell2009-07-241-23/+21
| | | | First attempt
* softpipe: expand quad pipeline to process >1 quad at a timeKeith Whitwell2009-07-241-21/+27
| | | | | | This is part one -- we still only pass a single quad down, but the code can now cope with more. The quads must all be from the same tile.
* gallium: remove use of origin_lower_leftBrian Paul2009-03-201-14/+4
| | | | | | | | | | | | | | 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: remove some old polygon stipple stuff and do some clean-upsBrian Paul2009-02-111-15/+8
|
* softpipe: rename PRIM_x to QUAD_PRIM_xBrian2009-02-111-1/+1
|
* 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.
* softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol2008-09-081-11/+11
| | | | parts.
* 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: use new framebuffer width, height fieldsBrian2008-03-201-1/+1
|
* gallium: added fb_width/height fields to softpipe contextBrian Paul2008-03-191-1/+1
| | | | | These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
* Code reorganization: move files into their places.José Fonseca2008-02-151-0/+94
This is in a separate commit to ensure renames are properly preserved.