Files
android_hardware_libhardware/include/hardware
Dan Stoza 201c7d91b7 gralloc: Add foreign buffer usage flag
Adds GRALLOC_USAGE_FOREIGN_BUFFERS, which a consumer may set as a usage
flag if it intends to attach buffers that it has not detached from the
BufferQueue. It provides a hint to the producer (who may query the
consumer usage bits) that it may receive a buffer from another
BufferQueue, so that it can exit during initialization, hopefully with a
meaningful error message, if such buffers are not supported.

Also adds GRALLOC_USAGE_ALLOC_MASK, which is applied to usage bits
before calling alloc on the gralloc module, and prevents the module from
seeing GRALLOC_USAGE_FOREIGN_BUFFERS, since that usage flag is of no use
while allocating buffers.

Bug: 19801661
Change-Id: I17b927de94245f4df7cfd3f4483b544da3e9cd35
2015-05-29 19:52:34 +00:00
..
2014-03-27 15:14:32 -07:00
2014-12-30 08:32:04 -08:00
2015-04-17 14:27:17 -07:00
2014-06-23 23:27:34 -07:00
2014-02-25 19:25:55 -08:00
2012-09-18 12:52:41 -07:00
2014-09-10 11:13:16 -07:00
2014-09-10 11:13:16 -07:00
2015-05-21 11:11:57 -07:00
2015-01-19 10:46:39 +09:00
2015-05-12 11:29:27 +00:00
2015-05-12 12:09:56 +00:00
2014-07-24 18:00:42 -07:00
2011-08-05 10:17:39 -07:00
2015-03-10 18:29:57 -07:00
2014-07-07 10:15:45 -07:00