On 05/15/12 05:19 PM, Chad Versace wrote:
>> Where will the master list of these be maintained to avoid conflicts?   
>> Server
>> ones in dri2proto.txt/dri2proto.h and driver ones in each driver's headers?
> That is the plan; sorry for not documenting that. I will explicitly
> document that in dri2proto.txt in v3.

You might look at how RandR defines known & mandatory properties in its
protocol spec to see if a similar sort of listing makes sense:
http://www.x.org/releases/X11R7.7-RC1/doc/randrproto/randrproto.txt

> Ah, this is my first time working the X protocol. I was unaware that
> it was legal to pack data into the packet header. I'll do this in v3.

If you look through the core protocol you'll see that padding byte is
used for replies that have a byte-sized member that can fit in nicely
there - but many don't, leaving it unused.

http://www.x.org/releases/X11R7.7-RC1/doc/xproto/x11protocol.html#Encoding::Requests

I don't see any other DRI2 replies with a single byte value to return,
which is probably why it's unused in all the existing ones in that
extension protocol, but you can see some RandR replies do use it.

-- 
        -Alan Coopersmith-              alan.coopersm...@oracle.com
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to