[PATCH] render: reply with the server or client version, whichever is lower.
Rémi Cardona
remi at gentoo.org
Thu Sep 17 06:44:09 PDT 2009
Le 17/09/2009 13:51, Peter Hutterer a écrit :
> yes, we do. Though I'd prefer some sort of plan on how to deal with that for
> every extension affected (i.e. all).
> something like a single header file specifying the supported version for all
> extensions rather than 25 SERVER_FOOBAR_MAJOR spread over different
> source files seems sensible enough to me. Any comments?
Then in this case, wouldn't it be possible factorize all the
{S,}Proc*QueryVersion() that are sprinkled throughout the server. I read
a bunch of those and they pretty much all do the same basic stuff.
Either a big macro (ugly) or some more clever code added to
AddExtension() which could set up the QueryVersion() calls automatically
if asked to.
Food for thoughts :)
Rémi
More information about the xorg-devel
mailing list