diff options
author | John Reck <jreck@google.com> | 2021-01-19 21:29:24 -0500 |
---|---|---|
committer | Nader Jawad <njawad@google.com> | 2021-04-06 23:13:17 +0000 |
commit | 064650b3bf5bf164f1de25bf28568c87823e406a (patch) | |
tree | 7011d7526f4ecd4896635aaa6ec292694061df2e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2cf7f6dacfd682b6dceefa012bd91ddd5ec0df6f (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
Fixes: 184680809
Change-Id: Ifa6b723b6456f5d3eeac1201e76f337250103d6f
Merged-In: Ifa6b723b6456f5d3eeac1201e76f337250103d6f
(cherry picked from commit d34d6cec97c8f1be92f676aeb79c83d57cf8c6ba)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions