OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_RASTER_TEXTURE_COMPRESSOR_H_ | 5 #ifndef CC_RASTER_TEXTURE_COMPRESSOR_H_ |
6 #define CC_RASTER_TEXTURE_COMPRESSOR_H_ | 6 #define CC_RASTER_TEXTURE_COMPRESSOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "cc/base/cc_export.h" | 13 #include "cc/cc_export.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 class CC_EXPORT TextureCompressor { | 17 class CC_EXPORT TextureCompressor { |
18 public: | 18 public: |
19 enum Format { | 19 enum Format { |
20 kFormatETC1, | 20 kFormatETC1, |
21 }; | 21 }; |
22 | 22 |
23 enum Quality { | 23 enum Quality { |
(...skipping 14 matching lines...) Expand all Loading... |
38 protected: | 38 protected: |
39 TextureCompressor() {} | 39 TextureCompressor() {} |
40 | 40 |
41 private: | 41 private: |
42 DISALLOW_COPY_AND_ASSIGN(TextureCompressor); | 42 DISALLOW_COPY_AND_ASSIGN(TextureCompressor); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace cc | 45 } // namespace cc |
46 | 46 |
47 #endif // CC_RASTER_TEXTURE_COMPRESSOR_H_ | 47 #endif // CC_RASTER_TEXTURE_COMPRESSOR_H_ |
OLD | NEW |