On 24/03/2016 18:09, Adam Jackson wrote:
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.

Nice to get this landed :)

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.

In a brief examination, I think the two generator patches in the thread [1], that is [2] and [3] still apply on top of this?

[1] https://lists.x.org/archives/xorg-devel/2013-December/039450.html
[2] https://lists.x.org/archives/xorg-devel/2014-April/041597.html
[3] https://lists.x.org/archives/xorg-devel/2014-April/041919.html

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to