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_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_
6 #define CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_
8 #include "cc/raster/texture_compressor.h"
12 class CC_EXPORT TextureCompressorETC1SSE
: public TextureCompressor
{
14 TextureCompressorETC1SSE() {}
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(TextureCompressorETC1SSE
);
31 #endif // CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_