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

Side by Side Diff: include/core/SkImageDecoder.h

Issue 447343002: Revert of - Add astcbitmap to gm slides (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/images.gyp ('k') | src/gpu/GrSWMaskHelper.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkImageDecoder_DEFINED 8 #ifndef SkImageDecoder_DEFINED
9 #define SkImageDecoder_DEFINED 9 #define SkImageDecoder_DEFINED
10 10
(...skipping 19 matching lines...) Expand all
30 kUnknown_Format, 30 kUnknown_Format,
31 kBMP_Format, 31 kBMP_Format,
32 kGIF_Format, 32 kGIF_Format,
33 kICO_Format, 33 kICO_Format,
34 kJPEG_Format, 34 kJPEG_Format,
35 kPNG_Format, 35 kPNG_Format,
36 kWBMP_Format, 36 kWBMP_Format,
37 kWEBP_Format, 37 kWEBP_Format,
38 kPKM_Format, 38 kPKM_Format,
39 kKTX_Format, 39 kKTX_Format,
40 kASTC_Format,
41 40
42 kLastKnownFormat = kKTX_Format, 41 kLastKnownFormat = kKTX_Format,
43 }; 42 };
44 43
45 /** Return the format of image this decoder can decode. If this decoder can decode multiple 44 /** Return the format of image this decoder can decode. If this decoder can decode multiple
46 formats, kUnknown_Format will be returned. 45 formats, kUnknown_Format will be returned.
47 */ 46 */
48 virtual Format getFormat() const; 47 virtual Format getFormat() const;
49 48
50 /** Return the format of the SkStreamRewindable or kUnknown_Format if it can not be determined. 49 /** Return the format of the SkStreamRewindable or kUnknown_Format if it can not be determined.
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 // not all of these will be available 518 // not all of these will be available
520 DECLARE_DECODER_CREATOR(BMPImageDecoder); 519 DECLARE_DECODER_CREATOR(BMPImageDecoder);
521 DECLARE_DECODER_CREATOR(GIFImageDecoder); 520 DECLARE_DECODER_CREATOR(GIFImageDecoder);
522 DECLARE_DECODER_CREATOR(ICOImageDecoder); 521 DECLARE_DECODER_CREATOR(ICOImageDecoder);
523 DECLARE_DECODER_CREATOR(JPEGImageDecoder); 522 DECLARE_DECODER_CREATOR(JPEGImageDecoder);
524 DECLARE_DECODER_CREATOR(PNGImageDecoder); 523 DECLARE_DECODER_CREATOR(PNGImageDecoder);
525 DECLARE_DECODER_CREATOR(WBMPImageDecoder); 524 DECLARE_DECODER_CREATOR(WBMPImageDecoder);
526 DECLARE_DECODER_CREATOR(WEBPImageDecoder); 525 DECLARE_DECODER_CREATOR(WEBPImageDecoder);
527 DECLARE_DECODER_CREATOR(PKMImageDecoder); 526 DECLARE_DECODER_CREATOR(PKMImageDecoder);
528 DECLARE_DECODER_CREATOR(KTXImageDecoder); 527 DECLARE_DECODER_CREATOR(KTXImageDecoder);
529 DECLARE_DECODER_CREATOR(ASTCImageDecoder);
530 528
531 // Typedefs to make registering decoder and formatter callbacks easier. 529 // Typedefs to make registering decoder and formatter callbacks easier.
532 // These have to be defined outside SkImageDecoder. :( 530 // These have to be defined outside SkImageDecoder. :(
533 typedef SkTRegistry<SkImageDecoder*(*)(SkStreamRewindable*)> SkImageDecod er_DecodeReg; 531 typedef SkTRegistry<SkImageDecoder*(*)(SkStreamRewindable*)> SkImageDecod er_DecodeReg;
534 typedef SkTRegistry<SkImageDecoder::Format(*)(SkStreamRewindable*)> SkImageDecod er_FormatReg; 532 typedef SkTRegistry<SkImageDecoder::Format(*)(SkStreamRewindable*)> SkImageDecod er_FormatReg;
535 533
536 #endif 534 #endif
OLDNEW
« no previous file with comments | « gyp/images.gyp ('k') | src/gpu/GrSWMaskHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698