Ilya Fedin
d2fddd8da6
Make the default rendering backend choosing logic public
2023-02-28 16:17:40 +04:00
Ilya Fedin
48a34dc746
Get rid of QSurface::supportsOpenGL check
...
It checks for surface type to be compatible with OpenGL, but there's no guarantee raster surface would return true here and once it's converted to an OpenGL surface, there's no need to check as it's known to support OpenGL.
This is the case with all QWidgets in Qt 6.4.
2022-07-19 19:44:06 +04:00
John Preston
bbae1c2ae7
Add AllowLinuxNvidiaOpenGL option.
2022-02-02 15:20:46 +03:00
John Preston
3177c78bda
Disable OpenGL on NVIDIA driver on Linux.
2021-10-22 19:39:09 +04:00
Ilya Fedin
8e5d35229a
Simple replacements for Qt 6
...
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
John Preston
5b521d63a4
Allow QSurfaceFormat::NoProfile in OpenGL detection.
2021-09-09 16:31:32 +03:00
John Preston
17123c08ab
Define 'KHRONOS_STATIC' globally.
2021-07-26 14:08:04 +03:00
John Preston
49166a8b72
Fix build on Linux.
2021-07-23 20:41:38 +03:00
John Preston
1ed242718e
Fix linker warning in MSVC.
2021-07-23 15:12:16 +03:00
John Preston
12429c198d
Provide custom gpu_driver_bug_list.json on Windows.
2021-07-23 10:36:17 +03:00
John Preston
e68f76e6ab
List and allow to query EGL extensions on Windows.
2021-07-21 21:18:04 +03:00
John Preston
27fd82a365
Set correct alpha size in QWindow format.
...
This somehow fixes Direct3D 11 ANGLE backend colors issue.
2021-07-21 21:16:46 +03:00
John Preston
0ad1d2c965
Check shader compiling/linking in detection.
2021-07-17 12:43:35 +03:00
Ilya Fedin
b8485c0d8a
Fix -Wunused-variable warnings
2021-07-13 21:24:22 +03:00
Ilya Fedin
f0c474c6ae
Fix clang warnings
...
Fixes -Wrange-loop-construct and -Wdeprecated-enum-enum-conversion
2021-07-13 20:16:48 +03:00
John Preston
ac97c608c8
Fix D3D11on12 backend choosing.
2021-07-01 10:45:42 +03:00
John Preston
7577f063a6
Allow settings ANGLE backends.
2021-07-01 00:12:52 +03:00
John Preston
bd989cb67f
Fix OpenGL detection on WA_NativeWindow widgets.
2021-06-18 22:53:44 +04:00
John Preston
27e9e349bf
Fix working using OpenGLES / ANGLE.
2021-06-14 12:13:33 +04:00
John Preston
f58fd1b927
Add OpenGL init crash checker.
2021-06-11 22:59:11 +04:00
John Preston
7bc9e12614
For surface with parent backend should be fixed.
2021-06-08 15:51:12 +04:00
John Preston
c946611689
Improve OpenGL logging.
2021-05-24 20:35:27 +04:00
John Preston
8d7ced5c74
Add OpenGL deinit().
2021-05-22 19:47:37 +04:00
John Preston
5e38964fbf
Allow force-disabling OpenGL.
2021-05-20 16:07:19 +04:00
John Preston
ca5b2e6746
Fix GL detection without a parent window.
2021-05-20 12:22:26 +04:00
John Preston
95ee92088e
Allow choosing OpenGL / Raster in runtime.
2021-05-19 16:46:58 +04:00