OSDN Git Service

draw/so: maintain an exact number of written vertices
authorZack Rusin <zackr@vmware.com>
Fri, 29 Mar 2013 11:52:29 +0000 (04:52 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 3 Apr 2013 17:16:25 +0000 (10:16 -0700)
commit822c21c7763afde4d4a94af3935b4b629d4eb34a
tree7ffed37317ef0f91970ceeafcf0501939eb3b85c
parentd8543bd7528de05e5ce3ac407838e7500428a93d
draw/so: maintain an exact number of written vertices

It's quite helpful during the rendering when we know
exactly the count of the vertices available in the
buffer.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_pt.c
src/gallium/auxiliary/draw/draw_pt_so_emit.c