If you look at this profile you can see 36ms being spent doing this copy. http://people.mozilla.com/~bgirard/cleopatra/?report=c14148bc43065cdfbe10b678cdd3c01ef195e2f6 Not sure why this is happening, but I somewhat suspect ExtendPad is to blame.
Summary: Final basic layers paint goes down cairo slow path → Final basic layers paint goes down cairo slow path on gdi
Nope. Turns out we're drawing to a ARGB32 DC, on which we try to do a SOURCE operation which isn't supported.
To be specific this is a RGB24 source on to a ARGB32 destination.
Created attachment 659004 [details] [diff] [review] Proof of concept This seems to fix the problem. I'll try to measure the improvement.
It looks like an average improvement of about 23x. That should be fine.
Created attachment 659822 [details] [diff] [review] Use BitBlt to do SOURCE from RGB24 to ARGB32
Attachment #659822 - Flags: review? → review?(nsilva)
Created attachment 660199 [details] [diff] [review] Use BitBlt to do SOURCE from RGB24 to ARGB32 The correct patch
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
6 years ago
Depends on: 792993
You need to log in before you can comment on or make changes to this bug.