| Index: src/core/SkDevice.cpp
|
| ===================================================================
|
| --- src/core/SkDevice.cpp (revision 13762)
|
| +++ src/core/SkDevice.cpp (working copy)
|
| @@ -197,3 +197,12 @@
|
| #ifdef SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG
|
| void SkBaseDevice::writePixels(const SkBitmap&, int x, int y, SkCanvas::Config8888) {}
|
| #endif
|
| +
|
| +void SkBaseDevice::optimize(SkPicture* picture) {
|
| + // The base class doesn't perform any analysis but derived classes may
|
| +}
|
| +
|
| +bool SkBaseDevice::optimizedRender(SkPicture& picture) {
|
| + // The base class doesn't perform any accelerated picture rendering
|
| + return false;
|
| +}
|
|
|