Closed Bug 891033 Opened 11 years ago Closed 8 years ago

WebGL2 Edit GLContext to allow getting a GL3 context; let WebGL 2 use it

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: guillaume.abadie, Unassigned)

References

()

Details

(Whiteboard: webgl-next)

Edit GLContext to allow getting a GL3 context; let WebGL 2 use it 

See https://wiki.mozilla.org/Platform/GFX/WebGL2
Assignee: nobody → gabadie
Blocks: webgl2
Depends on: 890311
Ok I have a big problem with that :

I had in GLContextProviderCGL.mm:62 thoses 2 following lines
NSOpenGLPFAOpenGLProfile,
NSOpenGLProfileVersion3_2Core,

And then when I run Firefox, it just abort because of GFX shaders are not OpenGL 3.2 compatible. Indeed, On Mac OS X, if we want an OpenGL 3.0 context, we can only create a OpenGL 3.2 core profile context.

This is critical because a lot of WebGL 2 features need a OpenGL 3.0 context.

Also sampler objects are available since OpenGL 3.3, but Mac OS X 10.8.4 doesn't support it at all, even by extensions unfortunately. I would need 10.9 to continue.
Depends on: 891204
Missing sampler objects isn't that big of a deal since we probably can't use them without ANGLE upgrades anyways.

Linux supports GL >3.2, as does Windows, so we can still do development even if we can't use it on Mac yet.
Depends on: 895597
Blocks: 898404
Depends on: 899206
Whiteboard: webgl-next
Assignee: guillaume.abadie → nobody
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.