Commit 7f2dbb6c authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Jonas Ådahl

crtc/kms: Document meta_crtc_kms_get_modifiers

It has some details that may not be obvious from the function signature.

parent 8a0d0ce9
......@@ -179,6 +179,20 @@ find_property_index (MetaGpu *gpu,
return -1;
* meta_crtc_kms_get_modifiers:
* @crtc: a #MetaCrtc object that has to be a #MetaCrtcKms
* @format: a DRM pixel format
* Returns a pointer to a #GArray containing all the supported
* modifiers for the given DRM pixel format on the CRTC's primary
* plane. The array element type is uint64_t.
* The caller must not modify or destroy the array or its contents.
* Returns NULL if the modifiers are not known or the format is not
* supported.
GArray *
meta_crtc_kms_get_modifiers (MetaCrtc *crtc,
uint32_t format)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment