Closed
Bug 784925
Opened 13 years ago
Closed 13 years ago
Readback w/OGL layers broken on Mac
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla18
Tracking | Status | |
---|---|---|
firefox17 | - | --- |
People
(Reporter: jgilbert, Assigned: jgilbert)
References
Details
Attachments
(1 file, 1 obsolete file)
6.05 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•13 years ago
|
||
I moved fGetIntegerv() up to near fBindFramebuffer, so it's more clear that we're hooking both of them similarly.
Assignee | ||
Updated•13 years ago
|
Blocks: webgl-reftests
No longer depends on: webgl-reftests
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #654510 -
Attachment is obsolete: true
Attachment #654510 -
Flags: review?(bjacob)
Attachment #656256 -
Flags: review?(bjacob)
Assignee | ||
Comment 3•13 years ago
|
||
This is a blocker for reftests to fix these issues:
https://tbpl.mozilla.org/?tree=Try&noignore=1&rev=2227fd734659
Assignee | ||
Comment 4•13 years ago
|
||
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
Updated•13 years ago
|
Attachment #656256 -
Flags: review?(bjacob) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Assignee | ||
Comment 8•13 years ago
|
||
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.
tracking-firefox17:
--- → ?
Comment 9•13 years ago
|
||
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.
Description
•