glthread: track VAOs created by CreateVertexArrays
authorMarek Olšák <marek.olsak@amd.com>
Wed, 4 Mar 2020 19:46:56 +0000 (14:46 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Mar 2020 00:00:22 +0000 (00:00 +0000)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251>

src/mapi/glapi/gen/ARB_direct_state_access.xml

index 3e39253c2a9bdda0e10fb04bc1a72a0812f06d72..ead893e1c678ba553bd186f3f6b5bef91cc17c25 100644 (file)
 
    <!-- Vertex Array object functions -->
 
-   <function name="CreateVertexArrays" no_error="true">
+   <function name="CreateVertexArrays" no_error="true"
+             marshal_call_after="_mesa_glthread_GenVertexArrays(ctx, n, arrays);">
       <param name="n" type="GLsizei" />
       <param name="arrays" type="GLuint *" />
    </function>