// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_VIZ_SERVICE_DISPLAY_OVERLAY_CANDIDATE_TEMPORAL_TRACKER_H_ #define COMPONENTS_VIZ_SERVICE_DISPLAY_OVERLAY_CANDIDATE_TEMPORAL_TRACKER_H_ #include "components/viz/common/resources/resource_id.h" #include "components/viz/service/viz_service_export.h" namespace viz { // Overlay selection is extremely important for optimal power and performance. // The |OverlayCandidateTemporalTracker| class provides a way to temporally // track overlay candidate properties and to categorize them. This tracker // operates on highly opaque input; it only understands resource id (changes) // and damage ratios. The hysteresis in categorization is intentional and its // purpose is to temporally stabilize the result. class VIZ_SERVICE_EXPORT OverlayCandidateTemporalTracker { … }; } // namespace viz #endif // COMPONENTS_VIZ_SERVICE_DISPLAY_OVERLAY_CANDIDATE_TEMPORAL_TRACKER_H_