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

Issue 2755183002: Change drawPicture calls to playback to avoid culling (Closed)

Created:
3 years, 9 months ago by enne (OOO)
Modified:
3 years, 9 months ago
Reviewers:
danakj, pdr.
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, fmalita+watch_chromium.org, jbroman, jchaffraix+rendering, Justin Novosad, kinuko+watch, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change drawPicture calls to playback to avoid culling This patch (https://codereview.chromium.org/2690583002) changed a number of SkPicture::playback calls to be PaintCanvas::drawPicture calls. However, drawPicture adds an extra clip, so if the rect given to the SkPicture is incorrect then drawPicture will have different behavior. This patch (https://codereview.chromium.org/2743143002) fixed one of these occurrences by fixing the rect. This patch adds a temporary helper for playback to fix all of these issues. BUG=702577 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2755183002 Cr-Commit-Position: refs/heads/master@{#458528} Committed: https://chromium.googlesource.com/chromium/src/+/2458d6d33ad666a16fa053063a872523c472acd4

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -19 lines) Patch
M cc/paint/paint_canvas.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M cc/paint/skia_paint_canvas.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/paint/skia_paint_canvas.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGShapePainter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebFont.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp View 1 10 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
enne (OOO)
pdr: I tried! I fixed one of these rect issues, but now there are others. ...
3 years, 9 months ago (2017-03-17 19:05:06 UTC) #6
pdr.
On 2017/03/17 at 19:05:06, enne wrote: > pdr: I tried! I fixed one of these ...
3 years, 9 months ago (2017-03-18 03:41:44 UTC) #11
danakj
LGTM https://codereview.chromium.org/2755183002/diff/1/cc/paint/paint_canvas.h File cc/paint/paint_canvas.h (right): https://codereview.chromium.org/2755183002/diff/1/cc/paint/paint_canvas.h#newcode199 cc/paint/paint_canvas.h:199: // TODO(enne): ideally this should live on PaintRecord, ...
3 years, 9 months ago (2017-03-20 14:53:55 UTC) #12
enne (OOO)
On 2017/03/18 at 03:41:44, pdr wrote: > On 2017/03/17 at 19:05:06, enne wrote: > The ...
3 years, 9 months ago (2017-03-20 17:41:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2755183002/20001
3 years, 9 months ago (2017-03-20 17:42:26 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/139906)
3 years, 9 months ago (2017-03-20 19:19:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2755183002/20001
3 years, 9 months ago (2017-03-21 17:09:18 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 20:14:21 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/2458d6d33ad666a16fa053063a87...

Powered by Google App Engine
This is Rietveld 408576698