glthread: execute small glBitmap asynchronously

Compute the bitmap size and copy the bitmap into the batch.

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-31 01:18:32 -05:00
committed by Marge Bot
parent ada351f2ea
commit b43b111b19
3 changed files with 91 additions and 2 deletions
+1 -2
View File
@@ -1161,8 +1161,7 @@
<glx rop="4"/>
</function>
<function name="Bitmap" deprecated="3.1" exec="dlist"
marshal="async" marshal_sync="_mesa_glthread_has_no_unpack_buffer(ctx)">
<function name="Bitmap" deprecated="3.1" exec="dlist" marshal="custom">
<param name="width" type="GLsizei"/>
<param name="height" type="GLsizei"/>
<param name="xorig" type="GLfloat"/>