On Thu, 10 May 2012 00:04:36 -0700, Chad Versace <chad.vers...@linux.intel.com> wrote: > /* > * Events > @@ -330,4 +331,32 @@ typedef struct { > } xDRI2InvalidateBuffers; > #define sz_xDRI2InvalidateBuffers 32 > > +typedef struct { > + CARD8 reqType; > + CARD8 dri2ReqType; > + CARD16 length B16; > + CARD32 drawable B32; > + CARD32 namespace_ B32; > + CARD32 param_hi B32; > + CARD32 param_lo B32; > +} xDRI2GetParamReq; > +#define sz_xDRI2GetParamReq 20
64 bits of param enums? I'm going to go ahead and guess that we've moved to a new protocol or driver implementation before we run out of 32 bits. > +┌─── > + DRI2GetParam > + drawable: DRAWABLE > + namespace: DRI2PARAM_NAMESPACE > + param: CARD64 > + ▶ > + is_param_recognized: BOOL > + unused: 3 bytes > + value: CARD64 > +└─── > + Errors: Drawable, Value > + > + Get the value of a parameter. The parameter's value is looked up in > + the 'namespace' on the screen associated with the 'drawable'. > + > + Possible values of 'param_is_recognized' are true (1) and > + false(0). If false, then 'value' is undefined. s/param_is_recognized/is_param_recognized/
pgpcRkLPwgq6O.pgp
Description: PGP signature
_______________________________________________ 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