[Public WebGL] Rendering to HDR displays (10bits per color component)

Javi Agenjo [email protected]
Thu Jul 12 03:33:58 PDT 2018

I see, thanks for the info Florian. I didnt know front/back was limited to
8 bits on desktop computers, but if Chrome supports HDR video rendering (as
far as they say), there has to be some sort of pipeline going on outputing
to 10bits, unless it is all happenning beyond the pipeline through some
sort of decoding chip inside the GPU.

Im asking because Im working in an European project related to HDR (HDR4EU
<https://www.upf.edu/web/hdr4eu>) and there are companies pushing HDR
displays for consumers so there are reasons to expect changes in the near
future, with better quality and gamuts. So it would be interesting to see
some suggestions about how browsers can adapt to that change in the next


On Thu, Jul 12, 2018 at 12:10 PM, Florian Bösch <[email protected]> wrote:

> Oh and in any case afaik the only 10-bit consumer grad display panels out
> there are cheap, don't really do 10-bit colors and have poor gamut/contrast
> effectively negating any benefit.
> On Thu, Jul 12, 2018 at 12:06 PM, Florian Bösch <[email protected]> wrote:
>> My knowledge on the topic might be a bit outdated, but here's my
>> understanding.
>> Neither OpenGL nor Direct3D support HDR front/back buffers and even
>> though the GPU might be able to output a HDR signal to the monitor
>> (something that previously was only possible with ugly hacks in medical
>> imaging setups with a special driver that interlaced 8-bit and then tacked
>> on 2 more bits into a seperate render target), when you render hardware
>> accelerated all your output values get clamped to 8-bits per component when
>> you put them into gl_FragColor for the rasterizer.
>> Please correct me if this is wrong (by now).
>> On Thu, Jul 12, 2018 at 11:47 AM, Javi Agenjo <[email protected]>
>> wrote:
>>> Hi:
>>> Now that Chrome supports HDR video rendering (in Windows 10) with 10bits
>>> per color (using the VP9 Profile 2 10-bit) I was wondering if there would
>>> be any changes that we can instantiate a WebGL Context that has more than
>>> 8bits per color component, now that HDR displays are starting to roll out
>>> commercially.
>>> Sorry if this topic has been brought before or if this feature is
>>> already supported, but I did my research and couldnt find anything.
>>> Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20180712/7009be33/attachment.html>

More information about the public_webgl mailing list