Consolidate vertex-related code in new draw_vertex.c
authorBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:49:24 +0000 (16:49 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:49:24 +0000 (16:49 -0600)
commit898d68a3762f84f0d435cda2f6aafddd356d1788
tree50da7df858f9c160fe6bcd33b617975315a07eda
parent963b8a74493a474560447080b23407bfe4c707c5
Consolidate vertex-related code in new draw_vertex.c

A few functions which were basically duplicated between softpipe and the
i915 driver are now re-used:
  draw_emit_vertex_attr()
  draw_compute_vertex_size()
src/mesa/pipe/draw/draw_arrays.c
src/mesa/pipe/draw/draw_context.c
src/mesa/pipe/draw/draw_context.h
src/mesa/pipe/draw/draw_vertex.c [new file with mode: 0644]
src/mesa/pipe/draw/draw_vertex.h
src/mesa/pipe/i915simple/i915_state_derived.c
src/mesa/pipe/softpipe/sp_state_derived.c
src/mesa/sources