servo/components/canvas
DK Liao a0eceee2ed
feat: Turn RenderingContext into a trait (#35052)
* feat: turn RenderingContext into a trait

Signed-off-by: DK Liao <dklassic@gmail.com>

Add comment and handle drop error

Signed-off-by: DK Liao <dklassic@gmail.com>

Add doc comment

Signed-off-by: DK Liao <dklassic@gmail.com>

Allow make_current to propagate Error

Signed-off-by: DK Liao <dklassic@gmail.com>

Fix all make_current occurances

Signed-off-by: DK Liao <dklassic@gmail.com>

Move back to Rc<dyn RenderingContext>

Signed-off-by: DK Liao <dklassic@gmail.com>

fix android/ohos

Signed-off-by: DK Liao <dklassic@gmail.com>

Fix build

Signed-off-by: DK Liao <dklassic@gmail.com>

fix android/ohos again

Signed-off-by: DK Liao <dklassic@gmail.com>

* Fix macOS smoke test

Signed-off-by: DK Liao <dklassic@gmail.com>

* Add comment for create_texture and destroy_texture

Signed-off-by: DK Liao <dklassic@gmail.com>

* Improve comments written

Signed-off-by: DK Liao <dklassic@gmail.com>

---------

Signed-off-by: DK Liao <dklassic@gmail.com>
2025-01-24 02:39:39 +00:00
..
webgl_mode feat: Turn RenderingContext into a trait (#35052) 2025-01-24 02:39:39 +00:00
canvas_data.rs prefs: Move some DebugOptions to Preferences and clean up (#34998) 2025-01-17 11:47:47 +00:00
canvas_paint_thread.rs prefs: Move some DebugOptions to Preferences and clean up (#34998) 2025-01-17 11:47:47 +00:00
Cargo.toml Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
lib.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
raqote_backend.rs prefs: Move some DebugOptions to Preferences and clean up (#34998) 2025-01-17 11:47:47 +00:00
webgl_limits.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
webgl_thread.rs webgl: shutdown webrender before acknowledging Exit message (#34917) 2025-01-09 09:24:50 +00:00
webxr.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00