commit | b8efdc40039e4900ae2c64fbdfa03906c867ec84 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Fri May 29 12:48:04 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Fri May 29 19:52:43 2015 +0000 |
tree | c80b6d9384939c6453bafbb9575334c0398e9007 | |
parent | 1c4537e2e80aa776a61517be8b1605e36432287a [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