mirror of
https://github.com/brl/mutter.git
synced 2025-01-09 11:12:16 +00:00
Revert "frame/native: Remember whether the frame carried a kms update"
This reverts commit 020d128d15
.
This API is no longer used and can be removed.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3549>
This commit is contained in:
parent
b8deb4caa0
commit
0eaf4b4f4c
@ -28,7 +28,6 @@ struct _MetaFrameNative
|
|||||||
ClutterFrame base;
|
ClutterFrame base;
|
||||||
|
|
||||||
MetaKmsUpdate *kms_update;
|
MetaKmsUpdate *kms_update;
|
||||||
gboolean had_kms_update;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -63,7 +62,6 @@ meta_frame_native_ensure_kms_update (MetaFrameNative *frame_native,
|
|||||||
}
|
}
|
||||||
|
|
||||||
frame_native->kms_update = meta_kms_update_new (kms_device);
|
frame_native->kms_update = meta_kms_update_new (kms_device);
|
||||||
frame_native->had_kms_update = TRUE;
|
|
||||||
return frame_native->kms_update;
|
return frame_native->kms_update;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,9 +76,3 @@ meta_frame_native_has_kms_update (MetaFrameNative *frame_native)
|
|||||||
{
|
{
|
||||||
return !!frame_native->kms_update;
|
return !!frame_native->kms_update;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
|
||||||
meta_frame_native_had_kms_update (MetaFrameNative *frame_native)
|
|
||||||
{
|
|
||||||
return frame_native->had_kms_update;
|
|
||||||
}
|
|
||||||
|
@ -36,6 +36,3 @@ MetaKmsUpdate * meta_frame_native_steal_kms_update (MetaFrameNative *frame_nativ
|
|||||||
|
|
||||||
META_EXPORT_TEST
|
META_EXPORT_TEST
|
||||||
gboolean meta_frame_native_has_kms_update (MetaFrameNative *frame_native);
|
gboolean meta_frame_native_has_kms_update (MetaFrameNative *frame_native);
|
||||||
|
|
||||||
META_EXPORT_TEST
|
|
||||||
gboolean meta_frame_native_had_kms_update (MetaFrameNative *frame_native);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user