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

Issue 731973005: Add MultiPictureDraw to nanobench (Closed)

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

Description

Add MultiPictureDraw to nanobench I would like some guard against performance regressions on our side before turning layer hoisting on in Chromium. TBR=bsalomon@google.com Committed: https://skia.googlesource.com/skia/+/0ddad31012dabfc1267effc8071d37f7d606efbe Committed: https://skia.googlesource.com/skia/+/5b69377507478623dcf5b11f3ecb010f87c4794f

Patch Set 1 #

Patch Set 2 : Fix bug in scaled tile placement #

Total comments: 6

Patch Set 3 : Fix bug with skp matching & enable threading #

Patch Set 4 : Fix MPD logging for record pass over skps #

Patch Set 5 : Fix threading issue in SkColorTable #

Total comments: 1

Patch Set 6 : Make sure gl is setup prior to the perCanvasPreDraw call #

Patch Set 7 : Remove assert that isn't always true when multithreaded #

Total comments: 2

Patch Set 8 : Disable multithreading in nanobench #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -41 lines) Patch
M bench/Benchmark.h View 2 chunks +7 lines, -0 lines 0 comments Download
M bench/Benchmark.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M bench/SKPBench.h View 1 2 2 chunks +14 lines, -6 lines 0 comments Download
M bench/SKPBench.cpp View 1 3 chunks +90 lines, -14 lines 0 comments Download
M bench/nanobench.cpp View 1 2 3 4 5 6 7 10 chunks +55 lines, -19 lines 1 comment Download
M include/core/SkColorTable.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkColorTable.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 43 (17 generated)
robertphillips
6 years, 1 month ago (2014-11-19 18:44:29 UTC) #2
mtklein
https://codereview.chromium.org/731973005/diff/20001/bench/nanobench.cpp File bench/nanobench.cpp (right): https://codereview.chromium.org/731973005/diff/20001/bench/nanobench.cpp#newcode72 bench/nanobench.cpp:72: DEFINE_bool(bbh, true, "Build a BBH for SKPs?"); Seems like ...
6 years, 1 month ago (2014-11-19 19:12:37 UTC) #3
robertphillips
https://codereview.chromium.org/731973005/diff/20001/bench/nanobench.cpp File bench/nanobench.cpp (right): https://codereview.chromium.org/731973005/diff/20001/bench/nanobench.cpp#newcode72 bench/nanobench.cpp:72: DEFINE_bool(bbh, true, "Build a BBH for SKPs?"); On 2014/11/19 ...
6 years, 1 month ago (2014-11-19 19:58:58 UTC) #4
mtklein
lgtm
6 years, 1 month ago (2014-11-19 20:03:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/40001
6 years, 1 month ago (2014-11-19 20:04:50 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/812)
6 years, 1 month ago (2014-11-19 20:17:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/40001
6 years, 1 month ago (2014-11-19 20:27:14 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/816)
6 years, 1 month ago (2014-11-19 20:38:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/60001
6 years, 1 month ago (2014-11-19 20:53:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/60001
6 years, 1 month ago (2014-11-19 21:06:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/80001
6 years, 1 month ago (2014-11-20 14:17:13 UTC) #21
commit-bot: I haz the power
Presubmit check for 731973005-80001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 1 month ago (2014-11-20 14:17:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/80001
6 years, 1 month ago (2014-11-20 14:19:14 UTC) #26
mtklein
https://codereview.chromium.org/731973005/diff/80001/include/core/SkColorTable.h File include/core/SkColorTable.h (right): https://codereview.chromium.org/731973005/diff/80001/include/core/SkColorTable.h#newcode49 include/core/SkColorTable.h:49: SkDEBUGCODE(sk_atomic_inc(&fColorLockCount);) It's funny we inline lockColors() and unlock16BitCache(), but ...
6 years, 1 month ago (2014-11-20 14:21:47 UTC) #28
robertphillips
https://codereview.chromium.org/731973005/diff/120001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (left): https://codereview.chromium.org/731973005/diff/120001/src/core/SkBitmap.cpp#oldcode1325 src/core/SkBitmap.cpp:1325: SkASSERT(fPixelRef); In a multithreaded world this bitmap's unlockPixels method ...
6 years, 1 month ago (2014-11-21 13:18:35 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/120001
6 years, 1 month ago (2014-11-21 13:19:40 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/0ddad31012dabfc1267effc8071d37f7d606efbe
6 years, 1 month ago (2014-11-21 13:36:01 UTC) #32
mtklein
https://codereview.chromium.org/731973005/diff/120001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (left): https://codereview.chromium.org/731973005/diff/120001/src/core/SkBitmap.cpp#oldcode1325 src/core/SkBitmap.cpp:1325: SkASSERT(fPixelRef); On 2014/11/21 13:18:35, robertphillips wrote: > In a ...
6 years, 1 month ago (2014-11-21 13:40:44 UTC) #33
robertphillips
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/750583002/ by robertphillips@google.com. ...
6 years, 1 month ago (2014-11-21 13:49:16 UTC) #34
robertphillips
PTAL.
6 years, 1 month ago (2014-11-21 14:01:11 UTC) #35
mtklein
lgtm
6 years, 1 month ago (2014-11-21 14:05:02 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731973005/140001
6 years, 1 month ago (2014-11-21 14:08:17 UTC) #38
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://skia.googlesource.com/skia/+/5b69377507478623dcf5b11f3ecb010f87c4794f
6 years, 1 month ago (2014-11-21 14:19:40 UTC) #39
jcgregorio
On 2014/11/21 14:19:40, I haz the power (commit-bot) wrote: > Committed patchset #8 (id:140001) as ...
6 years, 1 month ago (2014-11-21 15:02:30 UTC) #40
jcgregorio
Adding mtklein for the mpd parameter question.
6 years, 1 month ago (2014-11-21 15:03:11 UTC) #42
mtklein
6 years, 1 month ago (2014-11-21 15:13:21 UTC) #43
Message was sent while issue was closed.
https://codereview.chromium.org/731973005/diff/140001/bench/nanobench.cpp
File bench/nanobench.cpp (right):

https://codereview.chromium.org/731973005/diff/140001/bench/nanobench.cpp#new...
bench/nanobench.cpp:578: log->configOption("multi_picture_draw",
fUseMPDs[fCurrentUseMPD-1] ? "true" : "false");
This doesn't do it?

Powered by Google App Engine
This is Rietveld 408576698