18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-24 13:09:16 +01:00

Merge branch 'master' into feat/renderers-cleanup

This commit is contained in:
2026-11-23 18:27:27 +01:00
70 changed files with 2865 additions and 378 deletions

View File

@@ -33,8 +33,12 @@ class python_screen_viewer
gl::scene_ubs m_ubs;
std::atomic_bool m_exit = false;
// the texture of the screen when the viewer was made, read on the drawing thread: shown until an image is put in place
size_t m_initialtexture{0};
void threadfunc();
// with python.sharectx, binds the texture with the last image of the screen, in the context of the window made current
void bind_shared_texture() const;
public:
python_screen_viewer(std::shared_ptr<python_rt> rt, std::shared_ptr<std::vector<glm::vec2>> touchlist, std::string const &name);