[Mesa-dev] X Dri

Michel Dänzer michel at daenzer.net
Tue Nov 9 00:52:38 PST 2010


On Die, 2010-11-09 at 16:41 +1100, Russell Shaw wrote: 
> Hi,
> How should the "format" of a DRI2 buffer be determined?
> 
> 
> http://www.x.org/releases/current/doc/dri2proto/dri2proto.txt
> 
> DRI2ATTACH_FORMAT { attachment: CARD32
>              format:     CARD32 }
> 
>      The DRI2ATTACH_FORMAT describes an attachment and the associated
>      format.  'attachment' describes the attachment point for the buffer,
>      'format' describes an opaque, device-dependent format for the buffer.

It's a convention between the X and client side drivers.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list