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

Issue 1632263002: Calculate and track display item opaqueness (Closed)

Created:
4 years, 11 months ago by pdr.
Modified:
4 years, 11 months ago
Reviewers:
chrishtr, jbroman, trchen
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Calculate and track display item opaqueness Performance requires that some opaque chunks (such as the background) are drawn using a layer set to be opaque. This patch implements this idea by adding a bit to DrawingDisplayItem for whether the item is known to be opaque. The "knownToBeOpaque" bit is used to mark layers as explicitly opaque which lets us pass 2x more tests. BUG=580355 Committed: https://crrev.com/d82d06a85425c08c0e219659f11cf08b6a6ee6a8 Cr-Commit-Position: refs/heads/master@{#371941}

Patch Set 1 #

Total comments: 4

Patch Set 2 : SkRegion, operator==, PrintTo, and more for the low low price of... #

Patch Set 3 : Be more conservative about rounding #

Total comments: 2

Patch Set 4 : Fix print output and add some commentary #

Total comments: 2

Patch Set 5 : Remove comment about moving bits #

Messages

Total messages: 34 (13 generated)
pdr.
4 years, 11 months ago (2016-01-26 17:39:29 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632263002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632263002/1
4 years, 11 months ago (2016-01-26 17:40:40 UTC) #4
jbroman
This also seems not too hard to unit test. https://codereview.chromium.org/1632263002/diff/1/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp (right): https://codereview.chromium.org/1632263002/diff/1/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp#newcode34 third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp:34: ...
4 years, 11 months ago (2016-01-26 17:50:14 UTC) #5
jbroman
On 2016/01/26 at 17:50:14, jbroman wrote: > This also seems not too hard to unit ...
4 years, 11 months ago (2016-01-26 17:52:43 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-26 19:19:56 UTC) #8
pdr.
PTAL, this is shaping up to be a real patch so I've removed "WIP" and ...
4 years, 11 months ago (2016-01-26 23:38:09 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632263002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632263002/20001
4 years, 11 months ago (2016-01-26 23:41:45 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632263002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632263002/40001
4 years, 11 months ago (2016-01-27 00:41:28 UTC) #14
jbroman
https://codereview.chromium.org/1632263002/diff/40001/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp File third_party/WebKit/Source/platform/testing/PaintPrinters.cpp (right): https://codereview.chromium.org/1632263002/diff/40001/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp#newcode52 third_party/WebKit/Source/platform/testing/PaintPrinters.cpp:52: *os << "), knownToBeOpaque=" << chunk.knownToBeOpaque; Please don't put ...
4 years, 11 months ago (2016-01-27 01:47:14 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-27 02:29:02 UTC) #17
pdr.
https://codereview.chromium.org/1632263002/diff/40001/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp File third_party/WebKit/Source/platform/testing/PaintPrinters.cpp (right): https://codereview.chromium.org/1632263002/diff/40001/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp#newcode52 third_party/WebKit/Source/platform/testing/PaintPrinters.cpp:52: *os << "), knownToBeOpaque=" << chunk.knownToBeOpaque; On 2016/01/27 at ...
4 years, 11 months ago (2016-01-27 05:07:46 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632263002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632263002/60001
4 years, 11 months ago (2016-01-27 05:09:06 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-27 06:34:54 UTC) #22
jbroman
https://codereview.chromium.org/1632263002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h File third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h (right): https://codereview.chromium.org/1632263002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h#newcode64 third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h:64: // True if there are no transparent areas. Only ...
4 years, 11 months ago (2016-01-27 16:04:27 UTC) #23
pdr.
On 2016/01/27 at 16:04:27, jbroman wrote: > https://codereview.chromium.org/1632263002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h > File third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h (right): > > https://codereview.chromium.org/1632263002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h#newcode64 ...
4 years, 11 months ago (2016-01-27 19:41:47 UTC) #24
jbroman
lgtm
4 years, 11 months ago (2016-01-27 19:46:45 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632263002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632263002/80001
4 years, 11 months ago (2016-01-27 19:48:45 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/172323)
4 years, 11 months ago (2016-01-27 21:52:43 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632263002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632263002/80001
4 years, 11 months ago (2016-01-27 23:37:00 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-28 00:40:45 UTC) #32
commit-bot: I haz the power
4 years, 11 months ago (2016-01-28 00:41:38 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d82d06a85425c08c0e219659f11cf08b6a6ee6a8
Cr-Commit-Position: refs/heads/master@{#371941}

Powered by Google App Engine
This is Rietveld 408576698