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

Unified Diff: samplecode/SampleApp.h

Issue 1549483002: SampleApp: Build list of devices dynamically Base URL: https://skia.googlesource.com/skia.git@sampleapp-01-no-picturedevice
Patch Set: Created 4 years, 11 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 | « include/views/SkOSMenu.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
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 56cf98428bfb6acc800d81c3c714ff737b793e30..9edb6f6265c4068d187dbce1ec9e9b93d6044cc3 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -117,7 +117,7 @@ public:
void draw(SkCanvas*) override;
- void setDeviceType(DeviceType type);
+ void setDevice(size_t deviceIndex);
void toggleRendering();
void toggleSlideshow();
void toggleFPS();
@@ -162,6 +162,7 @@ protected:
private:
class DefaultDeviceManager;
+ size_t fDeviceIndex;
int fCurrIndex;
SkPictureRecorder fRecorder;
@@ -206,8 +207,6 @@ private:
int fFilterQualityIndex;
unsigned fFlipAxis;
- int fMSAASampleCount;
-
int fScrollTestX, fScrollTestY;
SkScalar fZoomCenterX, fZoomCenterY;
« no previous file with comments | « include/views/SkOSMenu.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698