Closed
Bug 571172
Opened 13 years ago
Closed 13 years ago
import and use ANGLE GLSL ES shader validator
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
References
Details
Attachments
(2 files)
1.66 MB,
patch
|
Details | Diff | Splinter Review | |
25.35 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
The ANGLE project includes a standalone GLSL ES shader validator, which enforces all GLSL ES limits and does GLSL ES -> desktop GLSL translation. We should import that and hook it up.
Assignee | ||
Comment 1•13 years ago
|
||
This is the angle source, taken from SVN. Rev number is in README.mozilla in upcoming patch.
Assignee: nobody → vladimir
Assignee | ||
Comment 2•13 years ago
|
||
This adds the mozilla build pieces and uses the ANGLE translator in WebGL, if a pref is set. That pref is off by default, because all the webgl implementations are waiting another week or two until we all get this change in plus a few additional changes that break backwards compat, so that we break everyone all at once.
Attachment #450369 -
Flags: review?(joe)
Comment 3•13 years ago
|
||
Comment on attachment 450369 [details] [diff] [review] 2. Use ANGLE for shader translation Push the angle stuff upstream? And probably maintain it as a separate patch too, like we do for Cairo. Also, case Foo: { // some stuff } break; is ugly!!
Attachment #450369 -
Flags: review?(joe) → review+
Assignee | ||
Comment 4•13 years ago
|
||
So, this is blocked because it introduces a dependency on GLIBCXX_3.4.9, which is what our compiler generates; but the tests are run without the correct paths in the runtime, leading to test failures due to missing version symbols. See bug 560894. Seems to only be a problem on linux64; I'm going to see about just disabling angle building there for now.
Assignee | ||
Comment 5•13 years ago
|
||
Landed, compilation disabled on linux64. http://hg.mozilla.org/mozilla-central/rev/8d003a6c5cb8 http://hg.mozilla.org/mozilla-central/rev/0895c4370e7a http://hg.mozilla.org/mozilla-central/rev/42029b6d627e Filed bug 578877 to enable it on linux64 once the build thing is fixed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Doesn't this need license stuff added to about:license and https://wiki.mozilla.org/ThirdPartyCode ? There's also https://wiki.mozilla.org/License_Policy#Third_Party_Code but that seems outdated.
Comment 7•13 years ago
|
||
Yes, this needs to be added to about:license and https://wiki.mozilla.org/ThirdPartyCode (the other file was outdated and has been removed). Please can someone file a bug and attach a patch for about:licence? Thanks, Gerv
Comment 9•13 years ago
|
||
(In reply to comment #7) > Yes, this needs to be added to about:license and > https://wiki.mozilla.org/ThirdPartyCode (the other file was outdated and has > been removed). Please can someone file a bug and attach a patch for > about:licence? Did this happen? I can't see it, but maybe I'm not looking at it right...
Comment 10•13 years ago
|
||
(In reply to comment #7) > Yes, this needs to be added to about:license and > https://wiki.mozilla.org/ThirdPartyCode (the other file was outdated and has > been removed). Please can someone file a bug and attach a patch for > about:licence? I updated that wiki page and filed bug 627817
You need to log in
before you can comment on or make changes to this bug.
Description
•