mesa: Change args to vbo_count_tessellated_primitives.
authorPaul Berry <stereotype441@gmail.com>
Wed, 12 Dec 2012 21:37:45 +0000 (13:37 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 18 Dec 2012 16:31:03 +0000 (08:31 -0800)
commit61c1b065fbdd224fa547f035991210859c7af310
treeeceab4048cced598108409d2295287b0c5333ebb
parent8cf552b1823e6c0ea8ce0465937920b4cab83465
mesa: Change args to vbo_count_tessellated_primitives.

No functional change--this simply paves the way to allow futures
patches to call vbo_count_tessellated_primitives() during error
checking, before the _mesa_prim struct has been constructed.

This will be needed for GLES3, which requires draw calls to fail if
there is not enough space available in transform feedback buffers to
accommodate the primitives to be drawn.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/vbo/vbo.h
src/mesa/vbo/vbo_exec.c