Georges Basile Stavracas Neto
49408e8f9f
Revert "crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode"
...
This reverts commit 09078762a
, which breaks Mutter.
2020-06-10 23:11:21 -03:00
Jonas Ådahl
09078762ac
crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode
...
It carries the drmModeModeInfo copy in it's instance struct, instead of
the `driver_private` it was using before.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
2020-06-10 18:54:51 +00:00
Jonas Ådahl
4b37c2e446
crtc-mode: Move away fields from public MetaCrtcMode struct
...
The ID and name are just moved into the instance private, while the rest
is moved to a `MetaCrtcModeInfo` struct which is used during
construction and retrieved via a getter. Opens up the possibility to
add actual sub types.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
2020-06-10 18:54:51 +00:00
Jonas Ådahl
980ece9a4b
crtc: Move out MetaCrtcMode into its own file
...
It's somewhat annoying to have two very closely named types in the same
file. It's also about to grow some, so better move it to its own file.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
2020-06-10 18:54:51 +00:00