glthread: merge and collapse glBindBuffer calls that unbind and then bind
This is a small optimization for viewperf. See the comment in the code. Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18199>
This commit is contained in:
@@ -5094,8 +5094,7 @@
|
||||
<type name="intptr" size="4" glx_name="CARD32"/>
|
||||
<type name="sizeiptr" size="4" unsigned="true" glx_name="CARD32"/>
|
||||
|
||||
<function name="BindBuffer" es1="1.1" es2="2.0" no_error="true"
|
||||
marshal_call_after="_mesa_glthread_BindBuffer(ctx, target, buffer);">
|
||||
<function name="BindBuffer" es1="1.1" es2="2.0" no_error="true" marshal="custom">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="buffer" type="GLuint"/>
|
||||
<glx ignore="true"/>
|
||||
|
||||
Reference in New Issue
Block a user