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)

All
Windows NT
defect
Not set
normal

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.
Depends on: 1176459
Attached image cairo-rendering.png
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.
Do you have the same issue with the Firefox OS simulator?
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.
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
Can you disable tiling and keep direct2d see if that fixes the glitches?

Firefox Desktop uses d2d, right?
(make sure to disable tiling in both the prefs and the settings)
Firefox Desktop does yes.  I'll try the tiling thing.
No longer depends on: 1176459
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.
Attached patch Disable tilingSplinter Review
Attachment #8625236 - Flags: review?(paul)
Attachment #8625236 - Flags: review?(paul) → review+
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)
(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)
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
Whiteboard: graphene-larch
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.

Attachment

General

Created:
Updated:
Size: