commit | d34d6cec97c8f1be92f676aeb79c83d57cf8c6ba | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Tue Jan 19 21:29:24 2021 -0500 |
committer | John Reck <jreck@google.com> | Fri Jan 22 14:59:30 2021 -0500 |
tree | 49293833d9dfb4d755d51bbc4b280df3b6555449 | |
parent | f78234f112ca83939308a84de19fe069b9c48783 [diff] |
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