Revision 184b433...

Go back to digest for 26th June 2011

Optimization in Games

Laszlo Papp committed changes in [gluon] /:

Fairly big speedup and proper forward declaration usage commit

The other nice outcome of this going through is that there were quite a few
unneccesary include eliminated. Hence not just an include to forward declaration
change in the desired cases.

Not sure about the performance benefits overall, but let us see and at least the
codebase got cleaned up regarding this and another quality level.

File Changes

Modified 76 files
  •   audio/capture.h
  •   audio/engine.cpp
  •   audio/engine.h
  •   audio/sound.h
  •   core/gdlhandler.cpp
  •   core/gdlhandler.h
  •   core/gluonobject.h
  •   core/gluonobjectfactory.h
  •   core/gluonvarianttypes.h
  •   core/scriptengine.cpp
  •   core/scriptengine.h
  •   engine/asset.h
  •   engine/component.h
  •   engine/componentprivate.h
  •   engine/game.h
  •   engine/gameobject.h
  •   engine/gameobjectprivate.h
  •   engine/gameproject.h
  •   engine/gameprojectprivate.h
  •   engine/gluon_engine_metatypes.h
  •   engine/prefab.h
  •   engine/prefabprivate.h
  •   engine/sceneprivate.h
  •   graphics/engine.h
  •   graphics/item.h
  •   graphics/material.cpp
  •   graphics/material.h
  •   graphics/materialelement.h
  •   graphics/mathutils.h
  •   graphics/mesh.h
  •   graphics/rendertarget.cpp
  •   graphics/rendertarget.h
  •   graphics/technique.h
  •   graphics/vertexattribute.h
  •   graphics/vertexbuffer.h
  •   graphics/viewport.h
  •   input/custominput.h
  •   input/detect.h
  •   input/inputbuffer.h
  •   input/inputdevice.h
  •   input/inputdeviceprivate.h
  •   input/inputmanager.cpp
  •   input/inputmanager.h
  •   input/joystick.h
  •   input/keyboard.h
  •   input/mouse.h
  •   input/touch.h
  •   input/linux/detectlinux.h
  •   input/linux/gluonbuttons.h
  •   input/linux/inputthread.h
  •   input/linux/inputthreadprivate.h
  •   input/mac/detectmac.h
  •   input/mac/gluonbuttons.h
  •   input/mac/inputthread.h
  •   input/qt/detectqt.h
  •   input/qt/gluonqtbuttons.h
  •   input/qt/gluonqtdevices.h
  •   input/win/detectwin.h
  •   input/win/gluonbuttons.h
  •   player/lib/ocscommentsprovider.h
  •   player/lib/ocsprovider.h
  •   player/touch/gamewindowmanager.h
  •   engine/components/scripting/scriptingcomponent.h
  •   engine/components/scripting/scriptingcomponentprivate.h
  •   input/examples/qteventfilter/mainwindow.cpp
  •   input/examples/qteventfilter/mainwindow.h
  •   player/lib/models/commentitemsmodel.cpp
  •   player/lib/models/commentitemsmodel.h
  •   player/lib/models/commentsmodel.cpp
  •   player/lib/models/commentsmodel.h
  •   player/lib/models/gameitemsmodel.cpp
  •   player/lib/models/gameitemsmodel.h
  •   engine/components/graphics/uimanager/engineaccess.h
  •   engine/components/graphics/uimanager/renderablescene.cpp
  •   engine/components/graphics/uimanager/renderablescene.h
  •   engine/components/input/mouseinput/mouseinputcomponent.cpp
76 files changed in total