Groups
Sign in
Groups
comp.os.ms-windows.programmer.graphics
Conversations
About
Send feedback
Help
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
BitBlt Windows 7
75 views
Skip to first unread message
Thomu
unread,
Jan 12, 2012, 2:06:11 PM
1/12/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Greetings!
moving from XP to Windows 7 I notice that the WinAPI function BitBlt
is extremly slow if 'Visual Syles...' are enabled.
Times taken from a simple screenshot program shows the following:
Windows XP
CreateCompatibleBitmap ms=0.011580
SelectObject ms=0.003090
BitBlt ms=0.003715 <<<---
GetObject ms=0.002795
GetDIBits ms=11.158902
DeleteObject ms=0.015430
Windows 7 [ ] 'No Visual style...'
CreateCompatibleBitmap ms=3.885242
SelectObject ms=0.019176
BitBlt ms=1.531271 <<<---
GetObject ms=0.014536
GetDIBits ms=4.328757
DeleteObject ms=0.004949
Windows 7 [x] 'Visual Styles ' enabled
CreateCompatibleBitmap ms=4.040503
SelectObject ms=0.026908
BitBlt ms=48.532117 <<<---
GetObject ms=0.013609
GetDIBits ms=2.733463
DeleteObject ms=0.003402
Any hints on how to gain speed in Window 7 with full 'Visual Sytles'
enabled?
0 new messages