Go to file
Campbell Barton 100313db6e Speedup for font drawing, every letter was character was calling:
glGetIntegerv(GL_TEXTURE_2D_BINDING_EXT, &cur_tex);

... with shadow enabled glGetFloatv(GL_CURRENT_COLOR, color) was called twice per character as well.


Now only call glGetFloatv(GL_CURRENT_COLOR, ...) once per string and only when drawing with shadow or blur, texture bind is stored in the font.

Gives 8% overall FPS speedup when displaying heavy UI in my test.
2011-09-17 10:45:20 +00:00
build_files SVN maintenance. 2011-09-16 17:18:12 +00:00
doc - remove deprecated pose channel members 2011-09-16 02:42:50 +00:00
extern Use static context trick for all platforms. 2011-09-15 15:29:40 +00:00
intern quiet -Wundef warnings for cmake/gcc/elbeem 2011-09-12 00:55:27 +00:00
release - include enum names and descriptions in sphinx generated documentation 2011-09-15 16:15:24 +00:00
source Speedup for font drawing, every letter was character was calling: 2011-09-17 10:45:20 +00:00
CMakeLists.txt Update build rules to deal with new gettext libraries. 2011-09-15 11:37:42 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile new convenience makefile targets for static source code cheching: check_splint/check_sparse/check_cppcheck 2011-09-16 06:58:20 +00:00
SConstruct Update build rules to deal with new gettext libraries. 2011-09-15 11:37:42 +00:00