mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	 2901e7aec5
			
		
	
	2901e7aec5
	
	
	
		
			
			Profiling shows that a considerable amount of time is spent in glBindBuffer and glBufferSubData when the damage rects are updated. Since the amount of data here is quite small it's far faster to check if it's different then to just blindly overwrite the buffer on each call. Profiled on an Intel CPU with UHD P630 Graphics using magic-trace