Commit 3750a788 authored by Justin Novosad's avatar Justin Novosad Committed by Commit Bot

Disabling display list 2D canvas by default

As a temporary fix for bug 721727, we are disabling display list 2D
canvas by default.  With this change, display list mode is only engaged
when specifying the --force-display-list-2d-canvas command line option.

BUG=721727

TBR=zmo@chromium.org

Change-Id: I26f0caa3b62506c8d2d051bec208a94c1f51341f
Reviewed-on: https://chromium-review.googlesource.com/563519Reviewed-by: default avatarJustin Novosad <junov@chromium.org>
Reviewed-by: default avatarFernando Serboncini <fserb@chromium.org>
Commit-Queue: Justin Novosad <junov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485371}
parent f8448eb8
...@@ -65,3 +65,7 @@ class PixelExpectations(GpuTestExpectations): ...@@ -65,3 +65,7 @@ class PixelExpectations(GpuTestExpectations):
['mac', 'linux', 'win', 'android'], bug=735228) ['mac', 'linux', 'win', 'android'], bug=735228)
self.Flaky('Pixel_OffscreenCanvasTransferAfterStyleResize', self.Flaky('Pixel_OffscreenCanvasTransferAfterStyleResize',
['mac', 'linux', 'win', 'android'], bug=735171) ['mac', 'linux', 'win', 'android'], bug=735171)
# TODO(junov): update reference images
self.Fail('Pixel_CSSFilterEffects', ['mac'], bug=721727)
self.Fail('Pixel_CSSFilterEffects_NoOverlays', ['mac'], bug=721727)
...@@ -892,7 +892,10 @@ bool HTMLCanvasElement::ShouldUseDisplayList() { ...@@ -892,7 +892,10 @@ bool HTMLCanvasElement::ShouldUseDisplayList() {
if (!RuntimeEnabledFeatures::DisplayList2dCanvasEnabled()) if (!RuntimeEnabledFeatures::DisplayList2dCanvasEnabled())
return false; return false;
return true; // TODO(crbug.com/721727): Due to a rendering regression with display-
// list-2d-canvas, this feature is now disabled by default. For now, the
// feature will only be enabled with --force-display-list-2d-canvas.
return false;
} }
std::unique_ptr<ImageBufferSurface> std::unique_ptr<ImageBufferSurface>
......
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