commit | f7aa6cdca1d2cdaeb0806b1c004a8ce302d17621 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Wed Mar 29 18:25:12 2017 -0400 |
committer | Stan Iliev <stani@google.com> | Wed Mar 29 18:25:12 2017 -0400 |
tree | 1d3c5c4c820a9c8be5c2b03dd6083afdb919576a | |
parent | 7ead6c4da9e73a485965070903277dae90210c2d [diff] |
Add comments to clarify how SkDrawable dtor is called Document the 3 variants of SkDrawable object lifetime in SkiaRecordingCanvas: - The only drawable that is using ref couting to delete itself is "LayerDrawable" - 2 other drawables (RenderNodeDrawable and GLFunctorDrawable) are deleted by std::deque - the rest are deleted by ~LinearAllocator bug: 36717955 Test: built and ran on device Change-Id: I16f7f6573f6e4dc8d665f58d051255d40b1b690d