forked from dolphin-emu/dolphin
		
	The only possible functionality change is that s_efbAccessRequested and s_swapRequested are no longer reset at init and shutdown of the OGL backend (only; this is the only interaction any files other than MainBase.cpp have with them). I am fairly certain this was entirely vestigial. Possible performance implications: efbAccessReady now uses an Event rather than spinning, which might be slightly slower, but considering the slow loop the flags are being checked in from the GPU thread, I doubt it's noticeable. Also, this uses sequentially consistent rather than release/acquire memory order, which might be slightly slower, especially on ARM... something to improve in Event/Flag, really.
		
			
				
	
	
		
			11 lines
		
	
	
		
			252 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			252 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "Common/CommonTypes.h"
 | |
| #include "Common/Flag.h"
 | |
| 
 | |
| extern bool s_BackendInitialized;
 | |
| extern Common::Flag s_swapRequested;
 | |
| 
 | |
| void VideoFifo_CheckEFBAccess();
 | |
| void VideoFifo_CheckSwapRequestAt(u32 xfbAddr, u32 fbWidth, u32 fbHeight);
 |