diff options
author | 2015-03-14 04:30:21 -0700 | |
---|---|---|
committer | 2015-03-14 04:30:21 -0700 | |
commit | 57a48a73a4252c21a5377826d79044017f3cbf06 (patch) | |
tree | 2feebf36fdc9f53965223bc83d727155fe8ada95 | |
parent | 173e5fe5f4be28272246e5676f5d2e5c4b1f9167 (diff) |
add onCreateDevice to eventually replace onCreateCompatibleDevice
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1006923004
-rw-r--r-- | include/core/SkDevice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index c7c5c30b3a..d9656802ef 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -354,6 +354,11 @@ protected: return NULL; } + // Will replace onCreateCompatibleDevice + virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { + return NULL; + } + virtual void initForRootLayer(SkPixelGeometry geo); private: |