[Mesa-dev] [PATCH 2/5] gbm: Add a gbm_device_get_format_modifier_plane_count function
Daniel Stone
daniel at fooishbar.org
Mon Aug 28 14:48:25 UTC 2017
On 16 August 2017 at 20:30, Jason Ekstrand <jason at jlekstrand.net> wrote:
> +/** Get the number of planes that are required for a given format+modifier
> + *
> + * \param gbm The gbm device returned from gbm_create_device()
> + * \param format The format to query
> + * \param modifier The modifier to query
> + */
> +int
> +gbm_device_get_format_modifier_plane_count(struct gbm_device *gbm,
> + uint32_t format,
> + uint64_t modifier)
> +{
> + return gbm->get_format_modifier_plane_count(gbm, modifier, format);
format, modifier - not vice-versa.
Cheers,
Daniel
More information about the mesa-dev
mailing list