Chia-I Wu a7f234cc34 graphics: fix potential leaks for IAllocator
Introduce IAllocatorClient to manage resources owned by a client (e.g., SF
or VTS).  This makes sure there is no resource leak when SF or VTS
crashes.

This also fixes two unrelated bugs

 - sizeof(Buffer) != sizeof(void*) on 32-bit impl.
 - layerCount was not set to 1 in tests

Test: builds and boots
Change-Id: I67f5cdd64b97fb3ce1b931099c25f59cc8517f21
2016-11-23 11:58:23 +08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-22 17:25:36 +00:00
2016-11-22 17:25:36 +00:00
2016-11-21 16:28:54 -08:00
2016-10-26 12:04:37 +02:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%