On Android, enabling OES_texture_half_float WebGL extension doesn't allow renderability |
||||
Issue descriptionThe WebGL 1.0 conformance test: https://www.khronos.org/registry/webgl/sdk/tests/conformance/extensions/oes-texture-half-float.html checks for *optional* renderability of half-float textures. Chrome's apparently never advertised renderability of these textures on Android, so that part of the conformance test is skipped. On a Google Pixel, for example, the OpenGL ES extension GL_EXT_color_buffer_half_float is advertised, so there's no good reason why these textures shouldn't be renderable. It looks like half-float support wasn't well plumbed through the stack until recently in Issue 687439 . Need to understand why this isn't working on Android.
,
Mar 24 2017
Sorry, meant Nexus 5X and not Android.
,
Mar 24 2017
Good point Yuly. I remember that discrepancy and think Chromium's already rewriting the HALF_FLOAT_OES texture type in places where needed. Not sure though why it doesn't allow rendering to these textures.
,
Mar 25 2017
See also issue 673307, not sure if duplicate
,
Feb 23 2018
Over to Vikas for investigation - sounds like we may have some bugs in our plumbing for exposing half-float textures. issue 687439 added support for these textures, but seems to have missed something. Probably looking at that CL is a good starting place, then trying this out on a Pixel phone with some logging to understand why this support isn't working.
,
Feb 27 2018
This issue seems to be fixed now. I ran the webGL 1.0 conformance test mentioned by @kbr on a google nexus P device (running android 8.1.0). https://www.khronos.org/registry/webgl/sdk/tests/conformance/extensions/oes-texture-half-float.html The test passes and completes. I can see the test logs saying texture creation with this extension enabled PASS.
,
Feb 27 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by ynovikov@chromium.org
, Mar 24 2017