kms/plane: Move _new() function to private header
Code outside of the MetaKms namespace is not expected to create plane objects, so move it to a private header. More things will be added to this header later. https://gitlab.gnome.org/GNOME/mutter/merge_requests/930
This commit is contained in:
@ -38,11 +38,6 @@ typedef enum _MetaKmsPlaneType
|
||||
G_DECLARE_FINAL_TYPE (MetaKmsPlane, meta_kms_plane,
|
||||
META, KMS_PLANE, GObject)
|
||||
|
||||
MetaKmsPlane * meta_kms_plane_new (MetaKmsPlaneType type,
|
||||
MetaKmsImplDevice *impl_device,
|
||||
drmModePlane *drm_plane,
|
||||
drmModeObjectProperties *drm_plane_props);
|
||||
|
||||
MetaKmsDevice * meta_kms_plane_get_device (MetaKmsPlane *plane);
|
||||
|
||||
uint32_t meta_kms_plane_get_id (MetaKmsPlane *plane);
|
||||
|
Reference in New Issue
Block a user