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

Issue 117583002: Update bench pictures to time image decode & upload costs (Closed)

Created:
7 years ago by robertphillips
Modified:
7 years ago
Reviewers:
hal.canary, bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

This CL allows bench_pictures to time the setup cost of decoding textures and uploading them to the GPU. We are working towards being able to decode and upload textures in a separate thread and this benching capability will allow us to evaluate our progress. With this change we currently have (for tabl_ukwsj): viewport mode with purging without purging gpu 228.93 3.51 raster 184.08 2.73 tiled mode with purging without purging gpu 783.52 40.17 raster 607.62 20.28

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : More clean up #

Total comments: 6

Patch Set 4 : Respond to code review comments #

Total comments: 1

Patch Set 5 : Fixed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -2 lines) Patch
M gyp/tools.gyp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/gpu/GrTest.cpp View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M tools/PictureBenchmark.h View 2 chunks +4 lines, -1 line 0 comments Download
M tools/PictureBenchmark.cpp View 1 6 chunks +19 lines, -1 line 0 comments Download
M tools/PictureRenderer.h View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
robertphillips
7 years ago (2013-12-18 14:03:11 UTC) #1
robertphillips
Adding Hal for SkDiscardableMemoryPool side
7 years ago (2013-12-18 14:03:36 UTC) #2
bsalomon
https://codereview.chromium.org/117583002/diff/40001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/117583002/diff/40001/include/gpu/GrContext.h#newcode962 include/gpu/GrContext.h:962: friend class SkTools_PictureRenderer; // Allow access to purgeAllUnlocked for ...
7 years ago (2013-12-18 14:51:36 UTC) #3
robertphillips
https://codereview.chromium.org/117583002/diff/40001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/117583002/diff/40001/include/gpu/GrContext.h#newcode962 include/gpu/GrContext.h:962: friend class SkTools_PictureRenderer; // Allow access to purgeAllUnlocked for ...
7 years ago (2013-12-18 15:59:13 UTC) #4
bsalomon
lgtm https://codereview.chromium.org/117583002/diff/60001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/117583002/diff/60001/include/gpu/GrContext.h#newcode215 include/gpu/GrContext.h:215: * and is only available if defined outside ...
7 years ago (2013-12-18 16:16:12 UTC) #5
hal.canary
On 2013/12/18 14:03:36, robertphillips wrote: > Adding Hal for SkDiscardableMemoryPool side As I mentioned in ...
7 years ago (2013-12-18 16:28:23 UTC) #6
robertphillips
7 years ago (2013-12-18 17:25:50 UTC) #7
Message was sent while issue was closed.
committed as r12742

Powered by Google App Engine
This is Rietveld 408576698