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:
Michel Dänzer 2023-08-05 15:14:35 +02:00 committed by Marge Bot
parent 3bf3b14e3f
commit a828eab13c
2 changed files with 0 additions and 11 deletions

View File

@ -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)
{

View File

@ -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);