History log of /external/skia/bench/BitmapRegionDecoderBench.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d1227a7417922ce26252d55815d0d1e98f0eb070 18-May-2016 msarett <msarett@google.com> Delete SkBitmapRegionCanvas

This was an approach we considered for implementing Android's
BitmapRegionDecoder.

It was useful for testing and comparison, but now is no longer worth
maintaining and testing.

The approach to subset/scaled decodes (clipped decode, then scale)
may be worth reconsidering at some point.

BUG=skia:5307
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1990543002

Review-Url: https://codereview.chromium.org/1990543002
/external/skia/bench/BitmapRegionDecoderBench.cpp
4b0778ec491513d1dab752fddb7520aac19ad47b 13-Nov-2015 msarett <msarett@google.com> Remove dependency on src/android from dm and nanobench

BUG=skia:

Review URL: https://codereview.chromium.org/1443033002
/external/skia/bench/BitmapRegionDecoderBench.cpp
84a80652752976c9abe42d28e467c362baff3e39 11-Nov-2015 msarett <msarett@google.com> Reorganize BRD code in new tools directory

Rename SkCodecTools.h to SkBitmapRegionDecoderPriv.h

Move BRD code to its own directory in tools. This
allows us to not need to expose the entire tools
directory in Android.

BUG=skia:

Review URL: https://codereview.chromium.org/1417393004
/external/skia/bench/BitmapRegionDecoderBench.cpp
0459c9425f567b6d11ca534fb13a05de9f37b7ee 10-Nov-2015 msarett <msarett@google.com> Delete dead subset benches from nanobench

This approach to subset decoding is no longer supported.
We have replaced it with an implementation that does not
depend on forked libraries.
https://codereview.chromium.org/1406153015/

BUG=skia:

Review URL: https://codereview.chromium.org/1430493005
/external/skia/bench/BitmapRegionDecoderBench.cpp
5cb4885b4cd1ac5eb3fc92dac5f5509d7c810464 06-Nov-2015 msarett <msarett@google.com> Rename SkBitmapRegionDecoder and Create function

We no longer need to worry about namespace
conflicts SkBitmapRegionDecoder in Android (which
we are replacing).

Additionally, the static Create() function does not
need to repeat the name BitmapRegionDecoder.

BUG=skia:

Review URL: https://codereview.chromium.org/1415243007
/external/skia/bench/BitmapRegionDecoderBench.cpp
35e5d1b4495478ca3bede66914ae07f50a447c4d 27-Oct-2015 msarett <msarett@google.com> Refactor SkBitmapRegionDecoderInterface for Android

The result SkBitmap, the pixel allocator, and the alpha
preference need to be communicated from the client to
the region decoder.

BUG=skia:

Review URL: https://codereview.chromium.org/1418093006
/external/skia/bench/BitmapRegionDecoderBench.cpp
26ad17b8f872fc8bc18df7f49067edbd8b9799e8 22-Oct-2015 msarett <msarett@google.com> Implementation of SkBitmapRegionDecoder using SkAndroidCodec

Includes testing in DM and nanobench

BUG=skia:

Review URL: https://codereview.chromium.org/1402863002
/external/skia/bench/BitmapRegionDecoderBench.cpp
a1ebeb25e9acfcd801e089e063311d716b83b8a5 01-Oct-2015 mtklein <mtklein@chromium.org> Remove const from `const int loops`.

This drives me nuts, and prevents `while (loops --> 0)`.

BUG=skia:

Review URL: https://codereview.chromium.org/1379923005
/external/skia/bench/BitmapRegionDecoderBench.cpp
8a6697af95b340aad6dee7e6228048fa305c1e59 30-Sep-2015 joshualitt <joshualitt@chromium.org> Fix for nexus 5 crashing in GL benches

GLBenches do not expect gl state to change between onPerCanvasPreDraw and *PostDraw, but we do a clear and sometimes we clear as draw. This causes us to bind vertex objects / programs / etc.

This change creates two new virtual methods which are called right before and immediately after timing.

BUG=skia:

Review URL: https://codereview.chromium.org/1379853003
/external/skia/bench/BitmapRegionDecoderBench.cpp
7f69144aaabbedf51ad2a1feddc9e0689f2c5ee9 22-Sep-2015 msarett <msarett@google.com> Add nanobench tests for BitmapRegionDecoder

SkBitmapRegionDecoderInterface provides an interface
for multiple implementations of Android's
BitmapRegionDecoder.

We already have correctness tests in DM that will enable us
to compare the quality of our various BRD implementations.

We also need these performance tests to compare the speed
of our various implementations.

BUG=skia:4357

Review URL: https://codereview.chromium.org/1344993003
/external/skia/bench/BitmapRegionDecoderBench.cpp