mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 06:31:54 +00:00 
			
		
		
		
	[host] nvfbc: remove rectangles that are entirely contained in others
This makes nvfbc report less useless damage and makes the client run faster.
This commit is contained in:
		@@ -428,6 +428,8 @@ static void updateDamageRects(CaptureFrame * frame)
 | 
			
		||||
        };
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
  rectId = rectsRejectContained(frame->damageRects, rectId);
 | 
			
		||||
 | 
			
		||||
done:
 | 
			
		||||
  frame->damageRectsCount = rectId;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user