Re: [Mesa-dev] [RFC] st/dri: implement createImageWithModifiers

2017-05-15 Thread Varad Gautam
Hi Lucas, On Fri, May 12, 2017 at 4:22 PM, Lucas Stach wrote: > Hi Varad, > > Am Freitag, den 12.05.2017, 15:11 +0530 schrieb Varad Gautam: >> gallium doesn't have a way to pass modifiers to the driver when creating >> resources. we require this to support >> dri2ImageExtension->createImageWithMo

Re: [Mesa-dev] [RFC] st/dri: implement createImageWithModifiers

2017-05-12 Thread Lucas Stach
Hi Varad, Am Freitag, den 12.05.2017, 15:11 +0530 schrieb Varad Gautam: > gallium doesn't have a way to pass modifiers to the driver when creating > resources. we require this to support > dri2ImageExtension->createImageWithModifiers() to get > gbm_bo_create_with_modifiers() to work. > > this add

[Mesa-dev] [RFC] st/dri: implement createImageWithModifiers

2017-05-12 Thread Varad Gautam
gallium doesn't have a way to pass modifiers to the driver when creating resources. we require this to support dri2ImageExtension->createImageWithModifiers() to get gbm_bo_create_with_modifiers() to work. this adds a pscreen->resource_create_with_modifier() to pass the modifier flags to the driver