Commit graph

443 commits

Author SHA1 Message Date
John Preston
a009efc50d Fix expose bug for frameless OpenGL window. 2021-06-23 15:42:38 +04:00
John Preston
22feeea7dc Fix ActivateWindowDelayed to raise top-level window. 2021-06-23 10:40:47 +04:00
John Preston
f239f66ce5 Fix build with Xcode. 2021-06-22 20:31:57 +04:00
John Preston
0028a534d2 Fix parsing links with markup to entities. 2021-06-22 19:04:29 +04:00
John Preston
2d71162f4a Convert overlapping tags to entities and back. 2021-06-22 18:29:12 +04:00
John Preston
d3eff6f38a Add and remove tags without clearing markup. 2021-06-22 16:35:01 +04:00
John Preston
96b4c6c57a Allow several tags with '|' separator in InputField. 2021-06-22 14:42:57 +04:00
John Preston
ff0daf7d83 Fix breaking formatting tag on newline. 2021-06-22 11:08:04 +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
825ef11f1a Allow updating shown ImportantTooltip geometry. 2021-06-18 16:08:40 +04:00
Ilya Fedin
d8abc60245 Use private Qt API for DisableCustomScaling 2021-06-18 12:05:59 +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
Ilya Fedin
b600b6a3b3 Move custom xdg-shell integration code to wayland integration 2021-06-12 15:51:04 +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
Ilya Fedin
43efd9e307 Use custom xdg-shell for shadows on Wayland 2021-06-10 23:39:38 +04:00
John Preston
098eb59f2f Remove BackgroundFiller, use glClear in paintEvent. 2021-06-10 23:36:26 +04:00
John Preston
1c004580eb Fix stay-on-top Ui::Window-s on macOS. 2021-06-08 17:11:02 +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
b1d5ed4ab5 Always call raise() before activateWindow(). 2021-06-07 11:24:22 +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
23rd
e6b736e718 Added suitable name for floating badge colors.
Removed redundant callFingerprintBg color.
2021-06-01 20:32:12 +03:00
23rd
fc357ae28f Removed Q_OBJECT from FlatLabel. 2021-05-31 22:54:24 +03:00
23rd
86c1cce260 Replaced QTimer with base::Timer in FlatLabel. 2021-05-31 22:54:24 +03:00
23rd
92fe8b138b Replaced raw PopupMenu pointer with unique_qptr in FlatLabel. 2021-05-31 22:54:24 +03:00
23rd
8c381e6bd4 Replaced singleShot with InvokeQueued in FlatLabel. 2021-05-31 22:54:24 +03:00
Ilya Fedin
cedff6dbb5 Use new XCB::ReplyPointer 2021-05-31 22:51:23 +03:00
Ilya Fedin
6ff8d15de0 Move qtextitemint ifdef to cmake 2021-05-31 22:51:06 +03:00
Ilya Fedin
0dbb210385 Fix deprecated declarations warning in QTextItemInt 2021-05-31 22:51:06 +03: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
f475fe28e4 Improve ImportantTooltip. 2021-05-28 19:07:50 +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