summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/transformfeedback.h
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-01-21 12:22:11 +0200
committerMartin Peres <martin.peres@linux.intel.com>2015-03-25 10:05:45 +0200
commit296d82376e5d31961c02f6669f2012eb7bf4439d (patch)
treeae6f782dac8dd9bfbe0ee9a466a936fab96f1d6b /src/mesa/main/transformfeedback.h
parenta5d165afed8dae34f0b4f281fc1c390d019e9b97 (diff)
downloadexternal_mesa3d-296d82376e5d31961c02f6669f2012eb7bf4439d.zip
external_mesa3d-296d82376e5d31961c02f6669f2012eb7bf4439d.tar.gz
external_mesa3d-296d82376e5d31961c02f6669f2012eb7bf4439d.tar.bz2
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>
Diffstat (limited to 'src/mesa/main/transformfeedback.h')
-rw-r--r--src/mesa/main/transformfeedback.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/transformfeedback.h b/src/mesa/main/transformfeedback.h
index aac7433..9ec7d38 100644
--- a/src/mesa/main/transformfeedback.h
+++ b/src/mesa/main/transformfeedback.h
@@ -69,7 +69,7 @@ _mesa_bind_buffer_range_transform_feedback(struct gl_context *ctx,
GLuint index,
struct gl_buffer_object *bufObj,
GLintptr offset,
- GLsizeiptr size);
+ GLsizeiptr size, bool dsa);
extern void
_mesa_bind_buffer_base_transform_feedback(struct gl_context *ctx,
@@ -152,4 +152,8 @@ _mesa_set_transform_feedback_binding(struct gl_context *ctx,
extern void GLAPIENTRY
_mesa_TransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer);
+extern void GLAPIENTRY
+_mesa_TransformFeedbackBufferRange(GLuint xfb, GLuint index, GLuint buffer,
+ GLintptr offset, GLsizeiptr size);
+
#endif /* TRANSFORM_FEEDBACK_H */