main: Added entry point for glTransformFeedbackBufferBase

Graphics / Mesa 3D Graphics Library / Mesa - Martin Peres [linux.intel.com] - 25 March 2015 03:05 UTC

v2: Review from Laura Ekstrand- give more helpful error messages- factor the lookup code for the xfb and objBuf- replace some already-existing tabs with spaces- add comments to explain the cases where xfb == 0 or buffer == 0- fix the condition for binding the transform buffer or not

v3: Review from Laura Ekstrand- rename _mesa_lookup_bufferobj_err to _mesa_lookup_transform_feedback_bufferobj_err and make it static to avoid a future conflict- make _mesa_lookup_transform_feedback_object_err static

v4: Review from Laura Ekstrand- add the pdf page number when quoting the spec- rename some of the symbols to follow the public/private conventions

v5: Review from Laura Ekstrand- properly rename some of the symbols to follow the public/private conventions- fix some alignments- add quotes around a spec citation- add back a newline I accidentally deleted- add spaces around the ternary operator usages

a5d165a main: Added entry point for glTransformFeedbackBufferBase
src/mapi/glapi/gen/ARB_direct_state_access.xml | 6 ++
src/mesa/main/bufferobj.c | 9 +-
src/mesa/main/tests/dispatch_sanity.cpp | 1 +
src/mesa/main/transformfeedback.c | 138 ++++++++++++++++++------
src/mesa/main/transformfeedback.h | 10 +-
5 files changed, 129 insertions(+), 35 deletions(-)

Upstream: cgit.freedesktop.org


  • Share