mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
kms/impl-device: Fix some argument naming mistakes
It was left-overs from when the MetaKmsImpl was not per device. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1820>
This commit is contained in:
parent
8867b11e19
commit
c822c799e4
@ -711,7 +711,7 @@ atomic_page_flip_handler (int fd,
|
||||
}
|
||||
|
||||
static void
|
||||
meta_kms_impl_device_atomic_setup_drm_event_context (MetaKmsImplDevice *impl,
|
||||
meta_kms_impl_device_atomic_setup_drm_event_context (MetaKmsImplDevice *impl_device,
|
||||
drmEventContext *drm_event_context)
|
||||
{
|
||||
drm_event_context->version = 3;
|
||||
|
@ -35,7 +35,7 @@ G_DEFINE_TYPE_WITH_CODE (MetaKmsImplDeviceDummy, meta_kms_impl_device_dummy,
|
||||
initable_iface_init))
|
||||
|
||||
static void
|
||||
meta_kms_impl_device_dummy_discard_pending_page_flips (MetaKmsImplDevice *impl)
|
||||
meta_kms_impl_device_dummy_discard_pending_page_flips (MetaKmsImplDevice *impl_device)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -1351,7 +1351,7 @@ page_flip_handler (int fd,
|
||||
}
|
||||
|
||||
static void
|
||||
meta_kms_impl_device_simple_setup_drm_event_context (MetaKmsImplDevice *impl,
|
||||
meta_kms_impl_device_simple_setup_drm_event_context (MetaKmsImplDevice *impl_device,
|
||||
drmEventContext *drm_event_context)
|
||||
{
|
||||
drm_event_context->version = 2;
|
||||
|
@ -837,7 +837,7 @@ meta_kms_impl_device_init_mode_setting (MetaKmsImplDevice *impl_device,
|
||||
}
|
||||
|
||||
static void
|
||||
meta_kms_impl_device_init (MetaKmsImplDevice *device)
|
||||
meta_kms_impl_device_init (MetaKmsImplDevice *impl_device)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -61,13 +61,13 @@ struct _MetaKmsImplDeviceClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
void (* setup_drm_event_context) (MetaKmsImplDevice *impl,
|
||||
void (* setup_drm_event_context) (MetaKmsImplDevice *impl_device,
|
||||
drmEventContext *drm_event_context);
|
||||
MetaKmsFeedback * (* process_update) (MetaKmsImplDevice *impl,
|
||||
MetaKmsFeedback * (* process_update) (MetaKmsImplDevice *impl_device,
|
||||
MetaKmsUpdate *update);
|
||||
void (* handle_page_flip_callback) (MetaKmsImplDevice *impl,
|
||||
void (* handle_page_flip_callback) (MetaKmsImplDevice *impl_device,
|
||||
MetaKmsPageFlipData *page_flip_data);
|
||||
void (* discard_pending_page_flips) (MetaKmsImplDevice *impl);
|
||||
void (* discard_pending_page_flips) (MetaKmsImplDevice *impl_device);
|
||||
};
|
||||
|
||||
MetaKmsDevice * meta_kms_impl_device_get_device (MetaKmsImplDevice *impl_device);
|
||||
|
Loading…
Reference in New Issue
Block a user