New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 705083 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug

Blocked on:
issue 687439



Sign in to add a comment

On Android, enabling OES_texture_half_float WebGL extension doesn't allow renderability

Project Member Reported by kbr@chromium.org, Mar 24 2017

Issue description

The 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.
 
Not sure if this is related, but Android supports GL_HALF_FLOAT_OES but not GL_HALF_FLOAT (there was some confusion in ANGLE about these 2 different defines).
Sorry, meant Nexus 5X and not Android.

Comment 3 by kbr@chromium.org, 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.

See also issue 673307, not sure if duplicate

Comment 5 by ericrk@chromium.org, Feb 23 2018

Cc: zmo@chromium.org ericrk@chromium.org
Owner: vikassoni@chromium.org
Status: Assigned (was: Available)
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.
Status: Fixed (was: Assigned)
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.



Status: Verified (was: Fixed)

Sign in to add a comment