September 17, 2011, 10:45 (GMT) |
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. |
September 17, 2011, 10:44 (GMT) |
Minor: fixing other UI typos. |
September 17, 2011, 09:53 (GMT) |
remove redundant NULL check |
September 17, 2011, 09:43 (GMT) |
use macros RAD2DEG & DEG2RAD rather then multiplying by 180.0/M_PI or M_PI/180.0 |
September 17, 2011, 09:15 (GMT) |
Minor: fixing an UI typo. |
September 17, 2011, 08:14 (GMT) |
use const and array size in function definitions, no functional change. |
September 17, 2011, 07:28 (GMT) |
correction to recent commit, wouldnt have given any troubles but was assigning the 4th component of a float[3]. |
September 17, 2011, 07:14 (GMT) |
more mini optimizations - don't call UI_ThemeColor 4 times per curve handle, instead get all colors at the start and index them when drawing curves in editmode. also remove redundant NULL check. |
September 17, 2011, 07:01 (GMT) |
replacing cast from pointer from long to intptr_t (thanks Campbell) |
September 17, 2011, 06:18 (GMT) |
micro optimization for circle drawing. - use vertex array for drawcircball() - add circball_array_fill() and call from drawcircball(). - for object center's rather than drawing 2 circles, create the array and reuse it. |
September 17, 2011, 05:35 (GMT) |
use less confusing array syntax for circle drawing, no functional changes. |
September 17, 2011, 04:59 (GMT) |
svn merge -r40166:40279 ^/trunk/blender |
September 16, 2011, 20:08 (GMT) |
BGE Animations: Fixing some refcount issues with KX_Scene::m_animatedlist (fixes m_animatedlist crashes) and some whitespace issues with KX_GameObject::GetActionManager(). |
September 16, 2011, 18:23 (GMT) |
BGE fix: Font Objects not showing up in the dome mode geez, who coded the font object? or even worse, who did the dome code? Don't coders talk? tsc tsc ... Now seriously, KX_KetsjiEngine::RenderFonts() could be moved to inside the KX_Scene class. It probably should (so I could call it from inside KX_Dome::RenderDomeFrame()). Not critical, so not changing it for now. |
September 16, 2011, 17:18 (GMT) |
SVN maintenance. |
September 16, 2011, 16:05 (GMT) |
WeightVG: added WeightVG icon for outliner (donâ??t know when that where lost...). |
September 16, 2011, 14:57 (GMT) |
Camera tracking integration =========================== Made SAD tracker default. |
September 16, 2011, 14:47 (GMT) |
Camera tracking integration =========================== Implemented "Movie Distort" and "Movie Undistort" nodes which uses camera undistortion coefficients. Not perfect for footages shoted on cameras with pixel aspect != 1: there's extra scaling down and scaling up caused by others areas supposing frame aspect x be 1 and multiplying height by 1.0/pixel_aspect. Not so critical but would be nice to solve. |
September 16, 2011, 14:45 (GMT) |
September 16, 2011, 14:28 (GMT) |
A couple of trivial perf improvements: -BMEMSET macro should cache the size of the memory block instead of reading each iteration -Avoid tesselating the backup copy of the mesh used to restore after an error (unless there is actually an error) |
|
|
|


Master Commits
MiikaHweb | 2003-2021