Commit graph

13 commits

Author SHA1 Message Date
Ilya Fedin
0bee95570e Prevent false positives in TWidgetPrivate::rhiConfig
QWidget::create could set the WA_WState_Created flag without creating actual window. Adding the check from the top of QWidgetPrivate::create should prevent such false positives.
2023-11-09 07:00:14 +04:00
Ilya Fedin
1ae65d2cba Switch Qt 6.4+ back to OpenGL on macOS
The flickering bug seem to be fixed with the sRGB hint
2023-11-02 08:25:22 +04:00
Ilya Fedin
d3ac9dcf97 Add a warning for patching lovers 2023-09-22 09:10:11 +04:00
John Preston
2fe9ec27b1 Fix build for Windows, add BoxShowFinishes. 2023-09-12 20:14:37 +04:00
John Preston
3542f5e913 Force sRGB color space for windows on macOS. 2023-09-12 11:37:15 +04:00
John Preston
552db4b24f Allow setting heightMin in ResizeFitChild. 2023-08-23 11:22:34 +02:00
Ilya Fedin
9395714537 Avoid event loop being throttled by OpenGL
By default, Qt uses swap interval of 1 what causes the (egl|wgl|glx)SwapBuffers call to wait for vblank. Using swap interval of 0 makes the call to return immediately.
2023-04-08 18:20:07 +04:00
Ilya Fedin
f5fb567052 Take advantage of RHI
Use Metal with Qt 6.4+ and macOS 10.14+, OpenGL for Wayland whenever enabled
2023-04-03 16:03:08 +04:00
John Preston
402b73f5cf Fix crash in TWidgetHelper::show/hideChildren. 2021-11-02 00:08:10 +04:00
John Preston
95ee92088e Allow choosing OpenGL / Raster in runtime. 2021-05-19 16:46:58 +04:00
John Preston
120a52c143 Add traits for customizing RpWidgetWrap instances. 2021-01-05 21:09:05 +04:00
John Preston
15b0e73d3b Allow custom event filters in RpWidget. 2019-09-19 20:09:37 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00