On Wed, 22 Feb 2012 12:42:59 -0500 Kristian Hoegsberg <hoegsb...@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 validateUsage support). -- Jesse Barnes, Intel Open Source Technology Center
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev