Commit fae4fe4a authored by kylechar's avatar kylechar Committed by Commit Bot

Add disable_mipmap_generation flag to web_engine

This flag controls a GPU workaround with the same name.

Bug: 1138979
Change-Id: I9e900aab600b5652fbc46e4b65d098d27de73cc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2490991
Commit-Queue: kylechar <kylechar@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Auto-Submit: kylechar <kylechar@chromium.org>
Reviewed-by: default avatarWez <wez@chromium.org>
Reviewed-by: default avatarDavid Dorwin <ddorwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820341}
parent b642822f
......@@ -70,6 +70,11 @@ constexpr char kMixedContentAutoupgradeFeatureName[] =
constexpr char kDisableMixedContentAutoupgradeOrigin[] =
"disable-mixed-content-autoupgrade";
// This flag is auto generated for a GPU workaround with the same name in
// gpu/config/gpu_workaround_list.txt. There is no string to reference so it's
// defined here.
constexpr char kDisableMipmapGeneration[] = "disable_mipmap_generation";
// Returns the underlying channel if |directory| is a client endpoint for a
// |fuchsia::io::Directory| protocol. Otherwise, returns an empty channel.
zx::channel ValidateDirectoryAndTakeChannel(
......@@ -155,6 +160,7 @@ bool MaybeAddCommandLineArgsFromConfig(const base::Value& config,
blink::switches::kGpuRasterizationMSAASampleCount,
blink::switches::kMinHeightForGpuRasterTile,
cc::switches::kEnableGpuBenchmarking,
kDisableMipmapGeneration,
switches::kDisableFeatures,
switches::kDisableGpuWatchdog,
// TODO(crbug.com/1082821): Remove this switch from the allow-list.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment