commit | f60f307b3fcd229de891edf1970519f450dd6bb3 | [log] [tgz] |
---|---|---|
author | rongliu <rongliu@google.com> | Fri Jul 28 15:22:17 2017 -0700 |
committer | rongliu <rongliu@google.com> | Thu Aug 03 11:16:36 2017 -0700 |
tree | 8fffe1b09c7c7a37e310743a719ecdf0d3ac9133 | |
parent | 7cc9d29816baaa85185b4e13ebb05bfb1cc2dfce [diff] |
Add metadata in direct display surface to support ANativeWindow use cases. When direct display surface is used with metadata, ComsumerQueue dequeue reports error because metadata size is hardcoded as 0. It breaks ANativeWindow case because it has a metadata on the fly. Create a metadata structure, which could be read and used in the future. Bug: 64155181 Test: Manual Change-Id: Ieb35a69d26213769497c6afc7151dd135150c795