mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	 3d29967a8d
			
		
	
	3d29967a8d
	
	
	
		
			
			This implementation uses a line sweep algorithm to copy the precisely the intersection of all accumulated damage rectangles, ensuring that every pixel is copied exactly once, and no pixel is ever copied multiple times. Furthermore, once a row has been swept, we update the framebuffer write pointer immediately.