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

Issue 2345233004: Reuse cc::PictureLayers when possible for SPv2. (Closed)

Created:
4 years, 3 months ago by chrishtr
Modified:
4 years, 3 months ago
Reviewers:
pdr., Xianzhu
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reuse cc::PictureLayers when possible for SPv2. The approach is very simple: if the PaintChunk.id's match, then reuse the layer backing a chunk, and rely on the raster invalidations to invalidate as needed if content changes or moves relative to the PaintChunk. BUG=647831 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/06af5b6237a576c36a74c607d154b93320985503 Cr-Commit-Position: refs/heads/master@{#420571}

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Total comments: 11

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Total comments: 8

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Patch Set 12 : none #

Total comments: 4

Patch Set 13 : none #

Patch Set 14 : none #

Patch Set 15 : none #

Patch Set 16 : none #

Patch Set 17 : none #

Patch Set 18 : none #

Patch Set 19 : none #

Patch Set 20 : none #

Messages

Total messages: 71 (45 generated)
chrishtr
https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode59 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:59: if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) In a followup I propose to simplify ...
4 years, 3 months ago (2016-09-20 22:40:58 UTC) #15
Xianzhu
https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1085 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1085: name.append(String::format(" %p", this)); The output of debugName() is used ...
4 years, 3 months ago (2016-09-20 23:13:41 UTC) #18
chrishtr
https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1085 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1085: name.append(String::format(" %p", this)); On 2016/09/20 at 23:13:41, Xianzhu wrote: ...
4 years, 3 months ago (2016-09-20 23:43:59 UTC) #19
pdr.
https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2345233004/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode62 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:62: bool success = false; Nit: move this back down ...
4 years, 3 months ago (2016-09-21 02:46:14 UTC) #24
chrishtr
See also the change to PaintInvalidationCapableScrollableArea. https://codereview.chromium.org/2345233004/diff/120001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/2345233004/diff/120001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode582 content/shell/renderer/layout_test/blink_test_runner.cc:582: if (!is_main_window_ || ...
4 years, 3 months ago (2016-09-21 22:34:42 UTC) #25
chrishtr
Update to the latest patchset.
4 years, 3 months ago (2016-09-21 22:41:39 UTC) #26
pdr.
LGTM https://codereview.chromium.org/2345233004/diff/220001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (right): https://codereview.chromium.org/2345233004/diff/220001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#newcode205 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:205: // TODO(chrishtr): for now, just using a linear ...
4 years, 3 months ago (2016-09-21 22:45:12 UTC) #27
Xianzhu
lgtm
4 years, 3 months ago (2016-09-21 23:17:55 UTC) #28
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/2345233004/240001
4 years, 3 months ago (2016-09-22 16:49:53 UTC) #31
chrishtr
https://codereview.chromium.org/2345233004/diff/220001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (right): https://codereview.chromium.org/2345233004/diff/220001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#newcode205 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:205: // TODO(chrishtr): for now, just using a linear walk. ...
4 years, 3 months ago (2016-09-22 16:51:33 UTC) #33
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/2345233004/260001
4 years, 3 months ago (2016-09-22 17:05:30 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/647)
4 years, 3 months ago (2016-09-22 17:58:38 UTC) #38
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/2345233004/280001
4 years, 3 months ago (2016-09-22 18:25:18 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/648)
4 years, 3 months ago (2016-09-22 18:56:48 UTC) #43
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/2345233004/280001
4 years, 3 months ago (2016-09-22 19:13:03 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/650)
4 years, 3 months ago (2016-09-22 20:08:05 UTC) #47
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/2345233004/300001
4 years, 3 months ago (2016-09-22 21:14:05 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/654)
4 years, 3 months ago (2016-09-22 21:48:03 UTC) #52
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/2345233004/320001
4 years, 3 months ago (2016-09-22 22:09:35 UTC) #55
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/2345233004/340001
4 years, 3 months ago (2016-09-22 23:05:24 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/664)
4 years, 3 months ago (2016-09-23 00:01:30 UTC) #60
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/2345233004/360001
4 years, 3 months ago (2016-09-23 00:09:55 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/666)
4 years, 3 months ago (2016-09-23 00:55:22 UTC) #65
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/2345233004/380001
4 years, 3 months ago (2016-09-23 02:17:49 UTC) #68
commit-bot: I haz the power
Committed patchset #20 (id:380001)
4 years, 3 months ago (2016-09-23 03:53:52 UTC) #69
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 03:56:05 UTC) #71
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/06af5b6237a576c36a74c607d154b93320985503
Cr-Commit-Position: refs/heads/master@{#420571}

Powered by Google App Engine
This is Rietveld 408576698