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

Issue 1336043003: Add viewer mode to VisualBench. (Closed)

Created:
5 years, 3 months ago by jvanverth1
Modified:
5 years, 3 months ago
Reviewers:
joshualitt
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add viewer mode to VisualBench. Displays each benchmark/skp with a graph showing a series of frame times. Use the space bar to skip to the next benchmark. Adds an option to hit ESC to quit VisualBench. Useful in fullscreen mode. Committed: https://skia.googlesource.com/skia/+/f5d1b2de031b4ae2130280dd09eadcccb001ba11

Patch Set 1 #

Patch Set 2 : Rename Visual to Interactive #

Patch Set 3 : Fix short option #

Patch Set 4 : Fix short option again #

Total comments: 12

Patch Set 5 : Address comments #

Patch Set 6 : Add clear method to VisualBench #

Total comments: 1

Patch Set 7 : Use double clear w/ lightweight bench #

Patch Set 8 : Fix init order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -27 lines) Patch
M tools/VisualBench/VisualBench.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tools/VisualBench/VisualBench.cpp View 1 2 3 4 5 2 chunks +22 lines, -1 line 0 comments Download
A + tools/VisualBench/VisualInteractiveModule.h View 1 4 chunks +19 lines, -25 lines 0 comments Download
A tools/VisualBench/VisualInteractiveModule.cpp View 1 2 3 4 5 6 7 1 chunk +230 lines, -0 lines 0 comments Download
M tools/VisualBench/VisualLightweightBenchModule.h View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/VisualBench/VisualLightweightBenchModule.cpp View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M tools/VisualBench/VisualModule.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
jvanverth1
5 years, 3 months ago (2015-09-11 18:35:45 UTC) #2
joshualitt
minor feedback https://codereview.chromium.org/1336043003/diff/60001/tools/VisualBench/VisualBench.cpp File tools/VisualBench/VisualBench.cpp (right): https://codereview.chromium.org/1336043003/diff/60001/tools/VisualBench/VisualBench.cpp#newcode113 tools/VisualBench/VisualBench.cpp:113: if (27 == unichar) { static const ...
5 years, 3 months ago (2015-09-14 14:07:45 UTC) #3
jvanverth1
https://codereview.chromium.org/1336043003/diff/60001/tools/VisualBench/VisualBench.cpp File tools/VisualBench/VisualBench.cpp (right): https://codereview.chromium.org/1336043003/diff/60001/tools/VisualBench/VisualBench.cpp#newcode113 tools/VisualBench/VisualBench.cpp:113: if (27 == unichar) { On 2015/09/14 14:07:45, joshualitt ...
5 years, 3 months ago (2015-09-14 16:21:39 UTC) #4
jvanverth1
Added a clear() method to VisualBench(). I tried to add it to VisualModule, but there ...
5 years, 3 months ago (2015-09-14 18:25:45 UTC) #5
joshualitt
lgtm with a question https://codereview.chromium.org/1336043003/diff/90001/tools/VisualBench/VisualLightweightBenchModule.cpp File tools/VisualBench/VisualLightweightBenchModule.cpp (right): https://codereview.chromium.org/1336043003/diff/90001/tools/VisualBench/VisualLightweightBenchModule.cpp#newcode130 tools/VisualBench/VisualLightweightBenchModule.cpp:130: fOwner->clear(canvas, SK_ColorWHITE, 1); I think ...
5 years, 3 months ago (2015-09-15 13:38:13 UTC) #6
jvanverth1
On 2015/09/15 13:38:13, joshualitt wrote: > lgtm with a question > > https://codereview.chromium.org/1336043003/diff/90001/tools/VisualBench/VisualLightweightBenchModule.cpp > File ...
5 years, 3 months ago (2015-09-15 14:22:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1336043003/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1336043003/110001
5 years, 3 months ago (2015-09-15 14:22:45 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/3249)
5 years, 3 months ago (2015-09-15 14:24:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1336043003/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1336043003/130001
5 years, 3 months ago (2015-09-15 14:33:48 UTC) #15
commit-bot: I haz the power
5 years, 3 months ago (2015-09-15 14:41:01 UTC) #16
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://skia.googlesource.com/skia/+/f5d1b2de031b4ae2130280dd09eadcccb001ba11

Powered by Google App Engine
This is Rietveld 408576698