diff options
| author | Dan Stoza <stoza@google.com> | 2015-05-29 12:48:04 -0700 |
|---|---|---|
| committer | Dan Stoza <stoza@google.com> | 2015-06-01 11:21:56 -0700 |
| commit | 24fa67f62ac9a751b6fcbd7bd69960388a4b2f5b (patch) | |
| tree | b0b9924354601ba77827b309739d3ee4a8dc57d1 /opengl/tests/gl_basic/gl_basic.cpp | |
| 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)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
