Re: [Mesa-dev] [PATCH 09/27] gbm: Introduce modifiers into surface/bo creation

2016-12-02 Thread Daniel Stone
Hi Ben, On 1 December 2016 at 22:09, Ben Widawsky wrote: > @@ -996,13 +997,22 @@ gbm_dri_bo_create(struct gbm_device *gbm, > dri_use |= __DRI_IMAGE_USE_SHARE; > > bo->image = > - dri->image->createImage(dri->screen, > -

[Mesa-dev] [PATCH 09/27] gbm: Introduce modifiers into surface/bo creation

2016-12-01 Thread Ben Widawsky
From: Ben Widawsky The idea behind modifiers like this is that the user of GBM will have some mechanism to query what properties the hardware supports for its BO or surface. This information is directly passed in (and stored) so that the DRI implementation can create an image