瀏覽代碼

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.
Subv 8 年之前
父節點
當前提交
656e7aab29
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/core/hle/service/nvflinger/nvflinger.cpp

+ 3 - 0
src/core/hle/service/nvflinger/nvflinger.cpp

@@ -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();
     }
 }