On 15/11/16 11:24 PM, Varad Gautam wrote:
> From: Varad Gautam <varad.gau...@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
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to