Patches for v142
This commit is contained in:
@@ -33,22 +33,22 @@ diff --git a/chrome/version.gni b/chrome/version.gni
|
||||
diff --git a/components/viz/common/features.cc b/components/viz/common/features.cc
|
||||
--- a/components/viz/common/features.cc
|
||||
+++ b/components/viz/common/features.cc
|
||||
@@ -228,6 +228,7 @@ const base::FeatureParam<std::string> kWebViewADPFSocManufacturerBlocklist{
|
||||
BASE_FEATURE(kWebViewEnableADPFRendererMain,
|
||||
"WebViewEnableADPFRendererMain",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
@@ -186,6 +186,7 @@ const base::FeatureParam<std::string> kWebViewADPFSocManufacturerBlocklist{
|
||||
// HWUI. This feature works only when WebViewEnableADPF is enabled, otherwise
|
||||
// this is a no-op.
|
||||
BASE_FEATURE(kWebViewEnableADPFRendererMain, base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
+SET_CROMITE_FEATURE_ENABLED(kWebViewEnableADPFRendererMain);
|
||||
|
||||
// If enabled, the GPU Main thread is included in the set of threads reported
|
||||
// to the HWUI. This feature works only when WebViewEnableADPF is enabled,
|
||||
@@ -335,6 +336,7 @@ BASE_FEATURE(kEnableADPFSeparateRendererMainSession,
|
||||
@@ -286,6 +287,7 @@ BASE_FEATURE(kEnableADPFSeparateRendererMainSession,
|
||||
// If enabled, Chrome uses SetThreads instead of recreating an
|
||||
// ADPF(Android Dynamic Performance Framework) hint session when the set of
|
||||
// threads in the session changes.
|
||||
+// see https://source.chromium.org/chromium/chromium/src/+/e7507d15614ac7f499fb89086b3a09772fa8deb4
|
||||
BASE_FEATURE(kEnableADPFSetThreads,
|
||||
"EnableADPFSetThreads",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
BASE_FEATURE(kEnableADPFSetThreads, base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
|
||||
// If enabled, Chrome uses notifyWorkloadReset method on viz wakeup instead of
|
||||
diff --git a/components/viz/service/performance_hint/hint_session.cc b/components/viz/service/performance_hint/hint_session.cc
|
||||
--- a/components/viz/service/performance_hint/hint_session.cc
|
||||
+++ b/components/viz/service/performance_hint/hint_session.cc
|
||||
|
||||
Reference in New Issue
Block a user