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

Issue 470543004: SkPatchGrid bench (Closed)

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

Description

Added bench for grid of patches. It is on top of my previous cl to fix the mem leaks of the regular patch bench. NOTREECHECKS=true BUG=skia: Committed: https://skia.googlesource.com/skia/+/7e5598a004d0aceb630707053566bee523feea66

Patch Set 1 #

Patch Set 2 : Moved setup to onPreDraw #

Total comments: 11

Patch Set 3 : Fixed headers, removed virtuals and avoid &'s in names (Patch and PatchGrid benches) #

Total comments: 1

Patch Set 4 : Comments for bench #

Patch Set 5 : Rebased and try to apply patch again #

Patch Set 6 : Added SK_OVERRIDE to virtual overrides #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -22 lines) Patch
M bench/PatchBench.cpp View 1 2 3 4 5 7 chunks +15 lines, -15 lines 0 comments Download
A bench/PatchGridBench.cpp View 1 2 3 4 5 1 chunk +259 lines, -0 lines 0 comments Download
M gyp/bench.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M src/utils/SkPatchGrid.cpp View 1 chunk +8 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
dandov
Just added a bench for SKPatchGrid that has 3 different sizes and combinations of the ...
6 years, 4 months ago (2014-08-14 19:19:49 UTC) #1
dandov
Set up things inside onPreDraw. Looking at how SkPaint::setShader works I think I can unref ...
6 years, 4 months ago (2014-08-14 20:44:07 UTC) #2
egdaniel
https://codereview.chromium.org/470543004/diff/20001/bench/PatchGridBench.cpp File bench/PatchGridBench.cpp (right): https://codereview.chromium.org/470543004/diff/20001/bench/PatchGridBench.cpp#newcode15 bench/PatchGridBench.cpp:15: #include "SkRandom.h" Is this needed? https://codereview.chromium.org/470543004/diff/20001/bench/PatchGridBench.cpp#newcode16 bench/PatchGridBench.cpp:16: #include "SkShader.h" ...
6 years, 4 months ago (2014-08-14 21:08:45 UTC) #3
dandov
https://codereview.chromium.org/470543004/diff/20001/bench/PatchGridBench.cpp File bench/PatchGridBench.cpp (right): https://codereview.chromium.org/470543004/diff/20001/bench/PatchGridBench.cpp#newcode15 bench/PatchGridBench.cpp:15: #include "SkRandom.h" On 2014/08/14 21:08:45, egdaniel wrote: > Is ...
6 years, 4 months ago (2014-08-14 21:20:39 UTC) #4
egdaniel
lgtm with comment nit https://codereview.chromium.org/470543004/diff/40001/bench/PatchGridBench.cpp File bench/PatchGridBench.cpp (right): https://codereview.chromium.org/470543004/diff/40001/bench/PatchGridBench.cpp#newcode14 bench/PatchGridBench.cpp:14: Add very brief comment on ...
6 years, 4 months ago (2014-08-15 03:46:27 UTC) #5
dandov
On 2014/08/15 03:46:27, egdaniel wrote: > lgtm with comment nit > > https://codereview.chromium.org/470543004/diff/40001/bench/PatchGridBench.cpp > File ...
6 years, 4 months ago (2014-08-15 13:56:15 UTC) #6
dandov
The CQ bit was checked by dandov@google.com
6 years, 4 months ago (2014-08-15 13:56:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dandov@google.com/470543004/60001
6 years, 4 months ago (2014-08-15 13:57:12 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 13:57:16 UTC) #9
commit-bot: I haz the power
Failed to apply patch for src/core/SkDevice.cpp: While running git apply --index -p1; <stdin>:14: trailing whitespace. ...
6 years, 4 months ago (2014-08-15 13:57:17 UTC) #10
dandov
The CQ bit was checked by dandov@google.com
6 years, 4 months ago (2014-08-15 14:14:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dandov@google.com/470543004/80001
6 years, 4 months ago (2014-08-15 14:15:12 UTC) #12
bsalomon
Can you put SK_OVERRIDE on all the virtual overrides? Also, OK to NOTREECHECKS=true this one.
6 years, 4 months ago (2014-08-15 17:38:03 UTC) #13
dandov
The CQ bit was unchecked by dandov@google.com
6 years, 4 months ago (2014-08-15 20:16:18 UTC) #14
dandov
The CQ bit was checked by dandov@google.com
6 years, 4 months ago (2014-08-15 20:22:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dandov@google.com/470543004/100001
6 years, 4 months ago (2014-08-15 20:22:53 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 20:31:00 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (100001) as 7e5598a004d0aceb630707053566bee523feea66

Powered by Google App Engine
This is Rietveld 408576698