[Mesa-dev] [PATCH 00/11] Generated GLX dispatch updates

Adam Jackson ajax at redhat.com
Thu Mar 24 18:09:55 UTC 2016


Apologies for the stray duplicate copy of 01/11, neglected to say --compose
and didn't hit ^C in time.

This long-overdue series synchronizes the GLX dispatch scripts with the
state of the world in xserver.  We no longer use the CALL_* pattern instead
emitting gl* calls directly (or thunking through GetProcAddress if needed).
We also use overflow-paranoid math when computing request lengths, and
add a few more error checks.

The last two patches silence a warning and mark the byteswapped dispatch
as cold, which saves a small amount of text size.

After this series, regenerating the xserver glx dispatch code isn't _quite_
zero lines of diff.  But the differences are all either being Even More
Paranoid about size math (in places where we know overflow can't happen
anyway), or prototype headers getting their decls shuffled around.

- ajax



More information about the mesa-dev mailing list