mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 20:08:56 +00:00
Remove unused meta_crtc_kms_get/set_cursor_renderer_private
Unused since e52641c4b68f ("cursor-renderer/native: Replace HW cursor with KMS cursor manager"). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
parent
bdad097af1
commit
3bf3b14e3f
@ -55,9 +55,6 @@ struct _MetaCrtcKms
|
||||
|
||||
MetaKmsPlane *primary_plane;
|
||||
|
||||
gpointer cursor_renderer_private;
|
||||
GDestroyNotify cursor_renderer_private_destroy_notify;
|
||||
|
||||
gboolean is_gamma_valid;
|
||||
};
|
||||
|
||||
@ -76,24 +73,6 @@ monitor_manager_from_crtc (MetaCrtc *crtc)
|
||||
return META_MONITOR_MANAGER_NATIVE (monitor_manager);
|
||||
}
|
||||
|
||||
gpointer
|
||||
meta_crtc_kms_get_cursor_renderer_private (MetaCrtcKms *crtc_kms)
|
||||
{
|
||||
return crtc_kms->cursor_renderer_private;
|
||||
}
|
||||
|
||||
void
|
||||
meta_crtc_kms_set_cursor_renderer_private (MetaCrtcKms *crtc_kms,
|
||||
gpointer cursor_renderer_private,
|
||||
GDestroyNotify destroy_notify)
|
||||
{
|
||||
g_clear_pointer (&crtc_kms->cursor_renderer_private,
|
||||
crtc_kms->cursor_renderer_private_destroy_notify);
|
||||
|
||||
crtc_kms->cursor_renderer_private = cursor_renderer_private;
|
||||
crtc_kms->cursor_renderer_private_destroy_notify = destroy_notify;
|
||||
}
|
||||
|
||||
static size_t
|
||||
meta_crtc_kms_get_gamma_lut_size (MetaCrtc *crtc)
|
||||
{
|
||||
@ -495,17 +474,6 @@ meta_crtc_kms_new (MetaGpuKms *gpu_kms,
|
||||
return crtc_kms;
|
||||
}
|
||||
|
||||
static void
|
||||
meta_crtc_kms_dispose (GObject *object)
|
||||
{
|
||||
MetaCrtcKms *crtc_kms = META_CRTC_KMS (object);
|
||||
|
||||
g_clear_pointer (&crtc_kms->cursor_renderer_private,
|
||||
crtc_kms->cursor_renderer_private_destroy_notify);
|
||||
|
||||
G_OBJECT_CLASS (meta_crtc_kms_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
meta_crtc_kms_init (MetaCrtcKms *crtc_kms)
|
||||
{
|
||||
@ -514,12 +482,9 @@ meta_crtc_kms_init (MetaCrtcKms *crtc_kms)
|
||||
static void
|
||||
meta_crtc_kms_class_init (MetaCrtcKmsClass *klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
MetaCrtcClass *crtc_class = META_CRTC_CLASS (klass);
|
||||
MetaCrtcNativeClass *crtc_native_class = META_CRTC_NATIVE_CLASS (klass);
|
||||
|
||||
object_class->dispose = meta_crtc_kms_dispose;
|
||||
|
||||
crtc_class->get_gamma_lut_size = meta_crtc_kms_get_gamma_lut_size;
|
||||
crtc_class->get_gamma_lut = meta_crtc_kms_get_gamma_lut;
|
||||
crtc_class->set_gamma_lut = meta_crtc_kms_set_gamma_lut;
|
||||
|
@ -39,12 +39,6 @@ G_DECLARE_FINAL_TYPE (MetaCrtcKms, meta_crtc_kms,
|
||||
META, CRTC_KMS,
|
||||
MetaCrtcNative)
|
||||
|
||||
gpointer meta_crtc_kms_get_cursor_renderer_private (MetaCrtcKms *crtc_kms);
|
||||
|
||||
void meta_crtc_kms_set_cursor_renderer_private (MetaCrtcKms *crtc_kms,
|
||||
gpointer cursor_renderer_private,
|
||||
GDestroyNotify destroy_notify);
|
||||
|
||||
void meta_crtc_kms_apply_transform (MetaCrtcKms *crtc_kms,
|
||||
MetaKmsPlaneAssignment *kms_plane_assignment);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user