| commit | 2f7d9aeb0e44e41cfc965b764672a8955f1b650e | [log] [tgz] |
|---|---|---|
| author | Alec Mouri <alecmouri@google.com> | Mon Nov 30 19:32:33 2020 -0800 |
| committer | Alec Mouri <alecmouri@google.com> | Thu Dec 03 17:12:48 2020 -0800 |
| tree | 12dfc52aa12ac0cd5ba544ac758b363983912301 | |
| parent | be97cfacd67cc63f840066800663b56b071c3ff5 [diff] |
Store layers with pending frames as smart pointers instead of raw pointers Layers can be removed in between invalidations, which is problematic when using raw pointers. Instead, store a set of sp<Layer> with a custom hash Bug: 170729573 Test: builds Change-Id: I87dd48a7767b8c05461cb4e56b3fbcd037d0603e