| Index: src/core/SkPictureData.cpp
|
| diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp
|
| index 123c414b53de2269e8a14fcc765e9c13343c3bb5..4f3feb7c3aaec4d94c5d6459c7357631f8404421 100644
|
| --- a/src/core/SkPictureData.cpp
|
| +++ b/src/core/SkPictureData.cpp
|
| @@ -684,6 +684,9 @@ bool SkPictureData::suitableForGpuRasterization(GrContext* context, const char *
|
| }
|
| }
|
|
|
| +bool SkPictureData::suitableForLayerOptimization() const {
|
| + return fContentInfo.numLayers() > 0;
|
| +}
|
| #endif
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|