aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ImageDecodingTest.cpp
diff options
context:
space:
mode:
authorGravatar krajcevski <krajcevski@google.com>2014-08-07 11:18:09 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-07 11:18:09 -0700
commit2fc05823fed4b9649338f3029cd1ba05ef49a02f (patch)
treed0faea7d24de0e9a9a3dbc1be94ff80742c25238 /tests/ImageDecodingTest.cpp
parentb99c4a7bf2ff8d34b6adc053071a8bafdc868c73 (diff)
- Add astcbitmap to gm slides
- Add additional ASTC formats - Add astc image decoder files R=reed@google.com, robertphillips@google.com, halcanary@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/444093002
Diffstat (limited to 'tests/ImageDecodingTest.cpp')
-rw-r--r--tests/ImageDecodingTest.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp
index 5e63611348..8838e75566 100644
--- a/tests/ImageDecodingTest.cpp
+++ b/tests/ImageDecodingTest.cpp
@@ -55,9 +55,10 @@ static bool skip_image_format(SkImageDecoder::Format format) {
// decoders do not, so skip them as well.
case SkImageDecoder::kICO_Format:
case SkImageDecoder::kBMP_Format:
- // KTX is a Texture format so it's not particularly clear how to
- // decode the alpha from it.
+ // KTX and ASTC are texture formats so it's not particularly clear how to
+ // decode the alpha from them.
case SkImageDecoder::kKTX_Format:
+ case SkImageDecoder::kASTC_Format:
// The rest of these are opaque.
case SkImageDecoder::kPKM_Format:
case SkImageDecoder::kWBMP_Format: