John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
2aa293f1a5
Re-create texture image on format change.
2022-03-30 17:07:35 +04:00
John Preston
4b328a236c
Fix NV12 video rendering in Picture-in-Picture panel.
2022-03-28 17:39:25 +04:00
John Preston
41eb223bbf
Render NV12 in OpenGL from hwaccel without swscale.
2022-03-23 10:03:43 +04:00
John Preston
95e806cb89
Play webm stickers only once if looping is disabled.
2022-02-10 19:11:21 +03:00
John Preston
589673e420
Fix non-sticker Webm in media viewer.
2022-01-28 19:10:07 +03:00
John Preston
19ce1edc16
Use base::SafeRound instead of std::round.
...
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b
, 8f5830d520
.
Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston
463da7e410
Allow Ui::GL::Renderer::deinit on lost context.
2021-09-06 13:13:26 +03:00
John Preston
7e6f24552a
Add basic OpenGL info to crash annotations.
2021-08-23 18:29:20 +03:00
John Preston
c0f8e68f5d
Don't use CurrentSingleComponentFormat.
...
Fix noise in voice chat blur in OpenGL ES (ANGLE).
2021-07-23 15:42:16 +03:00
John Preston
10e1feb40b
Use GL_BGRA_EXT format with ANGLE.
2021-07-15 16:42:38 +03:00
Ilya Fedin
b6881022ce
Allow to build with -Werror and clang
...
Fixes -Wdeprecated-enum-enum-conversion, -Wdeprecated-declarations, -Wrange-loop-construct, -Winconsistent-missing-override
2021-07-13 21:32:06 +03:00
John Preston
6cea7d4a52
Fix YUV->RGB on D3D9 ANGLE backend.
2021-07-01 23:46:52 +03:00
John Preston
df28da4d97
Show "Video is paused" in wide panel mode.
2021-06-15 16:49:53 +04:00
John Preston
4e0355d09f
Fix semi-transparent .webp in media viewer.
2021-06-14 15:28:39 +04:00
John Preston
5ab8a7d9c5
Fix controls in PiP video player.
2021-06-11 20:29:34 +04:00
23rd
8d72026cbd
Fixed build for Linux.
2021-06-10 23:00:56 +03:00
John Preston
2f986660ff
Optimize background painting in OpenGL renderers.
2021-06-10 23:37:09 +04:00
John Preston
f9f98975a1
Implement OpenGL renderer for one-on-one calls.
2021-06-10 17:16:17 +04:00
John Preston
fba116f0d5
Implement custom OpenGL renderer for PiP.
2021-06-10 10:12:37 +04:00
John Preston
b3648d0147
Use QOpenGLShaderProgram::bind.
2021-06-09 09:19:28 +04:00
John Preston
9a21d55de7
Show last blurred frame or userpic for paused videos.
2021-06-09 09:19:28 +04:00
John Preston
71ddfacfaa
Fix showing static content in OpenGL media viewer.
2021-06-09 09:19:28 +04:00
John Preston
23c2bce1bb
Animated zoom+rotate in OpenGL media viewer.
2021-06-09 09:19:28 +04:00
John Preston
2801bd99b8
Render media viewer icons in RendererGL.
2021-06-09 09:19:28 +04:00
John Preston
607263b8be
Fix seek / cancel of video playback in media viewer.
2021-06-09 09:19:28 +04:00
John Preston
f6f0b02333
Render YUV420 video in media viewer.
2021-06-09 09:19:28 +04:00
John Preston
68ae40ee56
Draw all except controls in OpenGL media viewer.
2021-06-09 09:19:27 +04:00
John Preston
24f8a88625
Start OpenGL media viewer renderer.
2021-06-09 09:19:27 +04:00