Loading libs/hwui/RenderNode.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -455,8 +455,7 @@ void RenderNode::destroyLayers() { if (hasLayer()) { this->setLayerSurface(nullptr); } mSnapshotResult.snapshot = nullptr; mTargetImageFilter = nullptr; if (mDisplayList) { mDisplayList.updateChildren([](RenderNode* child) { child->destroyLayers(); }); } Loading libs/hwui/RenderNode.h +5 −0 Original line number Diff line number Diff line Loading @@ -330,6 +330,11 @@ public: } else { mSkiaLayer.reset(); } // Clear out the previous snapshot and the image filter the previous // snapshot was created with whenever the layer changes. mSnapshotResult.snapshot = nullptr; mTargetImageFilter = nullptr; } /** Loading Loading
libs/hwui/RenderNode.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -455,8 +455,7 @@ void RenderNode::destroyLayers() { if (hasLayer()) { this->setLayerSurface(nullptr); } mSnapshotResult.snapshot = nullptr; mTargetImageFilter = nullptr; if (mDisplayList) { mDisplayList.updateChildren([](RenderNode* child) { child->destroyLayers(); }); } Loading
libs/hwui/RenderNode.h +5 −0 Original line number Diff line number Diff line Loading @@ -330,6 +330,11 @@ public: } else { mSkiaLayer.reset(); } // Clear out the previous snapshot and the image filter the previous // snapshot was created with whenever the layer changes. mSnapshotResult.snapshot = nullptr; mTargetImageFilter = nullptr; } /** Loading