Closed
Bug 831525
Opened 11 years ago
Closed 11 years ago
Enable Skia canvas rendering on windows xp
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: mattwoodrow, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
1.13 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
We should just do this, it was definitely faster than GDI when I tested it last. Unfortunately I can't find my benchmark results from last time, but I can probably repeat them if people need convincing. Please suggest specific canvas demos/benchmarks you'd like me to try if so.
Comment 1•11 years ago
|
||
On unaccelerated windows xp, we already pass all canvas tests, so this is hopefully just a decision that needs to be made.
Updated•11 years ago
|
OS: Mac OS X → Windows XP
Comment 2•11 years ago
|
||
What's involved in turning this on for XP? build-config? runtime pref?
Reporter | ||
Comment 3•11 years ago
|
||
Just a run time pref. The harder part is agreeing that it's what we want to do, and fixing the last remaining test failure.
Comment 4•11 years ago
|
||
Skia is definitely faster for any canvas users that stroke lots of paths, but the part I don't know is whether it's faster (or at least the same speed) for bitmap blitting and scaling. I'd like to see a couple of benchmarks on things like GUIMark and e.g. FishIE to see whether we're going to be taking a hit on blitting operations. If not, we should be good to go for unaccelerated Windows (and Linux probably too).
Comment 5•11 years ago
|
||
(In reply to Joe Drew (:JOEDREW! \o/) from comment #4) > Skia is definitely faster for any canvas users that stroke lots of paths, > but the part I don't know is whether it's faster (or at least the same > speed) for bitmap blitting and scaling. Can someone post the pref string? We can ask the Shumway team to compare bitmap & vector drawing perf.
Comment 6•11 years ago
|
||
Set gfx.canvas.azure.backends to the literal string "skia" (no quotes).
Comment 7•11 years ago
|
||
FWIW, was playing with http://ie.microsoft.com/testdrive/Performance/SpeedReading/default.html, the speed for Windows 7 GDI: 15 fps, skia: 25 fps, new directx 60 fps
Comment 8•11 years ago
|
||
Is there any reason to believe that our GDI vs. Skia numbers on XP will differ from what Yury found on Win7? Can we turn it on in Nightly and get more people to try it out?
Comment 9•11 years ago
|
||
I'm not sure if this is the correct order of backends to enable. Please check!
Attachment #704690 -
Flags: review?(matt.woodrow)
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 704690 [details] [diff] [review] Adds skia to the Windows XP canvas backend types Review of attachment 704690 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. Note that we will fail 2 tests on tinderbox if we land this, we need to get bug 831529 fixed first. Or possibly mark the tests as known failures until it's fixed.
Attachment #704690 -
Flags: review?(matt.woodrow) → review+
Reporter | ||
Comment 11•11 years ago
|
||
Benchmarking results: Skia FishBowl - 38 fps Asteroids - 2391, 50fps WebVisBench - 4480, 16.59fps Smashcat - 77fps Cairo FishBowl - 24fps Asteroids - 2271, 48fps WebVisBench - 3140, 5.03fps Smashcat - 65fps
Comment 12•11 years ago
|
||
Upstream cairo is noticeably faster than the in-tree one. I'll try to do some measurements to compare where it's at.
Reporter | ||
Comment 13•11 years ago
|
||
Jeff: Does that mean you're offering to do a cairo update if it is faster? I'd still like to enable skia in the meantime unless it's going to happen quickly. Skia keeps rotting without being tested, and it's an easy win.
Comment 14•11 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #13) > Jeff: Does that mean you're offering to do a cairo update if it is faster? Maybe. > I'd still like to enable skia in the meantime unless it's going to happen > quickly. Skia keeps rotting without being tested, and it's an easy win. I agree. There's no reason to wait for the cairo results.
Reporter | ||
Comment 15•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a934441a70c2
Comment 16•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a934441a70c2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 17•11 years ago
|
||
This bug was filed re Windows XP, but the pref change here will affect all Windows systems. Is that understood/intended/ok? See also bug 856394.
You need to log in
before you can comment on or make changes to this bug.
Description
•