freetype2/src/smooth
Oran Agra c1e22f3986 Position Independent Code (PIC) support in smooth renderer.
* src/smooth/ftsmooth.h declare ft_smooth_renderer_class,
ft_smooth_lcd_renderer_class and ft_smooth_lcd_v_renderer_class
using macros from ftrender.h,
when FT_CONFIG_OPTION_PIC is defined create and destroy
functions will be declared.
* src/smooth/ftsmooth.c when FT_CONFIG_OPTION_PIC is defined
the following structs:
ft_smooth_renderer_class, ft_smooth_lcd_renderer_class
and ft_smooth_lcd_v_renderer_class
will have functions to init or create and destroy them
instead of being allocated in the global scope.
And macros will be used from ftspic.h in order to access
ft_grays_raster from the pic_container (allocated in ftgrays.c).

* src/smooth/ftgrays.h include FT_CONFIG_CONFIG_H
* src/smooth/ftgrays.c when FT_CONFIG_OPTION_PIC is NOT defined
func_interface was moved from gray_convert_glyph_inner function
to the global scope.
When FT_CONFIG_OPTION_PIC is defined
func_interface and ft_grays_raster structs
will have functions to init them
instead of being allocated in the global scope.
And func_interface will be allocated on the stack of
gray_convert_glyph_inner.

New Files:
* src/smooth/ftspic.h declare struct to hold PIC globals for smooth
renderer and macros to access them.
* src/smooth/ftspic.c implement functions to allocate, destroy and
initialize PIC globals for smooth renderer.

* src/smooth/smooth.c add new file to build: ftspic.c.
* src/smooth/jamfile add new files to FT2_MULTI build: ftspic.c.
2009-04-05 18:14:04 +03:00
..
Jamfile Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00
ftgrays.c Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00
ftgrays.h Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00
ftsmerrs.h Formatting. 2001-06-19 23:03:41 +00:00
ftsmooth.c Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00
ftsmooth.h Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00
ftspic.c Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00
ftspic.h Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
smooth.c Position Independent Code (PIC) support in smooth renderer. 2009-04-05 18:14:04 +03:00