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

Unified Diff: include/views/SkWindow.h

Issue 1919993002: Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel buffer on Windows. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: include/views/SkWindow.h
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index b4fabd253ee15a9fdfd739587d03561a59e9775b..341046aacccfd3b5443511ca620dd3f52a3cbb76 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -32,8 +32,14 @@ public:
virtual ~SkWindow();
struct AttachmentInfo {
+ AttachmentInfo()
+ : fSampleCount(0)
+ , fStencilBits(0)
+ , fColorBits(0) {}
+
int fSampleCount;
int fStencilBits;
+ int fColorBits;
};
SkSurfaceProps getSurfaceProps() const { return fSurfaceProps; }
« no previous file with comments | « include/views/SkOSWindow_iOS.h ('k') | platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698