Update V8 to version 4.7.24.
[chromium-blink-merge.git] / cc / raster / texture_compressor_etc1_sse.h
blob3822699e4d036a68c1b561b204d55c7e2e21296e
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"
10 namespace cc {
12 class CC_EXPORT TextureCompressorETC1SSE : public TextureCompressor {
13 public:
14 TextureCompressorETC1SSE() {}
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(TextureCompressorETC1SSE);
29 } // namespace cc
31 #endif // CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_