freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] How can I directly rendering bitmap object on my specifie


From: Werner LEMBERG
Subject: Re: [ft-devel] How can I directly rendering bitmap object on my specified memory?
Date: Wed, 05 Dec 2007 07:21:37 +0100 (CET)

> As I known, Freetype2 rendering process as below:
> 
> Glyph
>   ------ FT_Glyph_To_Bitmap()----->
>     Bitmap object (on a memory cache)
>       ------ my_draw_bitmap()----->
>         Display area
> 
> Because I used display area is a memory which as same as bitmap used
> memory.  I want directly rendering bitmap object on my specified
> memory for optimizes rendering speed, this process is:
> 
> Glyph
>   ------ FT_Glyph_To_Bitmap()----->
>     Display area (specified display memory)

You wan't to omit the cache?  How shall this be faster?

What about using mmap()?  As far as I know, this is exactly what you
need, namely mapping the device's display area into memory.


    Werner




reply via email to

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