mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-03 22:22:08 +00:00 
			
		
		
		
	This commit adds damage tracking to the DXGI textures, and only copies the damaged areas to the textures with ID3D11DeviceContext::CopySubresourceRegion. The sleep logic in waitFrame makes it difficult for this to reduce the latency, but removing it shows significant improvements (6-7 ms to ~3 ms) when a tiny portion of the screen is damaged, while showing no difference on full screen damage.