Closed Bug 784925 Opened 13 years ago Closed 13 years ago

Readback w/OGL layers broken on Mac

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla18
Tracking Status
firefox17 - ---

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(1 file, 1 obsolete file)

With webgl reftests, I was seeing failures on Mac when forcing fallback to readback, (but still OGL layers). Running a build locally, we're getting FB binding misprediction asserts. However, it looks like the problem is actually that we didn't MakeCurrent for the Readback path in OGL Layers.
Attached patch patch with some misc. cleanup (obsolete) — Splinter Review
I moved fGetIntegerv() up to near fBindFramebuffer, so it's more clear that we're hooking both of them similarly.
Assignee: nobody → jgilbert
Status: NEW → ASSIGNED
Attachment #654510 - Flags: review?(bjacob)
No longer depends on: webgl-reftests
No longer depends on: 735378
Depends on: 738833
Attachment #654510 - Attachment is obsolete: true
Attachment #654510 - Flags: review?(bjacob)
Attachment #656256 - Flags: review?(bjacob)
This is a blocker for reftests to fix these issues: https://tbpl.mozilla.org/?tree=Try&noignore=1&rev=2227fd734659
With this patch: https://tbpl.mozilla.org/?tree=Try&noignore=1&rev=08d1e14faab1 We go from roughly 20 failures per mac platform to 17. It looks like the '20' number might be somewhat random, since there doesn't seem to be much in common between the tests which were failing but are now fixed, other than that all readback w/alpha paths work after applying this patch. Note also that (with this patch) we no longer crash on debug mac builds (on readback) with FB shadow misprediction errors. Fixing readback w/o alpha is done by the patch to bug 735932. With this patch, Mac 10.8 passes the readback tests failing on other Mac versions.
Depends on: 735932
Attachment #656256 - Flags: review?(bjacob) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
With backporting webgl reftests to Aurora 17, we hit this problem again. Since we added the pref for this in 17, we should fix it so it works. This does not affect 16.
No need to track this, but please go ahead and nominate the patch for uplift to Aurora.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: