Einar Forselv

Results 623 comments of Einar Forselv

Need to look into what window events we can use here. This is mainly hide/show (iconify) and focus/unfocus * Pyglet : `on_activate` `on_deactivate` * SDL2 / pygame2 : https://wiki.libsdl.org/SDL_WindowEvent *...

We can't really rename things, but the other suggestions are reasonable. Instead of renaming there can be alias methods, but let's keep that within reason.

I remember fixing a leak in the past and added a mass create test : https://github.com/moderngl/glcontext/blob/master/tests/default_context_test.py

I'm guessing these things can be driver and os specific, so local debugging is important to proprly diagnose the probem. The master branch (5.7) also have a few leak fixes...

I'll see if I can revive this at some point, but not for 5.6.

Yep. We definitly saw the need for this in a discusstion on discord. When having to dispatch multiple CS calls doing some sorting algos it would be convenient rather than...

You can call it just fine using pyopengl for now.

Done. Need to document this. We can include up to 100 levels of sources as max sanity check. utils.glsl ```glsl // A bunch of functions ``` library.glsl ```glsl #include path/to/utils.glsl...

Example : https://github.com/moderngl/moderngl-window/blob/master/examples/advanced/shader_includes.py