diff options
author | 2017-05-18 17:28:07 -0700 | |
---|---|---|
committer | 2017-05-18 17:32:31 -0700 | |
commit | a936f7a1818af61358d41961b7a91fded8b1f9dd (patch) | |
tree | 9ee9ed2f8e972da1d818a68100c464bee3610b78 /libs/gui/Surface.cpp | |
parent | f4fa8fb4583e3fc4045d7d63ddb337ccb11b1252 (diff) |
libvrflinger: Inject USAGE_HW_COMPOSER usage into DirectSurface buffers.
DirectSurfaces are used by the VR display manager to do direct rendering
in VR mode. The buffers backing a DirectSurface must include the HWC
usage flag, but this flag is not exposed through AHardwareBuffer, for
good reason. Inject this necessary usage bit on the framework side to
enable proper operation.
Bug: None
Test: Build; run.
Change-Id: I46e6b97e41763aaa7870fa64b09ea3a5a81990c1
Diffstat (limited to 'libs/gui/Surface.cpp')
0 files changed, 0 insertions, 0 deletions