// 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. #include "ui/ozone/common/features.h" #include "build/chromeos_buildflags.h" namespace ui { // Overlay delegation is required for delegated compositing. BASE_FEATURE(…); // This feature flag enables a mode where the wayland client would submit // buffers at a scale of 1 and the server applies the respective scale transform // to properly composite the buffers. This mode is used to support fractional // scale factor. BASE_FEATURE(…); // Controls whether support for the fractional_scale_v1 protocol should be // enabled. BASE_FEATURE(…); // This debug/dev flag pretty-prints DRM modeset configuration logs for ease // of reading. For more information, see: http://b/233006802 BASE_FEATURE(…); // If enabled, Chromium will try to use the smallest valid size for the cursor // plane that fits the cursor bitmap. BASE_FEATURE(…); bool IsWaylandSurfaceSubmissionInPixelCoordinatesEnabled() { … } bool IsWaylandOverlayDelegationEnabled() { … } bool IsWaylandFractionalScaleV1Enabled() { … } bool IsPrettyPrintDrmModesetConfigLogsEnabled() { … } bool IsUseDynamicCursorSizeEnabled() { … } } // namespace ui