Commit graph

830 commits

Author SHA1 Message Date
Admin
88baa3eff8 sortable drawcalls 2026-02-21 10:05:07 +01:00
Admin
e5cc73cfe6 splats without sort yet 2026-02-21 08:43:52 +01:00
offline-ant
ca14cb4660 Add Servo embedding support: render texture API, EGL access, Image Y-flip (#861)
Three minimal changes to support embedding Servo as a WebView:

1. windowing_backend.rs: Make opengl_cx field pub (was pub(super))
   Servo needs EGL display/context/platform handles to create a shared
   GL context. egl_platform and egl_platform_display have no EGL query
   to retrieve them — they must come from whoever created the display.
   Matches Makepad convention (Cx fields are pub, no accessors).

2. opengl.rs: Add Cx::create_gl_render_texture(width, height)
   Eagerly allocates a RenderBGRAu8 texture and returns (Texture, gl_id).
   Needed because Makepad allocates GL textures lazily during render,
   but Servo needs the GL texture ID at init to attach to its FBO.
   No existing API for eager allocation (update_render_target and
   cx.os.gl() are both pub(crate)).

3. image.rs: Add is_render() Y-flip in Image widget
   FBO render targets are Y-up in OpenGL; Makepad is Y-down.
   CachedView handles this via sample2d_rt shader, but Image widget
   was untested with render textures. set_texture() accepts them but
   displays upside-down. Fixes a genuine gap — no existing Makepad
   code puts RenderBGRAu8 into an Image widget.

Co-authored-by: ant <ant@offline.click>
2026-02-20 16:36:53 +01:00
Admin
d0fe4151ac portal list unstuck 2026-02-20 16:05:31 +01:00
Julián Montes de Oca
40cad5dd37 Restore IME support (#860)
* Restore IME support

* Remove unused voice handling methods from Window
2026-02-20 14:06:02 +01:00
Admin
b826b226c3 make voice optional 2026-02-19 21:16:57 +01:00
Admin
78552752c2 metal otw 2026-02-19 21:00:49 +01:00
Julián Montes de Oca
41ca84222b Restore video widget (#857) 2026-02-19 16:43:41 +01:00
Admin
46af8eb28b font change 2026-02-19 15:36:56 +01:00
Admin
d2b9b726d5 voice PTT 2026-02-19 15:11:46 +01:00
Admin
8c03c2a4a1 cleanup 2026-02-19 14:28:24 +01:00
Admin
a120c8567e voice input 2026-02-19 14:13:07 +01:00
Admin
7b57e07223 nicer dots 2026-02-19 09:21:14 +01:00
Admin
a39d9cc535 websocket jitter 2026-02-19 08:51:28 +01:00
Admin
7b3c2d09e5 file icon color 2026-02-19 08:39:25 +01:00
Admin
f580a662b3 git dots 2026-02-19 08:31:54 +01:00
Admin
f4fcf17274 git dots 2026-02-19 08:03:39 +01:00
Admin
7e6bd82ddb ui automation 2026-02-18 21:28:46 +01:00
Admin
393ad66d27 ui proto 2026-02-18 21:10:25 +01:00
Admin
037d288a72 optimize inflate/deflate 2026-02-18 13:28:39 +01:00
Admin
0e34cca569 fix selection accross items 2026-02-17 21:49:02 +01:00
Admin
9d9b03b72d terminal work/ webp 2026-02-17 18:11:36 +01:00
Admin
3539389693 rounded boxes 2026-02-17 11:38:21 +01:00
Admin
586c1c2cc4 3d charts otw 2026-02-17 10:21:14 +01:00
Admin
c6dd9ff37c instance pbr 2026-02-17 09:52:04 +01:00
Admin
eff7230231 windows 2026-02-16 22:00:26 +01:00
Admin
94de4dcaca fix up things 2026-02-16 17:27:28 +01:00
Admin
68ba80a1aa openGL 2026-02-16 17:19:02 +01:00
Admin
548506cd9c gltf example! 2026-02-16 15:51:24 +01:00
Admin
612defab66 fix warnings 2026-02-16 11:58:51 +01:00
Admin
8fb6cdff83 vulkan vendoring completed 2026-02-16 09:10:27 +01:00
Admin
991284058f clean 2026-02-15 19:21:10 +01:00
Admin
dd1678f9b2 cleanup widget tree 2026-02-15 18:34:42 +01:00
Admin
d4e6c53358 vulkan otw + widget fixes 2026-02-15 16:04:24 +01:00
Admin
cbab84abca android back 2026-02-15 13:30:18 +01:00
Admin
2f1c1c3045 headless otw 2026-02-15 11:41:33 +01:00
Admin
71bee4562c headless otw 2026-02-15 09:48:28 +01:00
Admin
61a51278ce web almost there 2026-02-14 22:46:32 +01:00
Admin
a58686a4e9 otw 2026-02-14 22:14:26 +01:00
Admin
663c621203 webGL2 2026-02-14 22:07:26 +01:00
Admin
7eaadf947f wayland working 2026-02-14 17:10:17 +01:00
Admin
41e007acf1 terminal 2026-02-14 09:51:47 +01:00
Admin
f5493d6a6c fix tree 2026-02-13 16:11:31 +01:00
Admin
618bb2dd01 simple ui id system 2026-02-13 15:59:21 +01:00
Admin
d7710ab619 refactor widget tree 2026-02-13 14:49:21 +01:00
Admin
ac73635921 image search 2026-02-12 21:56:41 +01:00
Admin
81db1516d9 todo app 2026-02-12 19:58:49 +01:00
Admin
07dc780300 fix up widget tree search in fresh uis 2026-02-12 16:50:39 +01:00
Admin
8e6702c56b First 2.0 2026-02-12 14:52:33 +01:00
Admin
a271bd0027 compile 2026-02-10 18:26:51 +01:00