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

Issue 2388433003: skpbench: add option for gpu timing (Closed)

Created:
4 years, 2 months ago by csmartdalton
Modified:
4 years, 2 months ago
Reviewers:
egdaniel, bsalomon
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

skpbench: add option for gpu timing Adds a gpu timing option with a GL implementation. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2388433003 Committed: https://skia.googlesource.com/skia/+/c06720d06faab3b01eba1b8693e0ac791f06dc96 Committed: https://skia.googlesource.com/skia/+/c6618dd1dadeac8b47b81fbee108c42cca8ab166

Patch Set 1 #

Total comments: 4

Patch Set 2 : skpbench: add option for gpu timing #

Patch Set 3 : skpbench: add option for gpu timing #

Patch Set 4 : rebase #

Patch Set 5 : skpbench: add option for gpu timing #

Total comments: 2

Patch Set 6 : skpbench: add option for gpu timing #

Patch Set 7 : skpbench: add option for gpu timing #

Patch Set 8 : rebase #

Patch Set 9 : assert fix #

Patch Set 10 : static assert #

Patch Set 11 : delete skstd::exchange is overkill #

Patch Set 12 : SkAutoTDelete #

Unified diffs Side-by-side diffs Delta from patch set Stats (+383 lines, -68 lines) Patch
M tools/gpu/FenceSync.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
A tools/gpu/GpuTimer.h View 1 2 3 4 5 6 7 8 1 chunk +77 lines, -0 lines 0 comments Download
M tools/gpu/TestContext.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -1 line 0 comments Download
M tools/gpu/TestContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -3 lines 0 comments Download
M tools/gpu/gl/GLTestContext.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +132 lines, -0 lines 0 comments Download
M tools/skpbench/_benchresult.py View 3 chunks +4 lines, -1 line 0 comments Download
M tools/skpbench/parseskpbench.py View 3 chunks +54 lines, -37 lines 0 comments Download
M tools/skpbench/skpbench.cpp View 1 2 3 4 5 12 chunks +88 lines, -21 lines 0 comments Download
M tools/skpbench/skpbench.py View 4 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
csmartdalton
4 years, 2 months ago (2016-09-30 18:09:20 UTC) #3
bsalomon
https://codereview.chromium.org/2388433003/diff/1/include/private/SkGpuTimer.h File include/private/SkGpuTimer.h (right): https://codereview.chromium.org/2388433003/diff/1/include/private/SkGpuTimer.h#newcode15 include/private/SkGpuTimer.h:15: using SkPlatformGpuTimerQuery = intptr_t; What do you think about ...
4 years, 2 months ago (2016-09-30 18:37:16 UTC) #4
csmartdalton
https://codereview.chromium.org/2388433003/diff/1/include/private/SkGpuTimer.h File include/private/SkGpuTimer.h (right): https://codereview.chromium.org/2388433003/diff/1/include/private/SkGpuTimer.h#newcode15 include/private/SkGpuTimer.h:15: using SkPlatformGpuTimerQuery = intptr_t; On 2016/09/30 18:37:16, bsalomon wrote: ...
4 years, 2 months ago (2016-10-03 16:52:24 UTC) #5
csmartdalton
rebase
4 years, 2 months ago (2016-10-04 01:20:28 UTC) #6
bsalomon
lgtm, how (in)consistent is the gpu timer with fence based timing? https://codereview.chromium.org/2388433003/diff/80001/tools/gpu/GpuTimer.h File tools/gpu/GpuTimer.h (right): ...
4 years, 2 months ago (2016-10-04 18:00:01 UTC) #7
csmartdalton
Rebased, fixed compiler issues, addressed the comment, and made a couple more stylistic and name ...
4 years, 2 months ago (2016-10-04 19:06:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2388433003/120001
4 years, 2 months ago (2016-10-04 19:06:51 UTC) #11
csmartdalton
On 2016/10/04 18:00:01, bsalomon wrote: > how (in)consistent is the gpu timer with fence based ...
4 years, 2 months ago (2016-10-04 19:17:36 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/c06720d06faab3b01eba1b8693e0ac791f06dc96
4 years, 2 months ago (2016-10-04 19:33:46 UTC) #14
mtklein_C
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2390383002/ by mtklein@chromium.org. ...
4 years, 2 months ago (2016-10-04 19:49:30 UTC) #15
csmartdalton
Oops, bad assert logic. Patchsets 8 and 9 should take care of it.
4 years, 2 months ago (2016-10-04 22:08:13 UTC) #17
csmartdalton
delete skstd::exchange was overkill
4 years, 2 months ago (2016-10-05 15:10:05 UTC) #18
bsalomon
lgtm
4 years, 2 months ago (2016-10-05 15:23:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2388433003/210001
4 years, 2 months ago (2016-10-05 15:24:19 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 15:42:06 UTC) #23
Message was sent while issue was closed.
Committed patchset #12 (id:210001) as
https://skia.googlesource.com/skia/+/c6618dd1dadeac8b47b81fbee108c42cca8ab166

Powered by Google App Engine
This is Rietveld 408576698