Add MultiDisplayList + memory leak fixes
MultiDisplayList can contain either a SkiaDisplayList or a CanvasOpBuffer. However DisplayList itself still points to the SkiaDisplayList-only wrapper to avoid any std::variant or std::visit overhead just yet. Also fixes a memory leak in CanvasFrontend from an uninitialized std::optional and a few minor leaks in unit tests. Test: build & hwui_unit passes Change-Id: Ifa6b723b6456f5d3eeac1201e76f337250103d6f
Loading
Please register or sign in to comment