Is it possible to control where widgets get rendered to?
-
AFAIK the default rendering of standard widgets is in 8-bit color and typically tied to the native windowing system's framebuffer. I wonder if there's a way to change that to a custom QOffscreenSurface and QOpenGLFramebufferObject with support for color space selection. I have a PyQt app on Linux and I'd like to enable (fake) HDR on the entire UI. My naive idea is to render everything onto a custom framebuffer (e.g. GL_RGBA16F) and then perform color management. I'm not sure if this is possible though.
I was hoping that it is as simple as tweaking all the stylesheets, but that doesn't seem to be feasible at all :(
-
There is some work happening regarding this subject lately.
You could take a look at https://bugreports.qt.io/browse/QTBUG-129499 and its child issues and related gerrit links.
I guess you'll have to wait a bit but you can follow the progress along. -
This post is deleted!
-
There is some work happening regarding this subject lately.
You could take a look at https://bugreports.qt.io/browse/QTBUG-129499 and its child issues and related gerrit links.
I guess you'll have to wait a bit but you can follow the progress along. -
-
There is some work happening regarding this subject lately.
You could take a look at https://bugreports.qt.io/browse/QTBUG-129499 and its child issues and related gerrit links.
I guess you'll have to wait a bit but you can follow the progress along.@GrecKo Thanks! That's very helpful~