Closed
Bug 1124394
Opened 9 years ago
Closed 9 years ago
Support running WebGL on Core Profiles on Mac
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: jgilbert, Assigned: jgilbert)
References
Details
Attachments
(12 files, 1 obsolete file)
4.28 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
6.44 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
2.77 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
18.88 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
5.62 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
1.45 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
11.38 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
4.74 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
4.30 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
570 bytes,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
8.52 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
6.24 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
We need to use core profiles to get a number of features we require for WebGL 2.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8552675 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8552676 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8552677 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8552678 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8552679 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8552680 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8552681 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8552682 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8552683 -
Flags: review?(dglastonbury)
Assignee | ||
Comment 10•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3b777bceef70 Clean.
Attachment #8552675 -
Flags: review?(dglastonbury) → review+
Attachment #8552676 -
Flags: review?(dglastonbury) → review+
Attachment #8552677 -
Flags: review?(dglastonbury) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8552678 [details] [diff] [review] 0004-Fix-GL3.0-extension-parsing.patch Review of attachment 8552678 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/gl/GLContext.h @@ +3686,5 @@ > + std::vector<nsACString*>* out); > + > +template<size_t N> > +bool > +MarkBitfieldByString(const nsACString& str, const char* markStrList[N], These don't compile on MSVC but I see changes in Patch 9
Attachment #8552678 -
Flags: review?(dglastonbury) → review+
Attachment #8552679 -
Flags: review?(dglastonbury) → review+
Attachment #8552680 -
Flags: review?(dglastonbury) → review+
Comment 12•9 years ago
|
||
Comment on attachment 8552681 [details] [diff] [review] 0007-Allow-requests-for-compat-profiles.patch Review of attachment 8552681 [details] [diff] [review]: ----------------------------------------------------------------- Follow up patch to switch bool param out for enums after this lands. ::: dom/canvas/WebGLContext.cpp @@ +515,4 @@ > return nullptr; > } > > + nsRefPtr<GLContext> gl = gl::GLContextProvider::CreateHeadless(false); I think this should be an enum instead of a bool param. I have patches to do that which we can land after this.
Attachment #8552681 -
Flags: review?(dglastonbury) → review+
Comment 13•9 years ago
|
||
Comment on attachment 8552682 [details] [diff] [review] 0008-Only-use-core-for-WebGL2.patch Review of attachment 8552682 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/gl/GLContextProviderCGL.mm @@ -259,4 @@ > > if (!requireCompatProfile) { > profile = ContextProfile::OpenGLCore; > - context == CreateWithFormat(kAttribs_offscreen_coreProfile); Oops
Attachment #8552682 -
Flags: review?(dglastonbury) → review+
Attachment #8552683 -
Flags: review?(dglastonbury) → review+
Comment 14•9 years ago
|
||
Phew, review done. There's a couple of patches I have to get WebGL 2 working on OSX that I'll send your way once this lands.
Assignee | ||
Comment 15•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/783d0fe2770b
Backed out for test bustage: https://hg.mozilla.org/integration/mozilla-inbound/rev/cffc8f5b7068 https://treeherder.mozilla.org/logviewer.html#?job_id=5941086&repo=mozilla-inbound
Flags: needinfo?(jgilbert)
Assignee | ||
Comment 17•9 years ago
|
||
There's a terminology mismatch here: non-onscreen vs. has-offscreen-buffer. https://treeherder.mozilla.org/#/jobs?repo=try&revision=29d94749844f
Flags: needinfo?(jgilbert)
Assignee | ||
Comment 18•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/176166c0bae9
Comment 19•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/176166c0bae9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 20•9 years ago
|
||
This needs to be backed out from all trees as soon as possible for causing bug 1127304
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/b556a1f684ed I'll merge this around before the next b2g nightlies get scheduled.
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla38 → ---
Assignee | ||
Comment 23•9 years ago
|
||
Attachment #8558756 -
Flags: review?(dglastonbury)
Comment 24•9 years ago
|
||
Comment on attachment 8558756 [details] [diff] [review] 0011-Make-copies-of-extension-strings.patch Review of attachment 8558756 [details] [diff] [review]: ----------------------------------------------------------------- Strings!!!! *shakes fist* ::: gfx/gl/GLContext.cpp @@ +1612,5 @@ > i); > + // We CANNOT use nsDependentCString here, because the spec doesn't guarantee > + // that the pointers returned are different, only that their contents are. > + // On Flame, each of these index string queries returns the same address. > + mDriverExtensionList.push_back(nsCString(rawExt)); Oh, joy.
Attachment #8558756 -
Flags: review?(dglastonbury) → review+
Assignee | ||
Comment 25•9 years ago
|
||
So when holding onto a std::vector<nsCString>, we get leakage of nsStringBuffers: https://tbpl.mozilla.org/?tree=Try&rev=7a8309fddbae Without persisting these, we appear green.
Assignee | ||
Comment 26•9 years ago
|
||
Attachment #8558756 -
Attachment is obsolete: true
Attachment #8559445 -
Flags: review?(dglastonbury)
Attachment #8554975 -
Flags: review+
Comment 27•9 years ago
|
||
Comment on attachment 8559445 [details] [diff] [review] 0011-Make-copies-of-extension-strings.patch Review of attachment 8559445 [details] [diff] [review]: ----------------------------------------------------------------- I swear I've reviewed these changes already.
Attachment #8559445 -
Flags: review?(dglastonbury) → review+
Assignee | ||
Comment 28•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/80a88a3badba
Comment 29•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/80a88a3badba
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Depends on: 1130420
Assignee | ||
Comment 30•9 years ago
|
||
Backed out: https://hg.mozilla.org/mozilla-central/rev/aa5f8d47a0ba
Updated•9 years ago
|
Comment 32•9 years ago
|
||
How is it this passes on Try but keeps getting backed out? Does this point to a deficiency in our automated tests?
Assignee | ||
Comment 33•9 years ago
|
||
(In reply to Dan Glastonbury :djg :kamidphish from comment #32) > How is it this passes on Try but keeps getting backed out? Does this point > to a deficiency in our automated tests? The two post-Try backouts appear to be different categories of gaps, at least. The first one was driver-related, so there's not a ton we can do there with our current Try configuration. The second (present) one has a good chance of being missed by our tests. I'm still figuring out the actual cause.
Assignee | ||
Comment 34•9 years ago
|
||
Attachment #8563699 -
Flags: review?(dglastonbury)
Comment 35•9 years ago
|
||
Comment on attachment 8563699 [details] [diff] [review] 0012-Attach-Readback-func-to-GLContext-not-GLScreenBuffer.patch Review of attachment 8563699 [details] [diff] [review]: ----------------------------------------------------------------- From what I can tell, ScopeBindFramebuffer was replaced with more detailed version and the code was moved. LTGM.
Attachment #8563699 -
Flags: review?(dglastonbury) → review+
Assignee | ||
Comment 36•9 years ago
|
||
Let's try again: https://hg.mozilla.org/integration/mozilla-inbound/rev/df54006fbe9e
Comment 37•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/df54006fbe9e
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•