aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ImageDecodingTest.cpp
diff options
context:
space:
mode:
authorGravatar krajcevski <krajcevski@google.com>2014-08-07 12:58:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-07 12:58:38 -0700
commit95b1b3d82d227141647777d83324aa570b530096 (patch)
treed173f7f26dc3fb685f1a451e212445e7e74daec9 /tests/ImageDecodingTest.cpp
parent34580f75d8f555b2c15a232fb899704b5dd57f25 (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: