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

Issue 464433002: Add layer counting to SkPictureRecord (Closed)

Created:
6 years, 4 months ago by robertphillips
Modified:
6 years, 4 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add layer counting to SkPictureRecord This will be used for a SkPicture::suitableForOptimization entry point. Committed: https://skia.googlesource.com/skia/+/4a2b2e8ed2e35171bf98bad68a69daaced11ec7c Committed: https://skia.googlesource.com/skia/+/c019ec412ba2704bc6e2cdfd321ea06787ba415d

Patch Set 1 #

Patch Set 2 : Clean up #

Patch Set 3 : Fix #

Patch Set 4 : Clean up #

Total comments: 2

Patch Set 5 : Add usage of layer stats #

Patch Set 6 : address code review comments #

Total comments: 2

Patch Set 7 : alter layer optimization check #

Patch Set 8 : Fix bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -5 lines) Patch
M src/core/SkPictureContentInfo.h View 1 2 3 4 5 6 3 chunks +30 lines, -0 lines 0 comments Download
M src/core/SkPictureContentInfo.cpp View 1 2 3 4 5 4 chunks +68 lines, -0 lines 0 comments Download
M src/core/SkPictureData.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkPictureData.cpp View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 6 chunks +19 lines, -5 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
robertphillips
6 years, 4 months ago (2014-08-11 20:00:21 UTC) #1
bsalomon
lgtm I'd maybe call it interior rather than nesting layer just b/c that's the usual ...
6 years, 4 months ago (2014-08-11 20:07:38 UTC) #2
robertphillips
Please take another look. I've add the usage in the experimental optimize method. Note that ...
6 years, 4 months ago (2014-08-11 20:53:27 UTC) #3
bsalomon
https://codereview.chromium.org/464433002/diff/100001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/464433002/diff/100001/include/core/SkPicture.h#newcode191 include/core/SkPicture.h:191: bool suitableForOptimization() const; This seems really general. It's really ...
6 years, 4 months ago (2014-08-11 20:58:21 UTC) #4
robertphillips
Here is a slightly lower level implementation of the layer hoisting optimization short circuit. https://codereview.chromium.org/464433002/diff/100001/include/core/SkPicture.h ...
6 years, 4 months ago (2014-08-11 21:17:49 UTC) #5
bsalomon
lgtm
6 years, 4 months ago (2014-08-11 21:30:08 UTC) #6
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 4 months ago (2014-08-11 21:36:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/464433002/120001
6 years, 4 months ago (2014-08-11 21:37:37 UTC) #8
commit-bot: I haz the power
Change committed as 4a2b2e8ed2e35171bf98bad68a69daaced11ec7c
6 years, 4 months ago (2014-08-11 21:45:43 UTC) #9
mtklein
A revert of this CL has been created in https://codereview.chromium.org/452673003/ by mtklein@google.com. The reason for ...
6 years, 4 months ago (2014-08-11 22:18:54 UTC) #10
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 4 months ago (2014-08-12 12:27:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/464433002/140001
6 years, 4 months ago (2014-08-12 12:29:05 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 12:36:04 UTC) #13
Message was sent while issue was closed.
Change committed as c019ec412ba2704bc6e2cdfd321ea06787ba415d

Powered by Google App Engine
This is Rietveld 408576698