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

Issue 26848013: save/restore the canvas around every bench draw call (Closed)

Created:
7 years, 2 months ago by mtklein
Modified:
7 years, 2 months ago
Reviewers:
djsollen, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

save/restore the canvas around every bench draw call BUG= Committed: http://code.google.com/p/skia/source/detail?r=11728 Committed: http://code.google.com/p/skia/source/detail?r=11755

Patch Set 1 #

Total comments: 1

Patch Set 2 : reed's suggestion #

Patch Set 3 : make SkAutoCanvasRestore work with NULL #

Patch Set 4 : always initialize fSaveCount #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -11 lines) Patch
M bench/benchmain.cpp View 1 2 2 chunks +3 lines, -6 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
mtklein
7 years, 2 months ago (2013-10-11 14:30:55 UTC) #1
djsollen
won't this just mask the real issue that this particular bench eventually scales itself to ...
7 years, 2 months ago (2013-10-11 14:39:05 UTC) #2
mtklein
On 2013/10/11 14:39:05, djsollen wrote: > won't this just mask the real issue that this ...
7 years, 2 months ago (2013-10-11 14:52:56 UTC) #3
djsollen
thanks for the explanation. lgtm
7 years, 2 months ago (2013-10-11 14:54:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/26848013/1
7 years, 2 months ago (2013-10-11 14:57:27 UTC) #5
commit-bot: I haz the power
Change committed as 11728
7 years, 2 months ago (2013-10-11 15:20:30 UTC) #6
reed1
https://codereview.chromium.org/26848013/diff/1/bench/benchmain.cpp File bench/benchmain.cpp (right): https://codereview.chromium.org/26848013/diff/1/bench/benchmain.cpp#newcode601 bench/benchmain.cpp:601: if (NULL != canvas) { We have SkAutoCanvasRestore. One ...
7 years, 2 months ago (2013-10-14 13:18:04 UTC) #7
mtklein
On 2013/10/14 13:18:04, reed1 wrote: > https://codereview.chromium.org/26848013/diff/1/bench/benchmain.cpp > File bench/benchmain.cpp (right): > > https://codereview.chromium.org/26848013/diff/1/bench/benchmain.cpp#newcode601 > ...
7 years, 2 months ago (2013-10-14 14:42:39 UTC) #8
reed1
On 2013/10/14 14:42:39, mtklein wrote: > On 2013/10/14 13:18:04, reed1 wrote: > > https://codereview.chromium.org/26848013/diff/1/bench/benchmain.cpp > ...
7 years, 2 months ago (2013-10-14 14:51:17 UTC) #9
mtklein
On 2013/10/14 14:51:17, reed1 wrote: > On 2013/10/14 14:42:39, mtklein wrote: > > On 2013/10/14 ...
7 years, 2 months ago (2013-10-14 14:58:18 UTC) #10
reed1
lgtm
7 years, 2 months ago (2013-10-14 15:01:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/26848013/19001
7 years, 2 months ago (2013-10-14 15:03:53 UTC) #12
commit-bot: I haz the power
Retried try job too often on Build-Ubuntu12-GCC-x86_64-Release-Trybot for step(s) BuildBench, BuildEverything, BuildGm, BuildSkiaLib, BuildTests, BuildTools ...
7 years, 2 months ago (2013-10-14 15:13:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/26848013/17001
7 years, 2 months ago (2013-10-14 15:18:33 UTC) #14
commit-bot: I haz the power
7 years, 2 months ago (2013-10-14 15:28:04 UTC) #15
Message was sent while issue was closed.
Change committed as 11755

Powered by Google App Engine
This is Rietveld 408576698