Blender Git Commit Log

Git Commits -> Revision f0f3554

Revision f0f3554 by Mike Erwin (master)
February 8, 2015, 19:18 (GMT)
GHOST: fewer virtual functions

Reined back over-use of virtual functions in GHOST, especially in
"leaves" of the inheritance hierarchy. This eliminates vtables for many
classes and (in some places) turns virtual function dispatch into direct
function calls.

I'll be around to fix things if other coders think this change is too
much.

Still lots of virtual in GHOST_TaskbarWin32 since it just loves virtual.

Commit Details:

Full Hash: f0f3554e17398017a824582c401087b7dd3b2708
Parent Commit: 8aeb9d2
Lines Changed: +265, -265

31 Modified Paths:

/intern/ghost/intern/GHOST_Buttons.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_CallbackEventConsumer.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_ContextCGL.h (+8, -8) (Diff)
/intern/ghost/intern/GHOST_ContextEGL.h (+6, -6) (Diff)
/intern/ghost/intern/GHOST_ContextGLX.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_ContextNone.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_ContextSDL.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerCocoa.h (+5, -5) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerWin32.h (+5, -5) (Diff)
/intern/ghost/intern/GHOST_DropTargetWin32.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_Event.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_EventManager.h (+14, -14) (Diff)
/intern/ghost/intern/GHOST_EventPrinter.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_ModifierKeys.h (+5, -5) (Diff)
/intern/ghost/intern/GHOST_System.h (+20, -20) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+13, -13) (Diff)
/intern/ghost/intern/GHOST_SystemPathsCocoa.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_SystemPathsWin32.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_SystemPathsX11.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+22, -22) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_TimerManager.h (+8, -8) (Diff)
/intern/ghost/intern/GHOST_TimerTask.h (+12, -12) (Diff)
/intern/ghost/intern/GHOST_Window.h (+33, -33) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+27, -27) (Diff)
/intern/ghost/intern/GHOST_WindowManager.h (+12, -12) (Diff)
/intern/ghost/intern/GHOST_WindowNULL.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+26, -26) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021