Closed
Bug 531612
Opened 15 years ago
Closed 14 years ago
[webgl] OSMesa wrapping fails on Linux
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 565417
People
(Reporter: ilmari.heikkinen, Unassigned)
Details
Attachments
(1 file)
326 bytes,
patch
|
Details | Diff | Splinter Review |
Using libOSMesa software GL for WebGL doesn't work on Linux because src/content/canvas/src/nsGLPbufferOSMESA.cpp:165 if (!mGLWrap.Init(GLES20Wrap::TRY_SOFTWARE_GL)) { fails on Linux. TRY_SOFTWARE_GL seeks symbols named with a "mgl"-prefix, e.g. "mglActiveTexture". The Linux OSMesa uses the "gl"-prefix, so should use TRY_NATIVE_GL instead. A quick workaround is to try both: if (!(mGLWrap.Init(GLES20Wrap::TRY_SOFTWARE_GL) || mGLWrap.Init(GLES20Wrap::TRY_NATIVE_GL))) {
Reporter | ||
Comment 1•15 years ago
|
||
Uses "gl" on MOZ_X11, "mgl" otherwise.
Reporter | ||
Updated•15 years ago
|
Attachment #414960 -
Flags: review?(vladimir)
Updated•14 years ago
|
Flags: blocking1.9.2?
Comment 2•14 years ago
|
||
WebGL isn't on the 1.9.2 branch, so can't block there. ;)
Flags: blocking1.9.2?
Comment 3•14 years ago
|
||
Fixed since bug 565417 has been fixed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Resolution: FIXED → DUPLICATE
Updated•13 years ago
|
Attachment #414960 -
Flags: review?(vladimir)
You need to log in
before you can comment on or make changes to this bug.
Description
•