glthread: track glPixelStore(GL_UNPACK_*)

so that glthread can compute the size of images passed to GL functions.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27490>
This commit is contained in:
Marek Olšák
2024-01-30 15:47:14 -05:00
committed by Marge Bot
parent c76efafc0d
commit ada351f2ea
3 changed files with 63 additions and 2 deletions
+4 -2
View File
@@ -2619,13 +2619,15 @@
<glx rop="167"/>
</function>
<function name="PixelStoref" no_error="true">
<function name="PixelStoref" no_error="true"
marshal_call_after="_mesa_glthread_PixelStorei(ctx, pname, lroundf(param));">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfloat"/>
<glx sop="109" handcode="client"/>
</function>
<function name="PixelStorei" es1="1.0" es2="2.0" no_error="true">
<function name="PixelStorei" es1="1.0" es2="2.0" no_error="true"
marshal_call_after="_mesa_glthread_PixelStorei(ctx, pname, param);">
<param name="pname" type="GLenum"/>
<param name="param" type="GLint"/>
<glx sop="110" handcode="client"/>