Commit graph

6 commits

Author SHA1 Message Date
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