[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [freetype2] anuj-distance-field d97e060: [sdf] Added total memory al
From: |
Werner LEMBERG |
Subject: |
Re: [freetype2] anuj-distance-field d97e060: [sdf] Added total memory allocation log. |
Date: |
Thu, 16 Jul 2020 07:53:39 +0200 (CEST) |
>> I think having a global variable for that is a bad idea, even if it
>> is only active in debugging mode: If you have multiple threads you
>> will get nonsense information. Isn't it possible to add this
>> variable to one of the existing structures?
>
> Thanks for pointing that out. I can use the memory debug table if
> it contains the total size allocated?
What exactly do you mean with 'memory debug table'?
> I'll see if I can add it in some existing structure.
OK, thanks.
Werner