Commit Graph

55 Commits

Author SHA1 Message Date
23rd d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
John Preston 0dfe37f998 Mirror my outgoing video in video chats. 2024-01-16 11:18:55 +04:00
Ilya Fedin 00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston af3cf63e5f Fix OpenGL rendering with precise HighDPI. 2023-08-17 14:22:04 +02:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston d6ba092697 Make GIFs and videos with captions larger. 2022-09-05 19:03:52 +04:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston bde3da53b6 Improve fullscreen RTMP streams. 2022-03-15 19:41:16 +04:00
John Preston d36315104e Improve full screen RTMP streams. 2022-03-04 16:31:04 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04: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 14314df26a Show userpics in who read context item. 2021-09-09 00:10:49 +03:00
John Preston 463da7e410 Allow Ui::GL::Renderer::deinit on lost context. 2021-09-06 13:13:26 +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 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston 6cea7d4a52 Fix YUV->RGB on D3D9 ANGLE backend. 2021-07-01 23:46:52 +03:00
John Preston 8897f9e46a Limit requested qualities to 4 Full / 16 Medium. 2021-06-18 18:43:13 +04:00
John Preston df28da4d97 Show "Video is paused" in wide panel mode. 2021-06-15 16:49:53 +04:00
John Preston f18e157e46 Add video placeholder if can't receive it. 2021-06-15 14:30:51 +04:00
John Preston 68be54288c Fix working using OpenGLES / ANGLE. 2021-06-14 12:16:00 +04:00
John Preston 8d8fffd306 Fix OpenGL renderers on macOS. 2021-06-11 17:35:16 +04: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 e41fb0d8fd Fix ARGB32 frame rendering. 2021-06-09 09:19:28 +04:00
John Preston 5970f3de9e Show video paused icon. 2021-06-09 09:19:28 +04:00
John Preston b3648d0147 Use QOpenGLShaderProgram::bind. 2021-06-09 09:19:28 +04:00
John Preston dd79b3c0d5 Add noise to blur to remove color banding. 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 1858e7e8ac Fix many video tiles in voice chats. 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
John Preston e8dd969e78 Fix paint-image vertex shader on macOS. 2021-05-31 23:53:41 +04:00
John Preston 2fe75f8296 Add large / small video animation. 2021-05-31 21:25:15 +04:00
John Preston b22363224f Track tiles visibility separately from geometry. 2021-05-31 18:40:53 +04:00
John Preston 8bde53cd0f Add Back button to large video tiles. 2021-05-30 21:08:54 +04:00
John Preston 97c7c0742c Rename LargeVideo to Video in voice chats. 2021-05-30 18:46:51 +04:00
John Preston 38506d27a1 Hide member rows with active small videos. 2021-05-30 18:09:59 +04:00
John Preston 6a967948de Optimize uploading of textures. 2021-05-29 23:27:12 +04:00
John Preston 0771fc14db Use unique_id for tiles instead of PeerData*. 2021-05-29 22:58:11 +04:00
John Preston e1614a280f Add blur effect for video tile background. 2021-05-29 17:00:09 +04:00
John Preston ddf81c949b Add green outline to speaking video tiles. 2021-05-28 21:05:28 +04:00
John Preston 7b6b32db74 Fix name display in group call video tiles. 2021-05-26 13:35:01 +04:00
John Preston e7ef3c4b6d Fix crash in GL_RED textures uploading. 2021-05-25 23:34:55 +04:00
John Preston 51d8e9c43d Skip empty rects in painting. 2021-05-25 17:23:50 +04:00
John Preston aaad250a77 Show names in OpenGL renderer. 2021-05-25 16:26:41 +04:00
John Preston 699730b7f4 Show mute icon in OpenGL renderer. 2021-05-25 14:56:26 +04:00
John Preston 302cffba1c Display pin button in OpenGL renderer. 2021-05-25 12:08:06 +04:00
John Preston df6f5d83d6 Make shaders work on OpenGL 2.1. 2021-05-24 22:45:16 +04:00