1
0
Fork 0

backends/native: Remove unused meta_kms_device_add_fake_plane_in_impl

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3676>
This commit is contained in:
Daniel van Vugt 2024-04-02 16:44:52 +08:00 committed by Marge Bot
parent 14e18de90d
commit f3a52551f1
2 changed files with 0 additions and 20 deletions

View file

@ -27,10 +27,6 @@ MetaKmsResourceChanges meta_kms_device_update_states_in_impl (MetaKmsDevice *dev
uint32_t crtc_id,
uint32_t connector_id);
void meta_kms_device_add_fake_plane_in_impl (MetaKmsDevice *device,
MetaKmsPlaneType plane_type,
MetaKmsCrtc *crtc);
MetaKmsCrtc * meta_kms_device_find_crtc_in_impl (MetaKmsDevice *device,
uint32_t crtc_id);

View file

@ -423,22 +423,6 @@ meta_kms_device_handle_flush (MetaKmsDevice *device,
return needs_flush;
}
void
meta_kms_device_add_fake_plane_in_impl (MetaKmsDevice *device,
MetaKmsPlaneType plane_type,
MetaKmsCrtc *crtc)
{
MetaKmsImplDevice *impl_device = device->impl_device;
MetaKmsPlane *plane;
meta_assert_in_kms_impl (device->kms);
plane = meta_kms_impl_device_add_fake_plane (impl_device,
plane_type,
crtc);
device->planes = g_list_append (device->planes, plane);
}
typedef struct _CreateImplDeviceData
{
MetaKmsDevice *device;