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

Unified Diff: samplecode/SampleApp.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: More cleanup Created 4 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
Index: samplecode/SampleApp.h
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index c56bcd44888df570f652b873d36584b3bdf5c2b4..11b6e619d5cad31bfc82d732fe0b63bdab032d06 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -74,7 +74,7 @@ public:
public:
- virtual void setUpBackend(SampleWindow* win, int msaaSampleCount) = 0;
+ virtual void setUpBackend(SampleWindow* win, int msaaSampleCount, bool tenBitColor) = 0;
virtual void tearDownBackend(SampleWindow* win) = 0;
@@ -212,6 +212,7 @@ private:
unsigned fFlipAxis;
int fMSAASampleCount;
+ bool fTenBitColor;
SkScalar fZoomCenterX, fZoomCenterY;

Powered by Google App Engine
This is Rietveld 408576698