diff options
| author | scroggo <scroggo@google.com> | 2015-03-17 05:02:17 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-03-17 05:02:17 -0700 |
| commit | 9552662e9fee5eb0ef435e52ab9db505d7ebe4ad (patch) | |
| tree | 14784df8eb591511d7a3580ebec89636e4d16710 /tests/CachedDecodingPixelRefTest.cpp | |
| parent | d0a840d4d8bb6ebc9981cc331b1b231a6c6e0928 (diff) | |
Option for SkCodec to treat dst as all zeroes.
This recreates SkImageDecoder's feature to skip writing zeroes for
SkCodec.
Review URL: https://codereview.chromium.org/980903002
Diffstat (limited to 'tests/CachedDecodingPixelRefTest.cpp')
| -rw-r--r-- | tests/CachedDecodingPixelRefTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp index 3882026c77..d6edda75cb 100644 --- a/tests/CachedDecodingPixelRefTest.cpp +++ b/tests/CachedDecodingPixelRefTest.cpp @@ -190,6 +190,7 @@ protected: } virtual Result onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, + const Options&, SkPMColor ctable[], int* ctableCount) SK_OVERRIDE { REPORTER_ASSERT(fReporter, pixels != NULL); REPORTER_ASSERT(fReporter, rowBytes >= info.minRowBytes()); |
