add onCreateDevice to eventually replace onCreateCompatibleDevice

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/1006923004
This commit is contained in:
reed 2015-03-14 04:30:21 -07:00 committed by Commit bot
parent 173e5fe5f4
commit 57a48a73a4

View File

@ -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: