Closed
Bug 1176457
Opened 9 years ago
Closed 9 years ago
Graphics glitches appear everywhere in Graphene when run on Windows.
Categories
(Firefox OS Graveyard :: Runtime, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bbondy, Assigned: bbondy)
References
Details
(Whiteboard: graphene-larch)
Attachments
(3 files)
Please see the attached image of blizzard.com. The problem seems to be with the azure D2D backend. In this bug I'll just switch to the cairo backend so that Graphene is usable in Windows, I have a patch for this and will upload shortly. pref("gfx.content.azure.backends", "cairo"); I'll also post another bug to investigate why the direct2d1.1 and direct2d backends do not work properly in Graphene.
Assignee | ||
Comment 1•9 years ago
|
||
Here's how the page renders (as normal) with cairo backend. Note that toggling dom.ipc.tabs.disabled has no effect on the rendering for me either way.
Comment 2•9 years ago
|
||
Do you have the same issue with the Firefox OS simulator?
Assignee | ||
Comment 3•9 years ago
|
||
Note that this is on both a new Windows 8 Dell and also on a VM. No I don't have the same problem with Firefox OS simulator.
Assignee | ||
Comment 4•9 years ago
|
||
I think because of this, the simulator also uses cairo for rendering with azure: https://dxr.mozilla.org/mozilla-central/source/b2g/components/OopCommandLine.js#33
Comment 5•9 years ago
|
||
Can you disable tiling and keep direct2d see if that fixes the glitches? Firefox Desktop uses d2d, right?
Comment 6•9 years ago
|
||
(make sure to disable tiling in both the prefs and the settings)
Assignee | ||
Comment 7•9 years ago
|
||
Firefox Desktop does yes. I'll try the tiling thing.
Assignee | ||
Comment 8•9 years ago
|
||
OK disabling tiling works on Windows so I'm going to go with that. I verified as well and enabling tiling with D2D backend for azure also messes up in the same way on Desktop Firefox. So I guess tiling + D2D isn't a supported config yet. Uploading patch for review shortly.
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8625236 -
Flags: review?(paul)
Updated•9 years ago
|
Attachment #8625236 -
Flags: review?(paul) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Before landing I just wanted to check if it'd be better to set it in the b2g prefs under the same condition, since settings.js is modified I'm thinking that might be best.
Flags: needinfo?(fabrice)
Comment 11•9 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #10) > Before landing I just wanted to check if it'd be better to set it in the b2g > prefs under the same condition, since settings.js is modified I'm thinking > that might be best. Yes, that looks like the right thing to do. thanks!
Flags: needinfo?(fabrice)
Assignee | ||
Comment 12•9 years ago
|
||
I'm not sure if we're supposed to close out these larch only bugs or not. Please advise. Turns out for windows it was already set to pref("layers.enable-tiles", false); for b2g/graphene. So it was only needed in the settings.js to fix the problem. Landed here: http://hg.mozilla.org/projects/larch/rev/9ca8bc49bf32
Assignee | ||
Updated•9 years ago
|
Whiteboard: graphene-larch
Comment 13•9 years ago
|
||
Landed in mozilla-central via bug 1204965.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•