Bug 22404

Summary: wx port has poor image performance
Product: WebKit Reporter: Kevin Watters <kevinwatters>
Component: WebKit wxAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Use DrawBitmap instead of Blit and avoid costly image rescaling kevino: review+

Description Kevin Watters 2008-11-21 07:20:52 PST
Currently if when drawing an image the destination rectangle doesn't match the size of the image, we rescale it manually. But wxGraphicsContext supports image resizing "automatically" and more efficiently by just passing the correct coordinates. We should use the capabilities of the API.
Comment 1 Kevin Watters 2008-11-21 07:23:05 PST
Created attachment 25354 [details]
Use DrawBitmap instead of Blit and avoid costly image rescaling

Makes the wxGraphicsContext image drawing path more efficient by using DrawBitmap and wxGraphicsContext's ability to render rescaled images for us.
Comment 2 Kevin Ollivier 2008-11-21 19:09:04 PST
Landed in r38685, thanks!