OSDN Git Service

libui: support GRALLOC1_CAPABILITY_RELEASE_IMPLY_DELETE
authorChia-I Wu <olv@google.com>
Tue, 11 Apr 2017 17:03:38 +0000 (10:03 -0700)
committerChia-I Wu <olv@google.com>
Tue, 11 Apr 2017 19:03:32 +0000 (12:03 -0700)
commita3c428afbfd8ecfafb7712dafa2cc51aa042a9ba
tree53970e8f641b8b5dc6dfc5f78f3c3159f1f70357
parentd5de418cf53c50a5a1286bd2c832cbb6a0f52b37
libui: support GRALLOC1_CAPABILITY_RELEASE_IMPLY_DELETE

Honor GRALLOC1_CAPABILITY_RELEASE_IMPLY_DELETE in
GraphicBufferMapper and advertise the cap in the adapter.

Bug: 36355756
Test: boots on gralloc0 and gralloc1 devices
Change-Id: I54a4855883904255fba9a0821ff9d866d265d25a
libs/ui/Gralloc1On0Adapter.cpp
libs/ui/GraphicBufferMapper.cpp