Use multiline attribute to check for IA2_STATE_MULTILINE.
[chromium-blink-merge.git] / cc / resources / texture_compressor_etc1.h
blobc4575627d8339df1ffadecc6d57b7de7d79c64f3
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
3 // found in the LICENSE file.
5 #ifndef CC_RESOURCES_TEXTURE_COMPRESSOR_ETC1_H_
6 #define CC_RESOURCES_TEXTURE_COMPRESSOR_ETC1_H_
8 #include "cc/resources/texture_compressor.h"
10 namespace cc {
12 class CC_EXPORT TextureCompressorETC1 : public TextureCompressor {
13 public:
14 TextureCompressorETC1() {}
16 // Compress a texture using ETC1. Note that the |quality| parameter is
17 // ignored. The current implementation does not support different quality
18 // settings.
19 void Compress(const uint8_t* src,
20 uint8_t* dst,
21 int width,
22 int height,
23 Quality quality) override;
25 private:
26 DISALLOW_COPY_AND_ASSIGN(TextureCompressorETC1);
29 } // namespace cc
31 #endif // CC_RESOURCES_TEXTURE_COMPRESSOR_ETC1_H_