Commit graph

13 commits

Author SHA1 Message Date
Admin
00eed2e268 mlx otw 2026-04-10 14:46:22 +02:00
Admin
0b4ee8860d fix android screencap to studio 2026-03-20 09:03:50 +01:00
Admin
106de2274f rename network 2026-03-03 09:18:19 +01:00
Admin
264485471d logs 2026-03-01 10:38:01 +01:00
Admin
11859b7a44 makepad studio old 2026-02-28 22:42:57 +01:00
Admin
0aa3533210 network refactor 2026-02-24 14:04:37 +01:00
Julián Montes de Oca
0774c184a3 Video Widget: Support on MacOS & iOS (#863)
* Add macOS video playback support using AVPlayer + CVMetalTextureCache

Extends the Video widget from Android-only to also support macOS with
hardware-accelerated, zero-copy video rendering through Metal. Uses
AVPlayer for decoding and CVMetalTextureCache to map decoded frames
directly to MTLTextures without CPU copies.

Key changes:
- New AppleVideoPlayer module (AVPlayer + CVPixelBuffer → MTLTexture pipeline)
- FFI bindings for CVMetalTextureCache, CMTime, and related Apple APIs
- Video frame polling integrated into macOS paint cycle
- TextureFormat::VideoRGB ungated from Android-only to all platforms
- Video widget made cross-platform (TextureHandleReady wait is Android-only)
- Fixed shader aspect ratio bug (&&→|| for non-positive dimension check)
- Added video demo to uizoo and scratchpad examples

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add iOS video playback support

* Enhance video playback functionality with seek support and current position tracking

Key changes:
- Added `seek_video_playback` operation to allow seeking to specific timestamps.
- Introduced `current_position_ms` field in `VideoTextureUpdatedEvent` for tracking playback position.
- Implemented seeking functionality across iOS, macOS, and Android platforms.
- Updated Video widget to support new controls and indicators for seeking.

* Improve error handling for unsupported texture pixel formats

* Make volume icon drawing  use fixed width

* Make play/pause drawing use fixed width

* Remove video from scratchpad

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 15:19:21 +01:00
Admin
8fb6cdff83 vulkan vendoring completed 2026-02-16 09:10:27 +01:00
Admin
14d4b8b533 windowsrs vendored 2026-02-14 12:27:38 +01:00
Admin
a1e0174c9a vendored windows 2026-02-14 11:54:41 +01:00
Admin
7d3863bff2 windows rs strip 2026-02-14 11:32:16 +01:00
Admin
8b53bb2a6c cleanup 2026-02-12 14:57:54 +01:00
Admin
8e6702c56b First 2.0 2026-02-12 14:52:33 +01:00