commit | 1585c4d9fbbba3ba70ae625923b85cd02cb8a0fd | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Fri Jun 28 13:52:40 2013 -0700 |
committer | Andy McFadden <fadden@android.com> | Wed Jul 10 15:38:40 2013 -0700 |
tree | 42299de67a0088fb4416dba825e40f5b6a22312a | |
parent | 06b6aed2f158d48ae04c4854d2a8832777ac942e [diff] |
Pay attention to buffer timestamps When acquiring a buffer, SurfaceFlinger now computes the expected presentation time and passes it to the BufferQueue acquireBuffer() method. If it's not yet time to display the buffer, acquireBuffer() returns PRESENT_LATER instead of a buffer. The current implementation of the expected-present-time computation uses approximations and guesswork. Bug 7900302 Change-Id: If9345611c5983a11a811935aaf27d6388a5036f1