freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Proposal: add a raster specific allocation function to th


From: Chris Liddell
Subject: Re: [ft-devel] Proposal: add a raster specific allocation function to the memory management API
Date: Mon, 26 Jul 2010 07:55:33 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1

On 26/07/2010 05:32, Werner LEMBERG wrote:
> 
>> My intention would be to have the API call take a bitmap struct as
>> it's parameter, [...]
> 
> I assume that you want to implement a new API function, right?  For
> backwards compatibility it's not possible to alter the existing ones.

Yes. Actually, two new functions a "(re)alloc raster" and a "free
raster" - just in case calling applications implement a memory pool
specifically for raster data. They'd be added to the end of the existing
memory API structure so there'd be a chance of retaining binary
compatibility.

>> Mainly, I wanted to check whether this type of capability would be
>> seen as beneficial enough to warrant including, before I spend too
>> much more time on it!  Especially as it is a change in the "public"
>> API.
> 
> It seems to be a change with only small modifications of the internal
> structures, and without any large size or speed impacts, so please go
> on!

Cool, thanks. I'll try to get to it this week sometime.

Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]