Closed
Bug 1265668
Opened 9 years ago
Closed 9 years ago
Enabling ES3 by default for WebGL
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ethlin, Assigned: ethlin)
References
Details
Attachments
(2 files, 1 obsolete file)
1.92 KB,
patch
|
Details | Diff | Splinter Review | |
2.54 KB,
patch
|
Details | Diff | Splinter Review |
Some extensions may need functions from ES3, like EXT_disjoint_timer_query. For now we use ES2 for WebGL1, so we cannot support these kind of extensions. We should try to use ES3 for WebGL1 if it can fall back to ES2.
Assignee | ||
Comment 1•9 years ago
|
||
Enabling ES3 by default. I will sent to try server and also try the conformance test 1.0.3 to see the impact of this.
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Summary: Set PREFER_ES3 for WebGL1 → Enabling ES3 by default for WebGL
Comment 3•9 years ago
|
||
I think we should do this.
Please add a pref:
webgl.enable-es3-webgl1: true
Any comments, jrmuizel?
Flags: needinfo?(jmuizelaar)
Assignee | ||
Comment 4•9 years ago
|
||
There are some failures on try server after set ES3 as default on win8. I will study these tests first.
1. Assertion failure: false (We should have caught all other errors.), at c:/builds/moz2_slave/try-w64-0000000000000000000000/build/src/dom/canvas/WebGLTextureUpload.cpp:1832
TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-conformance/_wrappers/test_conformance__misc__uninitialized-test.html | application terminated with exit code 1
PROCESS-CRASH | dom/canvas/test/webgl-conformance/_wrappers/test_conformance__misc__uninitialized-test.html | application crashed [@ mozilla::WebGLTexture::CopyTexImage2D(StrongGLenum<TexImageTargetDetails>,int,unsigned int,int,int,int,int,int)]
2. 501 INFO TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-mochitest/test_depth_tex_lazy_clear.html | Should have no errors.
3. 542 INFO TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-mochitest/test_implicit_color_buffer_float.html | OES_texture_half_float should allow float textures.
Return code: 1
Assignee | ||
Comment 5•9 years ago
|
||
Add fall back flow of es3 to es2.
Attachment #8742729 -
Attachment is obsolete: true
Assignee | ||
Comment 6•9 years ago
|
||
Add preference webgl.enable-es3-webgl1.
Assignee | ||
Comment 8•9 years ago
|
||
I made a chromium build and I think chrome still use ES2 in webgl1. I will check how does chrome support EXT_disjoint_timer_query in webgl1.
Assignee | ||
Comment 9•9 years ago
|
||
Per discussion with jgilbert, chrome just returns 0 when the platform doesn't support GetInteger64v. So we don't need to enable ES3 by default.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•