diff options
author | Eric Anholt <[email protected]> | 2013-03-04 10:30:15 -0800 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-16 14:14:19 +1100 |
commit | 012bfebc0779bd0eed10ccbdec2edb874992d0dd (patch) | |
tree | f209d1c78aea375a56a5d0f91cca2e92deb140d2 /src/mapi/glapi/gen/GL3x.xml | |
parent | 238d027ed6d11f7ced80e4c7a43ca62293914781 (diff) |
mesa: Track the current vertex/element array buffers for glthread.
We want to support glthread on GLES contexts with reasonable apps, and on
desktop for apps that use VBOs but haven't completely moved to core GL.
To do so, we have to deal with the "the user may or may not pass user
pointers to draw calls" problem.
Acked-by: Timothy Arceri <[email protected]>
Acked-by: Marek Olšák <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/GL3x.xml')
-rw-r--r-- | src/mapi/glapi/gen/GL3x.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml index 65f12a42587..b603e1f82f6 100644 --- a/src/mapi/glapi/gen/GL3x.xml +++ b/src/mapi/glapi/gen/GL3x.xml @@ -256,7 +256,8 @@ <!-- These functions alias ones from GL_EXT_gpu_shader4 --> - <function name="VertexAttribIPointer" es2="3.0" marshal="async"> + <function name="VertexAttribIPointer" es2="3.0" marshal="async" + marshal_fail="_mesa_glthread_is_non_vbo_vertex_attrib_pointer(ctx)"> <param name="index" type="GLuint"/> <param name="size" type="GLint"/> <param name="type" type="GLenum"/> |