summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* gallium: updated prototype (missed in prev commit)Brian2008-02-261-0/+2
|
* gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()Brian2008-02-264-19/+23
| | | | | | | Specifying a threshold size is a bit more flexible, and allows the option of converting even 1-pixel points to triangles (set threshold=0). Also, remove 0.25 pixel bias in wide_point().
* gallium: disable debug codeBrian2008-02-261-1/+1
|
* gallium: rewrite AA point fragment shader to use a CMP instruction instead ↵Brian2008-02-251-100/+96
| | | | | | of IF/ELSE/ENDIF Allows the shader to work on i915 hardware.
* gallium: fix bad ptr assignmentBrian2008-02-251-1/+1
|
* gallium: modify draw_find_vs_output() to search vertex shader outputsBrian2008-02-251-3/+21
| | | | | | | | | | This simplifies drivers using the draw module and removes the last dependency on vertex-shader "internals". Since the draw module is producing the post-transformed vertices, it makes sense to ask it where specific vertex attributes are located. This could also simplify some things in the state tracker code for selection, feedback, rasterpos...
* Add new files.José Fonseca2008-02-241-0/+3
|
* gallium: Fix MSVC warnings.José Fonseca2008-02-241-2/+2
|
* gallium: MSVC fixes.José Fonseca2008-02-241-3/+3
|
* gallium: fix bug in which wide point stage overrode the aapoint stageBrian2008-02-221-3/+13
| | | | Also, simplify the logic a bit.
* gallium: new draw stage for polygon stipple.Brian2008-02-215-0/+728
| | | | | | | | For hardware without native polygon stipple. Create a 32x32 alpha texture that encodes the stipple pattern. Modify the user's fragment program to sample the texture (with gl_FragCoord) and kill the fragment according to the texel value. Temporarily enabled in softpipe driver, replacing the sp_quad_stipple.c step.
* gallium: new AA point drawing stageBrian2008-02-216-0/+887
| | | | | | | AA points are drawn by converting the point to a quad, then modifying the user's fragment shader to compute a coverage value. The final fragment color's alpha is modulated by the coverage value. Fragments outside the point's radius are killed.
* draw: vertex cache reworkKeith Whitwell2008-02-215-37/+53
| | | | Take a baby step to straightening out vertex paths.
* gallium: re-fix some msvc warningsBrian2008-02-201-8/+8
|
* Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca2008-02-191-2/+1
|
* Add run-time cpu capabilities detection stubs.José Fonseca2008-02-191-3/+3
|
* Simplify makefile boilerplate code.José Fonseca2008-02-191-6/+1
| | | | | Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
* Use gallium's rtasm module.José Fonseca2008-02-194-10/+6
|
* gallium: remove the prototype/unused wide_line_aa() functionBrian2008-02-181-68/+1
|
* gallium: antialiased line drawingBrian2008-02-187-3/+900
| | | | | | New draw/prim stage: draw_aaline. When installed, lines are replaced by textured quads to do antialiasing. The current user-defined fragment shader is modified to do a texture fetch and modulate fragment alpha.
* Update for llvm -> gallivm rename.José Fonseca2008-02-181-1/+1
|
* Update scons build for new code layout.José Fonseca2008-02-181-0/+31
|
* Code reorganization: split gallium and mesa makefiles.José Fonseca2008-02-181-2/+39
| | | | | | | In other words, don't build src/gallium source code from within src/mesa/Makefile. Also, allow to customize which gallium auxiliary dirs, driver driver, winsys dirs get built from the config/* files.
* Make this file build on non-SSE builds (e.g., Cell)Ian Romanick2008-02-151-1/+1
|
* draw: subclass vertex shaders according to execution methodKeith Whitwell2008-02-157-232/+763
| | | | | Create new files for shaders compiled/executed with llvm, sse, exec respectively
* Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell2008-02-151-4/+6
|
* Code reorganization: s/aux/auxiliary/.José Fonseca2008-02-1526-0/+7432
"aux" is a reserved name on Windows (X_X)