diff options
| author | 2019-02-15 18:26:17 -0800 | |
|---|---|---|
| committer | 2019-03-20 14:28:56 -0700 | |
| commit | 7791e64f9f74d61ef60c281e614f617a045e01b2 (patch) | |
| tree | d684b14f50b8106b55e49d84781d664d2ce69b87 /libs/gui/ConsumerBase.cpp | |
| parent | bd8795436dac4d37ff2dea6ae05b126e068c0fa0 (diff) | |
Support GraphicBuffer::flatten and GraphicBuffer::unflatten with BufferHub
flatten() calls duplicate on BufferHubBuffer object and flattens the
token obtained from duplicate().
unflatten() reconstruct the token, import a BufferHubBuffer object and
reinitialize the GraphicBuffer object using the imported
BufferHubBuffer.
Bug: 73550905
Test: GraphicBuffer_test
Test: cts-tradefed run singleCommand cts -m CtsNativeHardwareTestCases \
--skip-preconditions --skip-device-info
Change-Id: I511dde8902893e593829b81e4d838dc3561fb009
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions