Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Issue 1609343004: Add display list fallback reason histograms for 2D canvas (Closed)

Created:
4 years, 11 months ago by Justin Novosad
Modified:
4 years, 10 months ago
Reviewers:
Stephen White, jwd
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, eric.carlson_apple.com, kinuko+watch, rwlbuis, krit, drott+blinkwatch_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik, blink-reviews, vmpstr+blinkwatch_chromium.org, philipj_slow, jbroman, feature-media-reviews_chromium.org, pdr+graphicswatchlist_chromium.org, asvitkine+watch_chromium.org, piman+watch_chromium.org, Stephen Chennney, ajuma+watch-canvas_chromium.org, mlamouri+watch-blink_chromium.org, f(malita), danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add display list fallback reason histograms for 2D canvas Two new histogram to track the reasons for which a) display-list-2d- canvas disables itself internally, and b) GPU accelerated canvas stops deferring and batching draw operations. BUG=577896 Committed: https://crrev.com/bce6e17e44e6ce516ed63b6360823dea10461b3e Cr-Commit-Position: refs/heads/master@{#373861}

Patch Set 1 #

Patch Set 2 : adding missing histogram #

Total comments: 5

Patch Set 3 : git cl web #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -108 lines) Patch
M third_party/WebKit/Source/core/frame/ImageBitmap.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 2 9 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 1 2 7 chunks +18 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 2 5 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp View 1 2 8 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsTypes.h View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.h View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 5 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h View 1 2 3 chunks +28 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp View 1 2 10 chunks +93 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +52 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Justin Novosad
PTAL. asvitkine: histogram stuff (calls are in Canvas2DLayerBridge.cpp and RecordingImageBufferSurface.cpp) senorblanco: everything else
4 years, 11 months ago (2016-01-20 22:20:47 UTC) #2
Stephen White
LGTM w/nits https://codereview.chromium.org/1609343004/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1609343004/diff/20001/tools/metrics/histograms/histograms.xml#newcode3594 tools/metrics/histograms/histograms.xml:3594: + The reasons why a GPU accelerated ...
4 years, 11 months ago (2016-01-21 21:02:31 UTC) #3
Alexei Svitkine (slow)
Re-directing histograms review to Jesse.
4 years, 11 months ago (2016-01-21 22:12:31 UTC) #5
jwd
LGTM with Stephen's nits and mine. https://codereview.chromium.org/1609343004/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1609343004/diff/20001/tools/metrics/histograms/histograms.xml#newcode3594 tools/metrics/histograms/histograms.xml:3594: + The reasons ...
4 years, 11 months ago (2016-01-22 21:22:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609343004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609343004/40001
4 years, 10 months ago (2016-02-05 17:07:27 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-05 18:52:09 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/bce6e17e44e6ce516ed63b6360823dea10461b3e Cr-Commit-Position: refs/heads/master@{#373861}
4 years, 10 months ago (2016-02-05 18:53:16 UTC) #12
please use gerrit instead
This patch may introduced a build bot failure in webkit_tests: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20Oilpan%20%28dbg%29/builds/4183 Regressions: Unexpected timeouts (1) ...
4 years, 10 months ago (2016-02-05 23:12:15 UTC) #13
Justin Novosad
That is a new test that was added just a few days ago: https://codereview.chromium.org/1631733003/
4 years, 10 months ago (2016-02-08 21:34:54 UTC) #14
Justin Novosad
4 years, 10 months ago (2016-02-08 21:39:19 UTC) #15
Message was sent while issue was closed.
On 2016/02/08 21:34:54, Justin Novosad wrote:
> That is a new test that was added just a few days ago:
> https://codereview.chromium.org/1631733003/

xidachen@ is working on marking it as slow. The test it was derived from is
already marked as slow.

Powered by Google App Engine
This is Rietveld 408576698