Commit graph

49 commits

Author SHA1 Message Date
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
2d251e063c Fix build on macOS. 2021-07-23 19:36:28 +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
2439235e42 Remove CurrentSingleComponentFormat. 2021-07-22 15:49:33 +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
John Preston
ed6c2cb541 Use GL_BGRA_EXT format with ANGLE. 2021-07-14 20:03:22 +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
3b3413e618 Try disabling native child OpenGL workaround. 2021-07-02 00:37:17 +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
9255d71038 Suggest single-component texture format. 2021-06-30 11:47:15 +03:00
John Preston
98ba824bde Return OpenGL window on macOS and Linux. 2021-06-23 19:47:57 +04:00
John Preston
a009efc50d Fix expose bug for frameless OpenGL window. 2021-06-23 15:42:38 +04:00
John Preston
f646439624 Fix full screen OpenGL native child window. 2021-06-21 11:28:53 +04:00
John Preston
685db2ab5e Simplify native child OpenGL window creation. 2021-06-21 10:27:11 +04:00
John Preston
bd989cb67f Fix OpenGL detection on WA_NativeWindow widgets. 2021-06-18 22:53:44 +04:00
John Preston
34a867b2a0 Fix move between Retina / Non-Retina. 2021-06-16 10:29:22 +04:00
John Preston
4837b47623 Fix Image::texturedRect() before Image::bind(). 2021-06-15 16:47:06 +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
802918dd11 Disable blend before painting explicitly. 2021-06-11 20:28:55 +04:00
John Preston
9294c8c695 Fix custom OpenGL renderers on macOS. 2021-06-11 17:22:55 +04:00
John Preston
098eb59f2f Remove BackgroundFiller, use glClear in paintEvent. 2021-06-10 23:36:26 +04:00
John Preston
7bc9e12614 For surface with parent backend should be fixed. 2021-06-08 15:51:12 +04:00
John Preston
cbb65009ff Use QOpenGLShaderProgram::bind. 2021-06-08 13:24:51 +04:00
John Preston
4ae6d31963 Allow setting other filter/clamp in GL::Textures. 2021-06-08 11:08:55 +04:00
John Preston
35236988b7 Remove redundant Uniform(QColor) helper. 2021-06-07 18:31:11 +04:00
John Preston
02049aeaa8 Add FragmentGlobalOpacity shader part. 2021-06-04 17:05:42 +04:00
John Preston
06f7b1d4ec Fix YUV->RGB shader (YCbCr->RGB really).
WebRTC SDK got it wrong.

See https://web.archive.org/web/20180421030430/
http://www.equasys.de/colorconversion.html
2021-06-04 14:46:07 +04:00
John Preston
45c476da3a Fix working with OpenGL images. 2021-06-03 16:34:28 +04:00
John Preston
0df1579d4a Support sub-image updating in Ui::GL::Image. 2021-06-03 11:07:21 +04:00
John Preston
8b7aa44226 Provide some simple OpenGL primitives. 2021-06-02 20:27:30 +04:00
John Preston
6fa01d0a1e VertexPassTextureCoord may be reused. 2021-05-29 15:54:32 +04:00
John Preston
28b72295ab Add framebuffers wrapper class. 2021-05-29 12:29:26 +04:00
John Preston
5389de6b96 Add outline support to rounded corners shader. 2021-05-28 21:05:01 +04:00
John Preston
8fbeb7f503 Fix build on macOS. 2021-05-25 19:18:25 +04:00
John Preston
52d5934dff Add Ui::GL::Rect::empty method. 2021-05-25 17:23:22 +04:00
John Preston
808f8c7dea Add some utilities for OpenGL shaders. 2021-05-25 14:54:41 +04:00
John Preston
2a26d4a91a Add texture / image OpenGL helper. 2021-05-25 12:07:11 +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