Commit Graph

1638 Commits

Author SHA1 Message Date
John Preston d90c0784d9 Fix rotation reading when sending video.
Fixes #30093.
2026-07-10 14:04:30 +04:00
John Preston 4200a27cc4 Fix build with GCC. 2026-07-03 07:00:35 +04:00
23rd 43b2110f56 Added metadata of media view video playback to system media controls. 2026-06-30 13:29:25 +04:00
23rd 55b7484f16 Added media view video as system media controls source. 2026-06-30 13:29:25 +04:00
Ilya Fedin 4943c41f77 Get rid of new Q_OS_LINUX 2026-06-30 09:08:05 +04:00
23rd 39cfbeaffa Added animated icons to shared media and group call pin toasts. 2026-06-26 15:22:28 +03:00
23rd 145e580b52 Added animated icons to copy-to-clipboard toasts. 2026-06-26 15:22:28 +03:00
23rd 3adc0c1a8a Mapped macOS now playing skip buttons to relative seeking. 2026-06-24 10:20:21 +03:00
23rd 858a8fd9cb Reflected the playback speed in macOS now playing timeline. 2026-06-24 10:20:21 +03:00
23rd 57fdc4b7fe Fixed macOS now playing timeline drift after pausing playback. 2026-06-24 09:37:22 +03:00
23rd 6ab3a8edc6 Added swipe left-right navigation gesture to media viewer. 2026-06-24 08:35:05 +03:00
23rd e37fc1d599 Added pinch zoom gesture support to media viewer. 2026-06-24 08:34:37 +03:00
John Preston ef76b58ef1 Fix reaction preview crash in stories. 2026-06-23 14:27:50 +04:00
23rd 05cb1e41a8 Added blockquote and code block rendering to media viewer captions. 2026-06-22 11:51:50 +03:00
23rd b9d6b073c3 Added recognized text selection and copying in overlay media viewer. 2026-06-22 11:51:50 +03:00
23rd 2da46cbd5f Added text recognition for image documents in media viewer. 2026-06-22 11:51:50 +03:00
23rd 792cc5c44d Fixed text recognition overlay rotation in QRhi media viewer. 2026-06-22 11:51:50 +03:00
Ilya Fedin c486314f83 Avoid full Telegram target rebuild on version change 2026-06-15 17:05:51 +04:00
23rd d165b383ab Guarded PiP renderer selection with successful RHI probe. 2026-06-10 19:25:06 +03:00
John Preston 525a58e48a Show correct captions for rich messages media. 2026-06-09 14:28:13 +04:00
John Preston 4796cbe939 Support jump-to-anchor in rich messages. 2026-06-09 14:28:12 +04:00
John Preston 9caf32dffc Fix possible assertion violation. 2026-05-28 09:54:42 +04:00
23rd 32e9e73c77 Added paid media price entry to media viewer dropdown menu. 2026-05-27 12:18:58 +03:00
23rd de27d93fb4 [qrhi] Guarded yuv frame deref against ARGB32 and missing data races. 2026-05-22 12:22:06 +03:00
23rd 91ccf40a81 [qrhi] Removed redundant create call before createFrom in Metal cache. 2026-05-22 12:21:59 +03:00
23rd 43466f1926 [qrhi] Reset external video textures and NV12 flags on overlay release. 2026-05-22 12:21:53 +03:00
23rd 70f0d87648 [qrhi] Added Metal texture cache flush on overlay and PiP release. 2026-05-22 12:21:47 +03:00
23rd b5aa043cc3 Added destruction of media viewer native window on hide for Wayland. 2026-05-22 09:53:43 +03:00
John Preston 4a0265e627 Optimize sub/super/mark additions. 2026-05-19 12:49:08 +04:00
John Preston e429c1edd5 Better tracking of original video quality. 2026-05-19 12:27:40 +04:00
John Preston 1aa7b725ee Always choose Original if it's downloaded. 2026-05-18 12:19:58 +04:00
23rd 04c0b590fb Replaced direct env checks with Ui::GL::WidgetsRhiEnabled helper. 2026-05-18 10:36:53 +03:00
23rd c1e0c9aefb Handled NativeTexture frame in OpenGL overlay and PiP renderers. 2026-05-18 10:36:53 +03:00
23rd 100695d3bd Hardened native frame conversion with null storage and stride checks. 2026-05-18 10:36:53 +03:00
23rd 4ff510f3a4 Gated NativeTexture path on supported CVPixelBuffer pixel formats. 2026-05-18 10:36:53 +03:00
23rd 906ff74d19 Wrapped CVPixelBuffer lock in RAII guard to survive exceptions. 2026-05-18 10:36:53 +03:00
23rd 15aba3e545 Fixed garbage frames in chat inline video on macOS zero-copy path. 2026-05-18 10:36:53 +03:00
23rd b824c1a8e4 [qrhi] Fixed PiP rendering with container and zero-copy Metal textures. 2026-05-18 10:36:52 +03:00
23rd 6a0c1af46b Added zero-copy Metal video decode with CVPixelBuffer native textures. 2026-05-18 10:36:52 +03:00
23rd 813cab2ff6 [qrhi] Enabled QRhi renderer by default on Qt 6.7+ with OpenGL fallback. 2026-05-18 10:36:52 +03:00
23rd 9c85df33bd [qrhi] Fixed unreleased GPU resources on media-view and calls close. 2026-05-18 10:36:52 +03:00
23rd a7420abf67 [qrhi] Added direct GPU render for paintVideoStream instead of raster. 2026-05-18 10:36:52 +03:00
23rd 4fffc7fd20 [qrhi] Added single-draw button controls via pip_controls shaders. 2026-05-18 10:36:52 +03:00
23rd 41f24e5b7d [qrhi] Added YUV420/NV12 GPU decode with shadow and rounding shaders. 2026-05-18 10:36:51 +03:00
23rd 266e34a34b [qrhi] Added button over-state via 2-draw and removed dead stubs. 2026-05-18 10:36:51 +03:00
23rd f6cc1179f9 [qrhi] Extracted fillShadowUniforms and removed dead kUniformSize. 2026-05-18 10:36:51 +03:00
23rd 4b8a81ddac [qrhi] Temporary added paintVideoStream via borrowed raster paint. 2026-05-18 10:36:51 +03:00
23rd b3e364308a [qrhi] Added YUV420/NV12 direct GPU decoding. 2026-05-18 10:36:51 +03:00
23rd 1338f2ae4c [qrhi] Added stories sibling parts with persistent textures. 2026-05-18 10:36:51 +03:00
23rd 3b26a16ac3 [qrhi] Added control icon atlas with over/inner opacity. 2026-05-18 10:36:51 +03:00