commit | 24fa67f62ac9a751b6fcbd7bd69960388a4b2f5b | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Fri May 29 12:48:04 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Mon Jun 01 11:21:56 2015 -0700 |
tree | b0b9924354601ba77827b309739d3ee4a8dc57d1 | |
parent | c76683f51f6ad1f5493d9af43bf868601f474060 [diff] |
libui: Apply GRALLOC_USAGE_ALLOC_MASK during alloc Applies GRALLOC_USAGE_ALLOC_MASK to the incoming usage bits before calling alloc on the gralloc module. This filters out the new flag GRALLOC_USAGE_FOREIGN_BUFFERS, which is used to send a hint to the producer, but which does not affect the allocation of buffers. Bug: 19801661 Change-Id: Ia37a3eddba2e97598e50ac3e10877430adfa9247 (cherry picked from commit b8efdc40039e4900ae2c64fbdfa03906c867ec84)