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

Issue 14322017: Revert "cc: Move canvas clear from picture to picture_pile_impl" (Closed)

Created:
7 years, 7 months ago by vmpstr
Modified:
7 years, 7 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Revert "cc: Move canvas clear from picture to picture_pile_impl This moves a clear per picture into a clear-to-background color per picture pile. We need this to ensure that a solid color page in low res is considered solid, since all the draws are of the same color. BUG=233622 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198272 " TBR=reveman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198826

Patch Set 1 #

Total comments: 1

Patch Set 2 : review #

Total comments: 7

Patch Set 3 : tomhudson's review #

Patch Set 4 : #

Patch Set 5 : undo unittest change #

Patch Set 6 : unittest compile fix #

Patch Set 7 : revert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -23 lines) Patch
M cc/resources/picture.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 3 4 5 6 1 chunk +19 lines, -9 lines 0 comments Download
M skia/ext/analysis_canvas.cc View 1 2 3 4 5 6 2 chunks +2 lines, -6 lines 0 comments Download
M skia/ext/analysis_canvas_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
vmpstr
Please take a look.
7 years, 7 months ago (2013-04-29 17:25:30 UTC) #1
enne (OOO)
lgtm https://codereview.chromium.org/14322017/diff/1/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/14322017/diff/1/cc/resources/picture.cc#newcode170 cc/resources/picture.cc:170: SkRect layer_skrect = SkRect::MakeXYWH(layer_rect_.x(), While you're here, can ...
7 years, 7 months ago (2013-04-29 18:23:35 UTC) #2
vmpstr
+junov for skia/ext owner's review
7 years, 7 months ago (2013-04-29 19:58:29 UTC) #3
Tom Hudson
Driveby OWNER: does this increase total clear() workload at all? That's already a bit of ...
7 years, 7 months ago (2013-04-30 09:43:59 UTC) #4
vmpstr
PTAL https://codereview.chromium.org/14322017/diff/5001/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/14322017/diff/5001/cc/resources/picture.cc#newcode170 cc/resources/picture.cc:170: canvas->clipRect(RectToSkRect(layer_rect_)); On 2013/04/30 09:43:59, Tom Hudson wrote: > ...
7 years, 7 months ago (2013-04-30 17:06:23 UTC) #5
enne (OOO)
https://codereview.chromium.org/14322017/diff/5001/cc/resources/picture_pile_impl.cc File cc/resources/picture_pile_impl.cc (right): https://codereview.chromium.org/14322017/diff/5001/cc/resources/picture_pile_impl.cc#newcode107 cc/resources/picture_pile_impl.cc:107: canvas->drawRect(RectToSkRect(inflated_content_rect), background_paint); On 2013/04/30 17:06:23, vmpstr wrote: > On ...
7 years, 7 months ago (2013-04-30 17:13:52 UTC) #6
vmpstr
On 2013/04/30 17:13:52, enne wrote: > https://codereview.chromium.org/14322017/diff/5001/cc/resources/picture_pile_impl.cc > File cc/resources/picture_pile_impl.cc (right): > > https://codereview.chromium.org/14322017/diff/5001/cc/resources/picture_pile_impl.cc#newcode107 > ...
7 years, 7 months ago (2013-04-30 17:22:32 UTC) #7
enne (OOO)
Ok, sure. I'm really asking to be convinced that changing a drawRect(subrect) to clear(larger rect) ...
7 years, 7 months ago (2013-04-30 17:24:42 UTC) #8
vmpstr
On 2013/04/30 17:24:42, enne wrote: > Ok, sure. I'm really asking to be convinced that ...
7 years, 7 months ago (2013-04-30 17:58:47 UTC) #9
enne (OOO)
On 2013/04/30 17:58:47, vmpstr wrote: > On 2013/04/30 17:24:42, enne wrote: > > Ok, sure. ...
7 years, 7 months ago (2013-04-30 18:09:17 UTC) #10
vmpstr
> The content rect does not always cover the whole SkCanvas during playback. My understanding ...
7 years, 7 months ago (2013-04-30 18:53:00 UTC) #11
Tom Hudson
On 2013/04/30 18:53:00, vmpstr wrote: > > The content rect does not always cover the ...
7 years, 7 months ago (2013-05-01 11:54:21 UTC) #12
enne (OOO)
On 2013/05/01 11:54:21, Tom Hudson wrote: > But the clear is of total_content_rect, which is ...
7 years, 7 months ago (2013-05-01 16:01:47 UTC) #13
Tom Hudson
No, since we're reusing larger tiles, it's no longer obviously the right thing to do. ...
7 years, 7 months ago (2013-05-01 16:19:13 UTC) #14
vmpstr
I've reverted that part. PTAL
7 years, 7 months ago (2013-05-01 17:33:12 UTC) #15
enne (OOO)
lgtm
7 years, 7 months ago (2013-05-01 17:41:00 UTC) #16
vmpstr
Tom, can you take a look as well, please?
7 years, 7 months ago (2013-05-02 16:31:32 UTC) #17
Tom Hudson
lgtm
7 years, 7 months ago (2013-05-03 09:23:36 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14322017/22001
7 years, 7 months ago (2013-05-03 09:23:40 UTC) #19
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=1153
7 years, 7 months ago (2013-05-03 09:33:40 UTC) #20
vmpstr
Tom, you're listed as the owner on your @google.com account. I'm assuming that's why precommit ...
7 years, 7 months ago (2013-05-03 16:25:13 UTC) #21
tomhudson
lgtm Oops!
7 years, 7 months ago (2013-05-03 16:30:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14322017/22001
7 years, 7 months ago (2013-05-03 16:30:58 UTC) #23
tomhudson
lgtm Oops!
7 years, 7 months ago (2013-05-03 16:31:01 UTC) #24
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-03 16:55:51 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14322017/53001
7 years, 7 months ago (2013-05-03 17:26:38 UTC) #26
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=143482
7 years, 7 months ago (2013-05-03 20:57:17 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14322017/53001
7 years, 7 months ago (2013-05-03 21:58:54 UTC) #28
commit-bot: I haz the power
Change committed as 198272
7 years, 7 months ago (2013-05-04 01:10:30 UTC) #29
vmpstr
Reverting due to crbug.com/238226
7 years, 7 months ago (2013-05-07 16:40:05 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14322017/73001
7 years, 7 months ago (2013-05-07 16:40:26 UTC) #31
vmpstr
7 years, 7 months ago (2013-05-07 16:40:52 UTC) #32
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=124998
7 years, 7 months ago (2013-05-07 16:57:59 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14322017/73001
7 years, 7 months ago (2013-05-07 17:13:55 UTC) #34
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=125027
7 years, 7 months ago (2013-05-07 17:45:11 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14322017/73001
7 years, 7 months ago (2013-05-07 18:20:51 UTC) #36
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 23:42:42 UTC) #37
Message was sent while issue was closed.
Change committed as 198826

Powered by Google App Engine
This is Rietveld 408576698