OSDN Git Service

graphics: discard stale data from message queue
authorChia-I Wu <olv@google.com>
Fri, 8 Sep 2017 18:24:32 +0000 (11:24 -0700)
committerChia-I Wu <olv@google.com>
Fri, 8 Sep 2017 18:51:57 +0000 (11:51 -0700)
commit48ffe289b0b8fb6515f77affbac6a261ef6552fe
treea2ef83f8186a48142f66710670daf3cbc3fb5243
parenta24f85f9b93592784f24972bbd386e4e7ed2da45
graphics: discard stale data from message queue

Our use of message queues is synchronous.  If there are already data
in the queue when writeQueue is called, we know they are stale and
can be discarded.

Bug: 65449888
Test: manual
Change-Id: Ie29b8a7386c9733c183a6c3569e3572efa62cbc2
graphics/composer/2.1/default/IComposerCommandBuffer.h