commit | 8ddd2c72ee7dd6f45e5375a197774b8671b982b7 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Fri Oct 01 16:22:41 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Oct 04 20:10:11 2010 -0700 |
tree | b3a346d011b76c96b986f831036ff95652f067cf | |
parent | 19058877df9bf94f197a72855f810f7f6bf8d068 [diff] |
fix [2835280] Add support for cancelling buffers to ANativeWindow There is a new ANativeWindow::cancelBuffer() API that can be used to cancel any dequeued buffer, BEFORE it's been enqueued. The buffer is returned to the list of availlable buffers. dequeue and cancel are not mutually thread safe, they must be called from the same thread or external synchronization must be used. Change-Id: I86cc7985bace8b6a93ad2c75d2bef5c3c2cb4d61