[PATCH] gbm: track buffer format through DRI drivers
jbarnes at virtuousgeek.org
Wed Feb 22 09:57:03 PST 2012
On Wed, 22 Feb 2012 12:42:59 -0500
Kristian Hoegsberg <hoegsberg at gmail.com> wrote:
> On Tue, Feb 21, 2012 at 12:56:11PM -0800, Jesse Barnes wrote:
> > GBM needs the buffer format in order to communicate with DRM and clients
> > for things like scanout.
> > So track the DRI format requested in the various back ends and use it to
> > return the DRI format back to GBM when requested. GBM will then map
> > this into the GBM surface type (which is in turn based on the DRM fb
> > format list).
> Yes, that looks good now. Just one thing left that I can see: we need
> to bump the versions of the __DRI_IMAGE extension in the drivers so
> that they advertise 3 if they support the format attribute.
Yeah, just bumped it for Intel, but radeon and gallium only support
version 1, which means they need other work to go to version 3 (the
query format support should be there though, so I think they just need
Jesse Barnes, Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the wayland-devel