I'm not sure if this is really the official line - it's more like the current generation of Qt developers doesn't know QWS themself anymore. When I had to deal with these issues ( 4.6, 4.7 days ) the official line was, that QPA is the new thing and QWS won't be touched anymore. But QPA 4.8. was declared as "not worth to be documented yet" - so the situation is quite unsatisfying at the moment. Guess the strategy today is simply waiting for Wayland.
But in fact QWS/OpenGL is not so far from being usable if someone would be interested in fixing it. F.e the wrong stacking order of the subsurfaces is an easy patch. More difficult is the logic that tries to restore parts of the screen from the backing store, that doesn't exits for OpenGL surfaces.
So when you are not willing to patch Qt I would completely agree with Witold: QWS means raster only.
Uwe
I'm not sure if this is really the official line - it's more like the current generation of Qt developers doesn't know QWS themself anymore. When I had to deal with these issues ( 4.6, 4.7 days ) the official line was, that QPA is the new thing and QWS won't be touched anymore. But QPA 4.8. was declared as "not worth to be documented yet" - so the situation is quite unsatisfying at the moment. Guess the strategy today is simply waiting for Wayland.
But in fact QWS/OpenGL is not so far from being usable if someone would be interested in fixing it. F.e the wrong stacking order of the subsurfaces is an easy patch. More difficult is the logic that tries to restore parts of the screen from the backing store, that doesn't exits for OpenGL surfaces.
So when you are not willing to patch Qt I would completely agree with Witold: QWS means raster only.
Uwe
I'm not sure if this is really the official line - it's more like the current generation of Qt developers doesn't know QWS themself anymore. When I had to deal with these issues ( 4.6, 4.7 days ) the official line was, that QPA is the new thing and QWS won't be touched anymore. But QPA 4.8. was declared as "not worth to be documented yet" - so the situation is quite unsatisfying at the moment. Guess the strategy today is simply waiting for Wayland.
But in fact QWS/OpenGL is not so far from being usable if someone would be interested in fixing it. F.e the wrong stacking order of the subsurfaces is an easy patch. More difficult is the logic that tries to restore parts of the screen from the backing store, that doesn't exits for OpenGL surfaces.
So when you are not willing to patch Qt I would completely agree with Witold: QWS means raster only.
Copying a camera image through QPainter/OpenGL is a complete waste of CPU. This could be done much better by hardware - if it supports stuff like different layers. I strongly recommend to read the specs of your GPU !
Uwe





Reply With Quote

Bookmarks