summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-03-03 12:38:18 -0500
committerGravatar GitHub2018-03-03 12:38:18 -0500
commit7e7110b3b9f466d3e3f66605d94a2fa57a7724bb (patch)
treea4333839950c9ab58b593dde77999e79121b90ac /src
parentMerge pull request #225 from mailwl/settings (diff)
parentVi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called. (diff)
downloadyuzu-7e7110b3b9f466d3e3f66605d94a2fa57a7724bb.tar.gz
yuzu-7e7110b3b9f466d3e3f66605d94a2fa57a7724bb.tar.xz
yuzu-7e7110b3b9f466d3e3f66605d94a2fa57a7724bb.zip
Merge pull request #226 from Subv/buffer_queue_event
Vi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index a54239b0f..0d30f54dc 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -150,6 +150,9 @@ void NVFlinger::Compose() {
150 igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform); 150 igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform);
151 151
152 buffer_queue->ReleaseBuffer(buffer->slot); 152 buffer_queue->ReleaseBuffer(buffer->slot);
153
154 // TODO(Subv): Figure out when we should actually signal this event.
155 buffer_queue->GetNativeHandle()->Signal();
153 } 156 }
154} 157}
155 158