Ensure Dequeue/Queue duration is always set am: 70e89c9c37

am: ed343def3e

Change-Id: I7d8d854254f491f1a65d0efb82fa8545bc6feacf
This commit is contained in:
John Reck
2016-08-08 15:06:51 +00:00
committed by android-build-merger

View File

@@ -578,6 +578,9 @@ void CanvasContext::draw() {
= swap.queueDuration;
mHaveNewSurface = false;
mFrameNumber = -1;
} else {
mCurrentFrameInfo->set(FrameInfoIndex::DequeueBufferDuration) = 0;
mCurrentFrameInfo->set(FrameInfoIndex::QueueBufferDuration) = 0;
}
// TODO: Use a fence for real completion?