From 241b2c746ec34a11e05a8036f216f13131abb025 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 13 Apr 2010 14:26:12 +0000 Subject: gl_draw.cxx (Mac-specific): implemented a fifo pile of pre-computed textures for faster GL text rendering. Also added new function gl_texture_pile_height(int) that sets the height of this pile. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/gl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FL') diff --git a/FL/gl.h b/FL/gl.h index d1d76a239..1f60f63fa 100644 --- a/FL/gl.h +++ b/FL/gl.h @@ -98,6 +98,10 @@ FL_EXPORT void gl_draw(const char*, int n, int x, int y); FL_EXPORT void gl_draw(const char*, int n, float x, float y); FL_EXPORT void gl_draw(const char*, int x, int y, int w, int h, Fl_Align); FL_EXPORT void gl_measure(const char*, int& x, int& y); +#ifdef __APPLE__ +extern FL_EXPORT void gl_texture_pile_height(int max); +extern FL_EXPORT int gl_texture_pile_height(); +#endif FL_EXPORT void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, int ld=0); -- cgit v1.2.3