main: Added entry point for glTransformFeedbackBufferRange
authorMartin Peres <martin.peres@linux.intel.com>
Wed, 21 Jan 2015 10:22:11 +0000 (12:22 +0200)
committerMartin Peres <martin.peres@linux.intel.com>
Wed, 25 Mar 2015 08:05:45 +0000 (10:05 +0200)
commit296d82376e5d31961c02f6669f2012eb7bf4439d
treeae6f782dac8dd9bfbe0ee9a466a936fab96f1d6b
parenta5d165afed8dae34f0b4f281fc1c390d019e9b97
main: Added entry point for glTransformFeedbackBufferRange

v2: review from Laura Ekstrand
- use the refactored code to lookup the objects
- improve some error messages
- factor out the gl method name computation
- better handle the spec differences between the DSA and non-DSA cases
- quote the spec a little more

v3: review from Laura Ekstrand
- use the new name of _mesa_lookup_bufferobj_err
- swap the comments around the offset and size checks

v4: review from Laura Ekstrand
- add more spec quotes
- properly fix the comments around the offset and size checks

v5: review from Laura Ekstrand
- add quotes on the spec citations
- revert some changes in the printf format

v6: review from Laura Ekstrand
- remove a redondant "gl" in a method name

Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
Reviewed-by: Laura Ekstrand <laura@jlekstrand.net>
src/mapi/glapi/gen/ARB_direct_state_access.xml
src/mesa/main/bufferobj.c
src/mesa/main/tests/dispatch_sanity.cpp
src/mesa/main/transformfeedback.c
src/mesa/main/transformfeedback.h