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

Issue 79313003: Disable the save/clip/restore peephole optimization when a bounding hierarchy is used (Closed)

Created:
7 years, 1 month ago by Justin Novosad
Modified:
7 years ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Disable the save/clip/restore peephole optimization when a bounding hierarchy is used This optimization is redundant with the state traversal optimization that is performed by SkPictureStateTree and it introduces significant record time overhead. Therefore it is better not to perform this optimization when using a BBoxHierarchy. BUG=skia:1852 Committed: http://code.google.com/p/skia/source/detail?r=12367

Patch Set 1 #

Total comments: 1

Patch Set 2 : moar comments #

Patch Set 3 : Compile fix #

Patch Set 4 : Compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M src/core/SkPictureRecord.cpp View 1 2 3 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Justin Novosad
PTAL. Launched some perf try jobs on Android. I expect the change to result in ...
7 years, 1 month ago (2013-11-20 21:05:45 UTC) #1
reed1
https://codereview.chromium.org/79313003/diff/1/src/core/SkPictureRecord.cpp File src/core/SkPictureRecord.cpp (right): https://codereview.chromium.org/79313003/diff/1/src/core/SkPictureRecord.cpp#newcode526 src/core/SkPictureRecord.cpp:526: kSkipIfBBoxHierarchy_Flag = 0x1, // Optimization should be skipped if ...
7 years, 1 month ago (2013-11-20 21:08:52 UTC) #2
Justin Novosad
On 2013/11/20 21:08:52, reed1 wrote: > https://codereview.chromium.org/79313003/diff/1/src/core/SkPictureRecord.cpp > File src/core/SkPictureRecord.cpp (right): > > https://codereview.chromium.org/79313003/diff/1/src/core/SkPictureRecord.cpp#newcode526 > ...
7 years, 1 month ago (2013-11-20 21:28:13 UTC) #3
tomhudson
Code LGTM, I can't see the trybots. Nit: is it clear that fBoundingHierarchy != NULL ...
7 years, 1 month ago (2013-11-21 11:46:16 UTC) #4
robertphillips
lgtm
7 years, 1 month ago (2013-11-21 13:02:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/junov@chromium.org/79313003/90001
7 years, 1 month ago (2013-11-21 13:03:49 UTC) #6
commit-bot: I haz the power
Retried try job too often on Build-Mac10.7-Clang-x86-Release-Trybot for step(s) BuildEverything, BuildSkiaLib, BuildTests http://skiabot-master.pogerlabs.com:10117/buildstatus?builder=Build-Mac10.7-Clang-x86-Release-Trybot&number=1033
7 years, 1 month ago (2013-11-21 13:21:44 UTC) #7
Justin Novosad
On 2013/11/21 13:21:44, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 1 month ago (2013-11-22 19:22:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/junov@chromium.org/79313003/270001
7 years, 1 month ago (2013-11-22 19:31:48 UTC) #9
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 19:42:15 UTC) #10
Message was sent while issue was closed.
Change committed as 12367

Powered by Google App Engine
This is Rietveld 408576698