Closed Bug 894492 Opened 12 years ago Closed 9 years ago

[meta] WebGL2 prototype bugs support

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: guillaume.abadie, Assigned: guillaume.abadie)

References

()

Details

This bug is intended to have dependencies on all WebGL 2 prototype's bugs reported by our contributors.
Assignee: nobody → gabadie
Blocks: webgl2
Dear Guillaume and colleagues, thanks a lot for providing access to the WebGL 2 prototype. Unfortunately, I was not able to create a WebGL 2 context, following the instructions: https://wiki.mozilla.org/Platform/GFX/WebGL2#Playground I'm using Windows 7, 64 Bit, and I have (today, July 25) downloaded and used the corresponding Nightly Installer. I have then run Nightly from the command line with "firefox.exe -P webgl2_config -no-remote", and I have set the "webgl.enable-draft-extensions" flag, and created the "webgl.enable-prototype-webgl2" flag, with its value set to true. The javascript execution seems to terminate during the call to "canvas.getContext("experimental-webgl2");". Replacing "webgl2" with "webgl", it works. Do you have any clue what might be going wrong? Thanks a lot in advance. Best, Max
I Max ! Thank you for reporting. First, there is a big difference between experimental-webgl2 and experimental-webgl. Indeed, experimental-webgl was use for the WebGL 1 prototype long time ago. Therefore getContext("experimental-webgl") success because it give you back a WebGL 1 context. =) The problem we are having specifically on windows about WebGL 2 is that we are using ANGLE to convert OpenGL ES calls to DirectX 11 calls. But our running ANGLE only provide a OpenGL ES 2 context, and might not provide all extensions needed by WebGL 2. A new angle version will give us a OpenGL ES 3 compatible context soon. Could you try to run with "export MOZ_WEBGL_FORCE_OPENGL=1" before launching firefox ? This force to use an OpenGL context for WebGL, but performance are not good at all with that.
Hi Guillaume, setting the environment variable you mentioned worked - at least the test program tells me that I have a webgl2 context now :-) Thanks a lot for the quick and helpful response!
Great ! I'm going to modify the tutorial for Windows User right now. Please create a separate bug and just fill the <<blocks>> form with 894492 next time. Thank to you !
Depends on: 900439
Depends on: 898386
Depends on: 1053440
We're out of the prototype stage now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.