summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.h
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2013-04-09 20:54:25 +0200
committerFredrik Höglund <fredrik@kde.org>2013-11-07 16:20:45 +0100
commit59b01ca252bd6706f08cd80a864819d71dfe741c (patch)
tree7531a6193ef44fad1555998c5ff6346f22ca1641 /src/mesa/main/arrayobj.h
parentbb2d02c7b53d2bcbdddcbe4e82a912e5183fdb8c (diff)
downloadexternal_mesa3d-59b01ca252bd6706f08cd80a864819d71dfe741c.zip
external_mesa3d-59b01ca252bd6706f08cd80a864819d71dfe741c.tar.gz
external_mesa3d-59b01ca252bd6706f08cd80a864819d71dfe741c.tar.bz2
mesa: Add ARB_vertex_attrib_binding
update_array() and update_array_format() are changed to update the new attrib and binding states, and the client arrays become derived state. Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/arrayobj.h')
-rw-r--r--src/mesa/main/arrayobj.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.h b/src/mesa/main/arrayobj.h
index 492ef35..7c37202 100644
--- a/src/mesa/main/arrayobj.h
+++ b/src/mesa/main/arrayobj.h
@@ -78,6 +78,11 @@ extern void
_mesa_update_array_object_max_element(struct gl_context *ctx,
struct gl_array_object *arrayObj);
+extern void
+_mesa_update_array_object_client_arrays(struct gl_context *ctx,
+ struct gl_array_object *arrayObj);
+
+
/** Returns the bitmask of all enabled arrays in fixed function mode.
*
* In fixed function mode only the traditional fixed function arrays