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

Unified Diff: experimental/iOSSampleApp/SkSampleUIView.mm

Issue 1538343002: SampleApp: remove Picture_DeviceType (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/iOSSampleApp/SkSampleUIView.mm
diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm
index 3d82627f3b786b3fc3e4239dc5cbd3ddbc28da7a..f2a8977d92d33190fc80e8587f5868bea75c47c7 100644
--- a/experimental/iOSSampleApp/SkSampleUIView.mm
+++ b/experimental/iOSSampleApp/SkSampleUIView.mm
@@ -54,9 +54,7 @@ public:
#if SK_SUPPORT_GPU
switch (win->getDeviceType()) {
- // these two don't use GL
case SampleWindow::kRaster_DeviceType:
- case SampleWindow::kPicture_DeviceType:
break;
// these guys use the native backend
case SampleWindow::kGPU_DeviceType:
@@ -76,9 +74,7 @@ public:
SkASSERT(NULL == fCurIntf);
switch (win->getDeviceType()) {
- // these two don't use GL
case SampleWindow::kRaster_DeviceType:
- case SampleWindow::kPicture_DeviceType:
fCurIntf = NULL;
break;
case SampleWindow::kGPU_DeviceType:
« no previous file with comments | « no previous file | samplecode/SampleApp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698