mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 20:08:56 +00:00
Remove unused meta_crtc_kms_is_gamma_invalid
Unused since 24bdafa22046 ("onscreen/native: Track GAMMA_LUT invalidations here"). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
parent
3bf3b14e3f
commit
a828eab13c
@ -54,8 +54,6 @@ struct _MetaCrtcKms
|
||||
MetaKmsCrtc *kms_crtc;
|
||||
|
||||
MetaKmsPlane *primary_plane;
|
||||
|
||||
gboolean is_gamma_valid;
|
||||
};
|
||||
|
||||
static GQuark kms_crtc_crtc_kms_quark;
|
||||
@ -335,12 +333,6 @@ generate_crtc_connector_list (MetaGpu *gpu,
|
||||
return connectors;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_crtc_kms_is_gamma_invalid (MetaCrtcKms *crtc_kms)
|
||||
{
|
||||
return !crtc_kms->is_gamma_valid;
|
||||
}
|
||||
|
||||
void
|
||||
meta_crtc_kms_set_mode (MetaCrtcKms *crtc_kms,
|
||||
MetaKmsUpdate *kms_update)
|
||||
@ -461,7 +453,6 @@ meta_crtc_kms_new (MetaGpuKms *gpu_kms,
|
||||
|
||||
crtc_kms->kms_crtc = kms_crtc;
|
||||
crtc_kms->primary_plane = primary_plane;
|
||||
crtc_kms->is_gamma_valid = TRUE;
|
||||
|
||||
if (!kms_crtc_crtc_kms_quark)
|
||||
{
|
||||
|
@ -65,8 +65,6 @@ gboolean
|
||||
meta_crtc_kms_supports_format (MetaCrtcKms *crtc_kms,
|
||||
uint32_t drm_format);
|
||||
|
||||
gboolean meta_crtc_kms_is_gamma_invalid (MetaCrtcKms *crtc_kms);
|
||||
|
||||
const MetaGammaLut * meta_crtc_kms_peek_gamma_lut (MetaCrtcKms *crtc_kms);
|
||||
|
||||
MetaCrtcKms * meta_crtc_kms_from_kms_crtc (MetaKmsCrtc *kms_crtc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user