-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix memory leaks in draw and cacheCharacters functions. #9
base: master
Are you sure you want to change the base?
Conversation
Hello, I'm asking you for help with gltext. It seems that your memory leak fix is not enough for me. |
Hello. The fix might not be complete since I only considered these two functions, which has been fine for me. Try to use valgrind and find any missing memory/buffer releases. HTH |
Hello, I managed to get the thing working with only a minimal leak (unfortunately, Petr ---------- Původní zpráva ---------- Od: Andreas Schwarzl [email protected] Komu: branan/gltext [email protected] Datum: 9. 3. 2015 9:32:07 Předmět: Re: [gltext] Fix memory leaks in draw and cacheCharacters " Hello. The fix might not be complete since I only considered these two — Reply to this email directly or view it on GitHub "= |
I noticed that the included version on Harbuzz is 0.7.0, have you linked against this code, or an updated version? |
I don't know which version I have, unfortunately. I cannot find it in the I also noticed, that when the font is bigger, some other characters start to ---------- Původní zpráva ---------- Od: Colin Gilbert [email protected] Komu: branan/gltext [email protected] Datum: 28. 3. 2015 1:39:08 Předmět: Re: [gltext] Fix memory leaks in draw and cacheCharacters " I noticed that the included version on Harbuzz is 0.7.0, have you linked — Reply to this email directly or view it on GitHub "= |
There is at the beginning of gltext.hpp a line
Try changing that value to 512, or even 1024, then tell me what happens. Quite curious to hear your results. |
Apparently, nothing changed. :( ---------- Původní zpráva ---------- Od: Colin Gilbert [email protected] Komu: branan/gltext [email protected] Datum: 28. 3. 2015 8:44:26 Předmět: Re: [gltext] Fix memory leaks in draw and cacheCharacters " There is at the begging of gltext.hpp a line #define GLTEXT_CACHE_TEXTURE_SIZE 256 Try changing that value to 512, or even 1024, then tell me what happens. — Reply to this email directly or view it on GitHub "= |
No description provided.