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

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

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « cc/raster/texture_compressor_etc1.cc ('k') | cc/raster/texture_compressor_etc1_sse.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_ 5 #ifndef CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_
6 #define CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_ 6 #define CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_
7 7
8 #include <stdint.h>
9
10 #include "base/macros.h"
8 #include "cc/raster/texture_compressor.h" 11 #include "cc/raster/texture_compressor.h"
9 12
10 namespace cc { 13 namespace cc {
11 14
12 class CC_EXPORT TextureCompressorETC1SSE : public TextureCompressor { 15 class CC_EXPORT TextureCompressorETC1SSE : public TextureCompressor {
13 public: 16 public:
14 TextureCompressorETC1SSE() {} 17 TextureCompressorETC1SSE() {}
15 18
16 // Compress a texture using ETC1. Note that the |quality| parameter is 19 // Compress a texture using ETC1. Note that the |quality| parameter is
17 // ignored. The current implementation does not support different quality 20 // ignored. The current implementation does not support different quality
18 // settings. 21 // settings.
19 void Compress(const uint8_t* src, 22 void Compress(const uint8_t* src,
20 uint8_t* dst, 23 uint8_t* dst,
21 int width, 24 int width,
22 int height, 25 int height,
23 Quality quality) override; 26 Quality quality) override;
24 27
25 private: 28 private:
26 DISALLOW_COPY_AND_ASSIGN(TextureCompressorETC1SSE); 29 DISALLOW_COPY_AND_ASSIGN(TextureCompressorETC1SSE);
27 }; 30 };
28 31
29 } // namespace cc 32 } // namespace cc
30 33
31 #endif // CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_ 34 #endif // CC_RASTER_TEXTURE_COMPRESSOR_ETC1_SSE_H_
OLDNEW
« no previous file with comments | « cc/raster/texture_compressor_etc1.cc ('k') | cc/raster/texture_compressor_etc1_sse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698