Bug 7919

Summary: Xming: better blitting in multiwindow mode
Product: xorg Reporter: Colin Harrison <colin.harrison>
Component: Server/DDX/XwinAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Patch to achieve this none

Description Colin Harrison 2006-08-19 03:30:32 UTC
Patch to:-
Increase the performance in multiwindow mode by checking for bogus PAINTSTRUCTs 
before calling BitBlt in WM_PAINT. A simple trap reduces the number of BitBlts 
by ~1/3 when painting overlapping windows. 
Following on from above, only BitBlt within the invalid rectangle in 
multiwindow WM_PAINT, instead of the whole client area. 
And alter winShadowUpdateGDI to do no unnecessary blitting in multiwindow mode.
Comment 1 Colin Harrison 2006-08-19 03:32:13 UTC
Created attachment 6603 [details] [review]
Patch to achieve this
Comment 2 Colin Harrison 2006-08-19 03:42:23 UTC
This improvement is equally applicable to Cygwin/X and Xming.
Comment 3 Alan Hourihane 2006-08-24 05:55:33 UTC
Applied. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.