aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2016-06-17 08:09:04 +0200
committerMathias Fröhlich <[email protected]>2016-07-31 10:05:45 +0200
commitf8be969b1bfafc0e7ec6c066b56e53ec382464d0 (patch)
tree15a17dcc7a7f3945aa3d9d6563e1fd085c0fc1ac /src/mesa/main/arrayobj.h
parentf7cb46a9721ace5ec6d1e51cdc4ce70348605701 (diff)
mesa: Implement _mesa_all_varyings_in_vbos.
Implement the equivalent of vbo_all_varyings_in_vbos for vertex array objects. v2: Update comment. Signed-off-by: Mathias Fröhlich <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.h')
-rw-r--r--src/mesa/main/arrayobj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.h b/src/mesa/main/arrayobj.h
index 6a4247f4aaa..d30c85c7cc5 100644
--- a/src/mesa/main/arrayobj.h
+++ b/src/mesa/main/arrayobj.h
@@ -81,6 +81,10 @@ extern void
_mesa_update_vao_client_arrays(struct gl_context *ctx,
struct gl_vertex_array_object *vao);
+/* Returns true if all varying arrays reside in vbos */
+extern bool
+_mesa_all_varyings_in_vbos(const struct gl_vertex_array_object *vao);
+
/*
* API functions
*/