WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22404
wx port has poor image performance
https://bugs.webkit.org/show_bug.cgi?id=22404
Summary
wx port has poor image performance
Kevin Watters
Reported
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.
Attachments
Use DrawBitmap instead of Blit and avoid costly image rescaling
(3.93 KB, patch)
2008-11-21 07:23 PST
,
Kevin Watters
kevino
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kevin Watters
Comment 1
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.
Kevin Ollivier
Comment 2
2008-11-21 19:09:04 PST
Landed in
r38685
, thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug