Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: cc/resources/texture_compressor_etc1_sse.h

Issue 1096703002: Reland: Add ETC1 powered SSE encoder for tile texture compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reland: Change ia32 to x86 in Build.gn Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CC_RESOURCES_TEXTURE_COMPRESSOR_ETC1_SSE_H_
6 #define CC_RESOURCES_TEXTURE_COMPRESSOR_ETC1_SSE_H_
7
8 #include "cc/resources/texture_compressor.h"
9
10 namespace cc {
11
12 class CC_EXPORT TextureCompressorETC1SSE : public TextureCompressor {
13 public:
14 TextureCompressorETC1SSE() {}
15
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;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(TextureCompressorETC1SSE);
27 };
28
29 } // namespace cc
30
31 #endif // CC_RESOURCES_TEXTURE_COMPRESSOR_ETC1_SSE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698