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

Unified Diff: tools/viewer/sk_app/GLWindowContext.h

Issue 2032623002: Implement OpenGL backend in Android viewer app (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Comments 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: tools/viewer/sk_app/GLWindowContext.h
diff --git a/tools/viewer/sk_app/GLWindowContext.h b/tools/viewer/sk_app/GLWindowContext.h
index 6fb5e0988924bd28d37095f793cc7328e9166cc9..acf15a332e15c8b44fb03b1763b2b0448d5166c4 100644
--- a/tools/viewer/sk_app/GLWindowContext.h
+++ b/tools/viewer/sk_app/GLWindowContext.h
@@ -52,6 +52,8 @@ protected:
sk_sp<SkSurface> fSurface;
// parameters obtained from the native window
+ // Note that the platform .cpp file is responsible for
+ // initializing fSampleCount, fStencilBits, and fColorBits!
int fSampleCount;
int fStencilBits;
int fColorBits;

Powered by Google App Engine
This is Rietveld 408576698