commit | d330a62612e287b63442db2470d89c55ad326f27 | [log] [tgz] |
---|---|---|
author | Daniel Nicoara <dnicoara@google.com> | Tue Mar 28 11:48:42 2017 -0400 |
committer | Daniel Nicoara <dnicoara@google.com> | Thu Mar 30 17:51:05 2017 +0000 |
tree | 33f20388b013074c3fecde10b5cf9ed220333b00 | |
parent | 0e7305cb0ab3787cd4767aa3c57d6842ac351663 [diff] |
VR: Pass display size in the HWC observer callback 1) Unify the places where primary display size is queried. 2) Allows virtual displays to have a different size than the primary display and the size propagates properly to VR HWC and its observer. Bug: None Test: Unittest and manually on device Change-Id: I7e026c4f9b018d47ca400247beed27841d71c806 (cherry picked from commit 04c73d23d5e366c9f0337cdaa71bd2d15ebf1f4e)