yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #226 from Subv/buffer_queue_event

Vi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called
This commit is contained in:
bunnei 2018-03-03 12:38:18 -05:00 committed by GitHub
commit 7e7110b3b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -150,6 +150,9 @@ void NVFlinger::Compose() {
igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform); igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform);
buffer_queue->ReleaseBuffer(buffer->slot); buffer_queue->ReleaseBuffer(buffer->slot);
// TODO(Subv): Figure out when we should actually signal this event.
buffer_queue->GetNativeHandle()->Signal();
} }
} }