commit | 670b3f73e9f97dc6031e71405e7dcb4da118ba37 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Tue Sep 29 17:52:18 2020 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Wed Sep 30 15:14:43 2020 -0700 |
tree | 0f1991f4c7de2fa976d8edc14a2ba523d0556c1f | |
parent | 6b7c5c9425496be2166fccf2ab14e061b5a20fa3 [diff] |
Add buffer rejection logic to BlastBufferQueue If the client sets the buffer scaling mode to freeze, then we want to reject any buffers that do not match default width and size of the buffer. Additionally, we add logic to wait for the first callback before acquiring a second buffer this is to ensure we will present the first buffer if multiple buffers are queued in succession. Test: atest SurfaceViewBufferTests Bug: 168504870 Change-Id: I987f8ce4047a6f7f52726cfd404fbe9d565f83a2