Re: [Mesa-dev] [PATCH] gbm: track buffer format through DRI drivers

2012-02-22 Thread Kristian Hoegsberg
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

Re: [Mesa-dev] [PATCH] gbm: track buffer format through DRI drivers

2012-02-22 Thread Jesse Barnes
On Wed, 22 Feb 2012 12:42:59 -0500 Kristian Hoegsberg 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 end

[Mesa-dev] [PATCH] gbm: track buffer format through DRI drivers

2012-02-21 Thread Jesse Barnes
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