commit | 4744291270cc6c8d0838fab2bc1e954524dbfcbc | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisforbes@google.com> | Fri May 19 14:47:29 2017 -0700 |
committer | Chris Forbes <chrisforbes@google.com> | Fri May 19 14:47:29 2017 -0700 |
tree | 4f7f7a2afb6561c4193e10228ab3e22e604b6024 | |
parent | b57d3d222a1fe73a06e2a07416bfec1585e358a5 [diff] |
vulkan: Translate usage flags before passing to driver Previously we just cast the 32bit flags and jammed them in the two gralloc1 slots. Use the helper which does the correct translation. (Yes, all these gralloc1isms are going away in favor of a single 64bit flags field, but Vulkan HALs expect us to implement our side of ANDROID_native_buffer correctly.) Test: boot sailfish, run vulkan demo Bug: 37686587 Change-Id: I806011986e8140d7f608d281798605bd9ca9a86b