summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/EventControlThread.cpp
diff options
context:
space:
mode:
author Chris Forbes <chrisforbes@google.com> 2017-05-19 14:47:29 -0700
committer Chris Forbes <chrisforbes@google.com> 2017-05-19 14:47:29 -0700
commit4744291270cc6c8d0838fab2bc1e954524dbfcbc (patch)
tree4f7f7a2afb6561c4193e10228ab3e22e604b6024 /services/surfaceflinger/EventControlThread.cpp
parentb57d3d222a1fe73a06e2a07416bfec1585e358a5 (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
Diffstat (limited to 'services/surfaceflinger/EventControlThread.cpp')
0 files changed, 0 insertions, 0 deletions