[Development] HDR Support in Qt and Angle

Allan Sandfeld Jensen kde at carewolf.com
Mon Nov 26 09:10:33 CET 2018


On Mittwoch, 21. November 2018 10:43:57 CET Boudewijn Rempt wrote:
> We've been working with Intel for some time now on figuring out how to
> support HDR in Krita. Dmitry has made some initial progress, hacking on
> Angle and Qt to make this possible. Right now, only Windows and Direct3D
> support HDR, though Intel is also working on support on Linux.
> 
> Other Qt applications, like VLC, implement a custom Direct3D widget, but
> since all our code is opengl, that wouldn't have worked for Krita.
> 
> Here's the first report with some links to code: https://
> dimula73.blogspot.com/2018/11/krita-fall-2018-sprint-results-hdr.html
> 
> What I'm wondering is, have other people been working on this as well, or
> thinking about it? And what would be needed to get our code upstreamed. I
> remember that trying to get the modernized code for QOpenGLPainter pushed
> was quite hard, so I wanted to reach out as soon as possible.

I have been working on it and have a plan for it.  The first steps is a color 
space system, see https://codereview.qt-project.org/234095.

Then the very basic of extended colors https://codereview.qt-project.org/
233735

Next I have some work toward an 4xfp16 based rendering backend and image 
support, possibly removing the 4xuint16 backend at the same time so there is 
only one high-color precision backend. 

Then we just need a way to connect that to a backing store, such as using 
scRGB in OpenGL which looks like what you have been wokring on :)

Best Regards
'Allan





More information about the Development mailing list