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

Unified Diff: samplecode/SampleApp.h

Issue 1834243002: Add 'P' to SampleApp to cycle through pixel geometries. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | samplecode/SampleApp.cpp » ('j') | samplecode/SampleApp.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.h
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index 7ee07d86dd254ec5c96bfa249c2726231a1d24d8..31bfa5b74da056beb39bf02ff290641db7e770b9 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -124,6 +124,7 @@ public:
void toggleFPS();
void showOverview();
void toggleDistanceFieldFonts();
+ void setPixelGeometry(int pixelGeometryIndex);
GrContext* getGrContext() const { return fDevManager->getGrContext(); }
@@ -206,6 +207,7 @@ private:
SkOSMenu::TriState fAAState;
SkOSMenu::TriState fSubpixelState;
int fHintingState;
+ int fPixelGeometryIndex;
int fFilterQualityIndex;
unsigned fFlipAxis;
« no previous file with comments | « no previous file | samplecode/SampleApp.cpp » ('j') | samplecode/SampleApp.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698