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

Unified Diff: cc/resources/texture_compressor.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: Update gyp and Build.gn Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/cc.gyp ('k') | cc/resources/texture_compressor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/texture_compressor.h
diff --git a/cc/resources/texture_compressor.h b/cc/resources/texture_compressor.h
index 18faa40bac5d1dfe547fb7c2249548049f68fbcd..53f9d3cbd545805d15a9425a2b618729d3f716d6 100644
--- a/cc/resources/texture_compressor.h
+++ b/cc/resources/texture_compressor.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include "base/cpu.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
@@ -38,6 +39,7 @@ class CC_EXPORT TextureCompressor {
TextureCompressor() {}
private:
+ static base::CPU cpu;
robert.bradford 2015/04/28 12:23:19 static initialiser here (of non-POD type) is a big
DISALLOW_COPY_AND_ASSIGN(TextureCompressor);
};
« no previous file with comments | « cc/cc.gyp ('k') | cc/resources/texture_compressor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698