| 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_RESOURCES_TEXTURE_COMPRESSOR_H_ | 5 #ifndef CC_RESOURCES_TEXTURE_COMPRESSOR_H_ |
| 6 #define CC_RESOURCES_TEXTURE_COMPRESSOR_H_ | 6 #define CC_RESOURCES_TEXTURE_COMPRESSOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "cc/base/cc_export.h" | |
| 13 | 12 |
| 14 namespace cc { | 13 namespace cc { |
| 15 | 14 |
| 16 class CC_EXPORT TextureCompressor { | 15 class TextureCompressor { |
| 17 public: | 16 public: |
| 18 enum Format { | 17 enum Format { |
| 19 kFormatETC1, | 18 kFormatETC1, |
| 20 }; | 19 }; |
| 21 | 20 |
| 22 enum Quality { | 21 enum Quality { |
| 23 kQualityLow, | 22 kQualityLow, |
| 24 kQualityMedium, | 23 kQualityMedium, |
| 25 kQualityHigh, | 24 kQualityHigh, |
| 26 }; | 25 }; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 37 protected: | 36 protected: |
| 38 TextureCompressor() {} | 37 TextureCompressor() {} |
| 39 | 38 |
| 40 private: | 39 private: |
| 41 DISALLOW_COPY_AND_ASSIGN(TextureCompressor); | 40 DISALLOW_COPY_AND_ASSIGN(TextureCompressor); |
| 42 }; | 41 }; |
| 43 | 42 |
| 44 } // namespace cc | 43 } // namespace cc |
| 45 | 44 |
| 46 #endif // CC_RESOURCES_TEXTURE_COMPRESSOR_H_ | 45 #endif // CC_RESOURCES_TEXTURE_COMPRESSOR_H_ |
| OLD | NEW |