Revision 11fe059...

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 - part2

Eliminate the unneccesary commit lines from the previous try.
What is an addition is that I now also fixed the issues related to the #include
lines like:
* Missing line breaks because of the readability
* Proper order
* Once I had to change the function declaration for reference usage because it
made sense anyway and helped the forward declaration usage

All in all, the includes should now be fine inside the header files, but let us
see in the practice.

File Changes

Modified 95 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.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
  •   creator/dialogs/newprojectdialogpage.h
  •   creator/dialogs/openprojectdialogpage.h
  •   creator/dialogs/recentprojectsdialogpage.h
  •   creator/lib/abstractundocommand.h
  •   creator/lib/pluginmanager.h
  •   creator/lib/toolplugin.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
  •   creator/lib/widgets/nullpropertywidgetitem.h
  •   creator/lib/widgets/propertywidget.h
  •   creator/lib/widgets/propertywidgetitem.h
  •   creator/lib/widgets/propertywidgetitemfactory.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
  •   creator/plugins/docks/componentsdock/componentsdockplugin.h
  •   creator/plugins/docks/messagedock/messagedockplugin.h
  •   creator/plugins/docks/projectdock/projectdock.cpp
  •   creator/plugins/docks/projectdock/projectdock.h
  •   creator/plugins/docks/projectdock/projectdockplugin.h
  •   creator/plugins/docks/propertiesdock/propertiesdock.h
  •   creator/plugins/docks/propertiesdock/propertiesdockplugin.h
  •   creator/plugins/docks/scenedock/scenedock.cpp
  •   creator/plugins/docks/scenedock/scenedock.h
  •   creator/plugins/docks/scenedock/scenedockplugin.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
95 files changed in total