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

Unified Diff: src/core/SkDevice.cpp

Issue 2161533003: Add makeSpecial calls to SkGpuDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Nervous compilers Created 4 years, 5 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/core/SkDevice.h ('k') | src/gpu/SkGpuDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDevice.cpp
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
index 5c92703f31815c0f0e270f0f185154611a39bb9c..7ecdbef0957f96189483bb65b5f2ed37d2e2e8de 100644
--- a/src/core/SkDevice.cpp
+++ b/src/core/SkDevice.cpp
@@ -23,6 +23,21 @@
#include "SkTextBlobRunIterator.h"
#include "SkTextToPathIter.h"
+void SkBaseDevice::drawSpecial(const SkDraw&, SkSpecialImage*, int x, int y, const SkPaint&) {
+}
+
+sk_sp<SkSpecialImage> SkBaseDevice::makeSpecial(const SkBitmap&) {
+ return nullptr;
+}
+
+sk_sp<SkSpecialImage> SkBaseDevice::makeSpecial(SkImage*) {
+ return nullptr;
+}
+
+sk_sp<SkSpecialImage> SkBaseDevice::snapSpecial() {
+ return nullptr;
+}
+
SkBaseDevice::SkBaseDevice(const SkSurfaceProps& surfaceProps)
: fSurfaceProps(surfaceProps)
#ifdef SK_DEBUG
« no previous file with comments | « include/core/SkDevice.h ('k') | src/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698