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"
12 class CC_EXPORT TextureCompressorETC1
: public TextureCompressor
{
14 TextureCompressorETC1() {}
16 // Compress a texture using ETC1. Note that the |quality| parameter is
17 // ignored. The current implementation does not support different quality
19 void Compress(const uint8_t* src
,
23 Quality quality
) override
;
26 DISALLOW_COPY_AND_ASSIGN(TextureCompressorETC1
);
31 #endif // CC_RESOURCES_TEXTURE_COMPRESSOR_ETC1_H_