Commit Graph

23 Commits

Author SHA1 Message Date
Brian Paul 9038b6c8bb Merge branch 'ext-provoking-vertex'
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
2009-06-19 09:15:34 -06:00
Brian Paul 5aec03aaf4 softpipe: implement flatshade_first for triangles 2009-06-09 21:52:37 -06:00
Brian Paul 086ecea179 softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()
Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fb.
2009-06-03 18:33:07 -06:00
Brian Paul a64bbdaa3e softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering
This fixes incorrect front/back-face orientation.
2009-06-03 18:31:55 -06:00
Brian Paul a59575d8fb softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGON
This fixes the incorrect colors seen when rendering flat-shaded polygons.
Note that clipped polygons were correct, but unclipped polygons were wrong.

See the glean/clipFlat test for regression testing.
2009-05-30 20:07:18 -06:00
Brian Paul 9d9a7edfbc Revert "softpipe: added null ptr check for align_free() call in vbuf code"
This reverts commit 6db24f449d.

With a null ptr check in align_free() this is no longer needed.
2009-03-05 10:01:53 -07:00
Brian Paul 6db24f449d softpipe: added null ptr check for align_free() call in vbuf code
Fixes GALLIUM_NOCELL path.  See bug 20475.
2009-03-05 09:49:27 -07:00
Keith Whitwell a321b8ed6e softpipe: add dumping of post-tranfsormed vertices (disabled) 2009-02-27 15:23:21 +00:00
Keith Whitwell 7ca78a07b3 softpipe: update to new draw interfaces 2009-02-17 12:20:05 +00:00
Brian Paul d7b5243c64 gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alike
Also, update some comments.
2008-11-24 13:11:05 -07:00
Brian Paul 4f25420bdd gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-24 17:48:55 -06:00
Keith Whitwell f116a14916 softpipe: more work to get non-reduced primitives working in vbuf 2008-05-12 17:40:55 +01:00
Keith Whitwell 90e86363de softpipe: make vbuf handle all primitive types 2008-05-12 17:40:55 +01:00
Keith Whitwell 8b607f42d0 softpipe: call setup_prepare earlier so that vertex info is correct when queried 2008-04-16 12:22:20 +01:00
Keith Whitwell 871d39ec8c softpipe: calculate determinant for all triangles, don't rely on draw module to do it 2008-04-14 16:18:00 +01:00
Keith Whitwell 8e7326832a softpipe: do our own culling, don't rely on the draw module.
May not always happen due to passthrough modes, etc.
2008-04-14 11:32:50 +01:00
Keith Whitwell c95dcc4962 remove usage of vertex_header 2008-04-10 14:35:47 -04:00
Keith Whitwell 9425a702be gallium: improvements, or extensions at least, to the passthrough path
Passthrough is actually more tricky than you'd think...
2008-03-17 10:10:45 +00:00
Brian 49a687882a gallium: finish remaining prim types for sp_vbuf_draw_arrays()
Not totally tested, but easily fixed if glitches are found.
2008-03-16 10:33:59 -06:00
Keith Whitwell e4cdce43ce gallium: fix some compiler warnings 2008-03-14 08:42:45 +00:00
Brian 7d5e38a55a gallium: plug in new sp_vbuf_draw_arrays() function
Will be used for pass-through mode.
Also, call draw_set_render() to register the vbuf stage.  Should probably
rename that function to something like draw_set_vbuf_stage().
2008-03-13 16:53:44 -06:00
José Fonseca 6acd63a498 Code reorganization: update build.
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.
2008-02-15 17:50:12 +09:00
José Fonseca b642730be9 Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00
Renamed from src/mesa/pipe/softpipe/sp_prim_vbuf.c (Browse further)