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

Unified Diff: experimental/SkiaExamples/HelloSkiaExample.cpp

Issue 890873003: update example (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix mac, remove space Created 5 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 | « no previous file | experimental/SkiaExamples/SkExample.h » ('j') | experimental/SkiaExamples/SkExample.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkiaExamples/HelloSkiaExample.cpp
diff --git a/experimental/SkiaExamples/HelloSkiaExample.cpp b/experimental/SkiaExamples/HelloSkiaExample.cpp
index 6fd2624c18b0e5e97f9f3ff69b5abfe716f6cbce..6efb9c803bf15325adad049e4ef53bf387b7a05f 100644
--- a/experimental/SkiaExamples/HelloSkiaExample.cpp
+++ b/experimental/SkiaExamples/HelloSkiaExample.cpp
@@ -9,10 +9,8 @@
#include "SkExample.h"
-#include "SkApplication.h"
-#include "SkDraw.h"
+#include "SkCanvas.h"
#include "SkGradientShader.h"
-#include "SkGraphics.h"
class HelloSkia : public SkExample {
public:
@@ -20,10 +18,6 @@ public:
fName = "HelloSkia";
fBGColor = SK_ColorWHITE;
fRotationAngle = SkIntToScalar(0);
-
- fWindow->setupBackend(SkExampleWindow::kGPU_DeviceType);
- // Another option is software rendering:
- // fWindow->setupBackend(SkExampleWindow::kRaster_DeviceType);
}
protected:
« no previous file with comments | « no previous file | experimental/SkiaExamples/SkExample.h » ('j') | experimental/SkiaExamples/SkExample.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698