Closed Bug 725105 Opened 12 years ago Closed 12 years ago

Fix non-OS-double-buffered GL layers

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: joe, Assigned: joe)

Details

Attachments

(1 file)

The single-buffering path is broken right now, but this fixes it.
Attachment #595192 - Flags: review?(bjacob)
You rock! Does non-OS-double-buffering work on B2G with that patch?
Summary: Fix single buffering in GL layers → Fix non-OS-double-buffered GL layers
Not really, unfortunately. We still get some bad rendering. More investigation is necessary.
Oh wow this could be great. Can you test switching off double buffering by flipping that bool and applying this patch? We desperately need that to stop tearing.
We need this patch as insurance against what appear to be driver bugs, so it's quite high priority for b2g.  What's the status here?  Not ready for review yet?
Note that even if you apply this patch, you still need to turn off double buffering at GLContextProviderEGL.cpp:2016 before it'll take effect.
Finally got a test build up on the Maguro device while using single buffering. Still shows problems (flashing the lock screen this time), which implies that the problem is a fundamental one involving FBOs on the Maguro's drivers.
Comment on attachment 595192 [details] [diff] [review]
Invert texture coordinates

Review of attachment 595192 [details] [diff] [review]:
-----------------------------------------------------------------

Sorry, I apparently forgot to r+ this.
Attachment #595192 - Flags: review?(bjacob) → review+
https://hg.mozilla.org/mozilla-central/rev/571e46266e96
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: