Bug 25248

Summary: Painting images does unnecessary wxGraphicsBitmap conversions
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
return wxGraphicsBitmap instead of wxBitmap from frameAtIndex() for performance kevino: review+

Kevin Watters
Reported 2009-04-16 15:33:00 PDT
wx has a newer wxGraphicsBitmap class that is closer to the format ultimately blitted to screen by wxGraphicsContext. ImageSourceWx.cpp should be returning wxGraphicsBitmap objects from frameAtIndex for better performance.
Attachments
return wxGraphicsBitmap instead of wxBitmap from frameAtIndex() for performance (6.48 KB, patch)
2009-04-16 15:35 PDT, Kevin Watters
kevino: review+
Kevin Watters
Comment 1 2009-04-16 15:35:14 PDT
Created attachment 29557 [details] return wxGraphicsBitmap instead of wxBitmap from frameAtIndex() for performance
Kevin Ollivier
Comment 2 2009-04-17 07:50:14 PDT
Landed in r42601, thanks!
Note You need to log in before you can comment on or make changes to this bug.