[Mesa-dev] [PATCH 10/13] gallium: introduce format modifier querying
Michel Dänzer
michel at daenzer.net
Wed Nov 16 06:55:26 UTC 2016
On 15/11/16 11:24 PM, Varad Gautam wrote:
> From: Varad Gautam <varad.gautam at collabora.com>
>
> drivers should implement pipe_screen->get_modifiers_for_format and
> advertise it with PIPE_CAP_QUERY_DMABUF_MODIFIERS to support format
> modifier queries.
Is there any point in having the PIPE_CAP_QUERY_DMABUF_MODIFIERS cap, vs
just testing if pipe_screen->get_modifiers_for_format != NULL ?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list