Skip to content
Snippets Groups Projects
Commit 656e7aab authored by Subv's avatar Subv
Browse files

Vi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called.

This prevents a thread starvation issue in Puyo Puyo Tetris.
We should hwtest this behavior and figure out where exactly this event is signaled.
parent 46fc7d85
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,9 @@ void NVFlinger::Compose() {
igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform);
buffer_queue->ReleaseBuffer(buffer->slot);
// TODO(Subv): Figure out when we should actually signal this event.
buffer_queue->GetNativeHandle()->Signal();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment