Simon Hausmann
df55e5563b
Simplify OpenGL examples to use platform builder API to enforce a GL supported renderer
2024-10-23 11:22:17 +02:00
Simon Hausmann
29804f34de
Fix WASM version of OpenGL underlay example
...
Commit 3cb636169506262d96ec2bc53a617714d5ab068d in femtovg switched to
using WeblGL to (needed for tiling). This means the GraphicsAPI::WebGL
context type needs to be updated, too. Also, the canvas_id was always
empty, but needs to be initialized from the id of the element we're
using.
2024-09-24 10:47:15 +02:00
Olivier Goffart
58e5d62a02
Winit port: Fix wasm build
...
Port everything from instant to web-time
2023-10-23 14:22:48 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Aurindam Jana
e4338300de
Change license for examples to MIT ( #2887 )
2023-06-15 11:23:17 +02:00
Olivier Goffart
6889dfa5f5
Rust: Make new(), run() and show() report errors from the backend
...
Fixes #2198
2023-02-10 05:00:03 +01:00
Simon Hausmann
52fb1ab9fe
Fix signature of get_proc_address in Rust GraphicsAPI
...
Use a CStr instead of str, to avoid an extra CString allocation. The underlying operating system API for
this expects a zero terminated C String.
Fixes #1943
2023-01-26 11:55:10 +01:00
Simon Hausmann
005ba1203c
Fix OpenGL underlay with Skia
...
Save and restore the OpenGL state correctly
2022-08-10 10:54:04 +02:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Simon Hausmann
1314aa97bf
Apply the renaming also to the new opengl_underlay example pulled from master
2022-02-04 17:00:32 +01:00
Simon Hausmann
0e6b4080d6
Add a Rust example that demonstrates GL rendering under a scene
2022-02-04 15:41:53 +01:00