Filipe Marchesini

Results 50 comments of Filipe Marchesini

Hello, I have downloaded this library yesterday, and I've done exactly that: I tested the smallest model, then I downloaded the biggest model, and I had a terrible experience with...

I would love to see this working on VS Code, because I've never seen an extension that would show the time execution for each line of my program... this would...

Thanks for the quick response @szabolcsdombi I am using [memory-profiler](https://pypi.org/project/memory-profiler/) with the command `python -m memory_profiler test_memory_leak.py` Here we have five different tests: ```python import gc from memory_profiler import profile...

@szabolcsdombi for me `time.sleep` has no effect in memory usage This is my moderngl version from `python -m moderngl`, platform is Arch Linux ```python ╰─λ python -m moderngl moderngl 5.6.4...

@szabolcsdombi I can't follow your instructions because when I execute ``` git clone [email protected]:moderngl/glcontext.git ``` I get this: ``` Cloning into 'glcontext'... [email protected]: Permission denied (publickey). fatal: Could not read...

Hello, @szabolcsdombi , I solved the git clone issue. Me and @ShootingStarDragon have been commenting every line from x11.cpp, compiling and profiling, and we suddenly found that the memory leak...

There is a memory increase (1.4MB) happening on [`res->libgl = dlopen(libgl, RTLD_LAZY);`](https://github.com/moderngl/glcontext/blob/master/glcontext/x11.cpp#L100), that we thought it needed to be closed with `dlclose(res->libgl);`, but it is already being released on `GLContext_meth_release`....

I would love to make this PR, but I will need your assistance anyway because we are Python programmers and we're struggling to fix it by ourselves. For example, I...

The thing is, we can't use the command `pip install .`, because we need to link `-lGL` and `-lX11` as it is shown [here](https://www.khronos.org/opengl/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX)): ![image](https://user-images.githubusercontent.com/23220309/182703090-ae099e8c-9fbe-486c-9e53-4e462309de20.png) Otherwise, using XFree will give...

Not sure if we need to modify `setup.py` somehow. I am completely confused why I can't use `XFree( fbc );`