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

Issue 317023002: Two new benches for ETC1 bitmaps. (Closed)

Created:
6 years, 6 months ago by krajcevski
Modified:
6 years, 6 months ago
Reviewers:
robertphillips
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Two new benches for ETC1 bitmaps. First bench: Simply render from a compressed ETC1 bitmap. This is roughly equal between compressed and uncompressed data. Second bench: Notify the bitmap that the pixels have changed (that's right, like a liar) to force a re-upload to the GPU. On this bench, decompressed textures seem to inexplicably do an order of magnitude better than compressed textures when it should be the other way around, but that investigation is reserved for a future CL. Committed: https://skia.googlesource.com/skia/+/9a3cdbb3d0957ad3f04d02277a4ce839752f4efd

Patch Set 1 #

Patch Set 2 : Fix a bunch of comments #

Total comments: 20

Patch Set 3 : Code review changes #

Total comments: 4

Patch Set 4 : Better names and comments #

Patch Set 5 : Small nits #

Patch Set 6 : Remove 'this' from initializer list #

Patch Set 7 : Call notify pixels changed directly on the pixel ref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -1 line) Patch
A bench/ETCBitmapBench.cpp View 1 2 3 4 5 6 1 chunk +233 lines, -0 lines 0 comments Download
M gyp/bench.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 3 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
krajcevski
6 years, 6 months ago (2014-06-04 18:12:57 UTC) #1
krajcevski
I updated the comments.
6 years, 6 months ago (2014-06-04 18:21:31 UTC) #2
robertphillips
https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp File bench/ETCBitmapBench.cpp (right): https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp#newcode1 bench/ETCBitmapBench.cpp:1: /* 2014 ? https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp#newcode8 bench/ETCBitmapBench.cpp:8: #include "SkBenchmark.h" Do we ...
6 years, 6 months ago (2014-06-04 18:53:36 UTC) #3
krajcevski
https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp File bench/ETCBitmapBench.cpp (right): https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp#newcode1 bench/ETCBitmapBench.cpp:1: /* On 2014/06/04 18:53:36, robertphillips wrote: > 2014 ? ...
6 years, 6 months ago (2014-06-04 19:26:52 UTC) #4
robertphillips
https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp File bench/ETCBitmapBench.cpp (right): https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp#newcode39 bench/ETCBitmapBench.cpp:39: // The picture must be at least as large ...
6 years, 6 months ago (2014-06-04 19:46:37 UTC) #5
robertphillips
lgtm + nits
6 years, 6 months ago (2014-06-04 19:46:48 UTC) #6
krajcevski
https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp File bench/ETCBitmapBench.cpp (right): https://codereview.chromium.org/317023002/diff/20001/bench/ETCBitmapBench.cpp#newcode39 bench/ETCBitmapBench.cpp:39: // The picture must be at least as large ...
6 years, 6 months ago (2014-06-04 19:57:16 UTC) #7
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 6 months ago (2014-06-04 20:27:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/317023002/90001
6 years, 6 months ago (2014-06-04 20:28:41 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Test-Ubuntu13.10-ShuttleA-NoGPU-x86_64-Debug-Trybot on tryserver.chromium ...
6 years, 6 months ago (2014-06-04 20:49:26 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 21:00:26 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-ShuttleA-NoGPU-x86_64-Debug-Trybot on tryserver.chromium (http://108.170.220.120:10117/builders/Test-Ubuntu13.10-ShuttleA-NoGPU-x86_64-Debug-Trybot/builds/164)
6 years, 6 months ago (2014-06-04 21:00:27 UTC) #12
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 6 months ago (2014-06-05 13:52:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/317023002/110001
6 years, 6 months ago (2014-06-05 13:53:55 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 14:03:44 UTC) #15
Message was sent while issue was closed.
Change committed as 9a3cdbb3d0957ad3f04d02277a4ce839752f4efd

Powered by Google App Engine
This is Rietveld 408576698