mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									46fc7d8502
								
							
						
					
					
						commit
						656e7aab29
					
				@ -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();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user