per-window-scale: turn the feature on by default on Linux
This makes the per-surface scaling path be taken iff: 1. Ozone/wayland is running 2. Viewporter-based fractional scaling is supported and enabled 3. WaylandPerSurfaceScale feature hasn't been explicitly turned off (by the user) Further details in the design doc: https://docs.google.com/document/d/1MwvHLrGl5DmODVwt8_iyHEzrn7B5JqC_ABoDP2KUxb0 Bug: 336007385, 40083534 Change-Id: Ib54743717ff98ef4a9ef423fc35679be5458ce8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5598721 Reviewed-by: Peter Boström <pbos@chromium.org> Reviewed-by: Kramer Ge <fangzhoug@chromium.org> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/main@{#1420907}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
53e3b5ed4c
commit
49526217ec
@ -119,7 +119,12 @@ BASE_FEATURE(kWaylandLinuxDrmSyncobj,
|
||||
// Controls whether support for Wayland's per-surface scaling is enabled.
|
||||
BASE_FEATURE(kWaylandPerSurfaceScale,
|
||||
"WaylandPerSurfaceScale",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
#else
|
||||
base::FEATURE_DISABLED_BY_DEFAULT
|
||||
#endif // BUILDFLAG(IS_LINUX)
|
||||
);
|
||||
|
||||
// Controls whether Wayland text-input-v3 protocol support is enabled.
|
||||
BASE_FEATURE(kWaylandTextInputV3,
|
||||
|
Reference in New Issue
Block a user