From fa8989bed30bd5022c4951ae46adc4de50a261f1 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Thu, 28 Dec 2017 21:54:26 -1000 Subject: [PATCH] Huge compile performance refactor --- include/boo/IGraphicsContext.hpp | 2 +- include/boo/audiodev/IAudioSubmix.hpp | 4 ++-- include/boo/audiodev/IAudioVoice.hpp | 6 +++--- include/boo/audiodev/IMIDIPort.hpp | 2 +- include/boo/audiodev/IMIDIReader.hpp | 4 ++-- include/boo/graphicsdev/IGraphicsDataFactory.hpp | 2 +- include/boo/inputdev/DeviceBase.hpp | 6 +++--- include/boo/inputdev/DeviceFinder.hpp | 4 ++-- include/boo/inputdev/DolphinSmashAdapter.hpp | 2 +- include/boo/inputdev/DualshockPad.hpp | 2 +- lib/audiodev/AudioMatrix.cpp | 2 +- lib/audiodev/AudioMatrix.hpp | 4 ++-- lib/audiodev/AudioMatrixSSE.cpp | 2 +- lib/audiodev/AudioSubmix.cpp | 2 +- lib/inputdev/DolphinSmashAdapter.cpp | 4 ++-- lib/inputdev/DualshockPad.cpp | 4 ++-- lib/inputdev/HIDDeviceUdev.cpp | 4 ++-- lib/inputdev/HIDDeviceWinUSB.cpp | 4 ++-- lib/inputdev/HIDListenerUdev.cpp | 4 ++-- lib/inputdev/HIDListenerWinUSB.cpp | 2 +- lib/x11/ApplicationUnix.cpp | 2 +- lib/x11/WindowXlib.cpp | 8 ++++---- logvisor | 2 +- test/main.cpp | 4 ++-- 24 files changed, 41 insertions(+), 41 deletions(-) diff --git a/include/boo/IGraphicsContext.hpp b/include/boo/IGraphicsContext.hpp index bfab1c2..c3e374c 100644 --- a/include/boo/IGraphicsContext.hpp +++ b/include/boo/IGraphicsContext.hpp @@ -2,7 +2,7 @@ #define IGFXCONTEXT_HPP #include -#include +#include namespace boo { diff --git a/include/boo/audiodev/IAudioSubmix.hpp b/include/boo/audiodev/IAudioSubmix.hpp index d263a6c..4da0507 100644 --- a/include/boo/audiodev/IAudioSubmix.hpp +++ b/include/boo/audiodev/IAudioSubmix.hpp @@ -1,8 +1,8 @@ #ifndef BOO_IAUDIOSUBMIX_HPP #define BOO_IAUDIOSUBMIX_HPP -#include -#include +#include +#include #include #include "boo/BooObject.hpp" diff --git a/include/boo/audiodev/IAudioVoice.hpp b/include/boo/audiodev/IAudioVoice.hpp index 241bb4a..c1d58cb 100644 --- a/include/boo/audiodev/IAudioVoice.hpp +++ b/include/boo/audiodev/IAudioVoice.hpp @@ -1,9 +1,9 @@ #ifndef BOO_IAUDIOVOICE_HPP #define BOO_IAUDIOVOICE_HPP -#include -#include -#include +#include +#include +#include #include "boo/BooObject.hpp" namespace boo diff --git a/include/boo/audiodev/IMIDIPort.hpp b/include/boo/audiodev/IMIDIPort.hpp index aae09ea..99f0069 100644 --- a/include/boo/audiodev/IMIDIPort.hpp +++ b/include/boo/audiodev/IMIDIPort.hpp @@ -4,7 +4,7 @@ #include #include #include -#include +#include namespace boo { diff --git a/include/boo/audiodev/IMIDIReader.hpp b/include/boo/audiodev/IMIDIReader.hpp index e9bd03f..a84f1c8 100644 --- a/include/boo/audiodev/IMIDIReader.hpp +++ b/include/boo/audiodev/IMIDIReader.hpp @@ -1,8 +1,8 @@ #ifndef BOO_IMIDIREADER_HPP #define BOO_IMIDIREADER_HPP -#include -#include +#include +#include namespace boo { diff --git a/include/boo/graphicsdev/IGraphicsDataFactory.hpp b/include/boo/graphicsdev/IGraphicsDataFactory.hpp index 40ab3bb..23c8ab5 100644 --- a/include/boo/graphicsdev/IGraphicsDataFactory.hpp +++ b/include/boo/graphicsdev/IGraphicsDataFactory.hpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include "boo/System.hpp" #include "boo/ThreadLocalPtr.hpp" #include "boo/BooObject.hpp" diff --git a/include/boo/inputdev/DeviceBase.hpp b/include/boo/inputdev/DeviceBase.hpp index 38c9256..97d9a0f 100644 --- a/include/boo/inputdev/DeviceBase.hpp +++ b/include/boo/inputdev/DeviceBase.hpp @@ -1,9 +1,9 @@ #ifndef CDEVICEBASE #define CDEVICEBASE -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/include/boo/inputdev/DeviceFinder.hpp b/include/boo/inputdev/DeviceFinder.hpp index 2472d32..7e7369b 100644 --- a/include/boo/inputdev/DeviceFinder.hpp +++ b/include/boo/inputdev/DeviceFinder.hpp @@ -7,8 +7,8 @@ #include "DeviceToken.hpp" #include "IHIDListener.hpp" #include "DeviceSignature.hpp" -#include -#include +#include +#include #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN diff --git a/include/boo/inputdev/DolphinSmashAdapter.hpp b/include/boo/inputdev/DolphinSmashAdapter.hpp index ec104db..540b983 100644 --- a/include/boo/inputdev/DolphinSmashAdapter.hpp +++ b/include/boo/inputdev/DolphinSmashAdapter.hpp @@ -1,7 +1,7 @@ #ifndef CDOLPHINSMASHADAPTER_HPP #define CDOLPHINSMASHADAPTER_HPP -#include +#include #include "DeviceBase.hpp" #include "../System.hpp" diff --git a/include/boo/inputdev/DualshockPad.hpp b/include/boo/inputdev/DualshockPad.hpp index 2e30240..01d39bd 100644 --- a/include/boo/inputdev/DualshockPad.hpp +++ b/include/boo/inputdev/DualshockPad.hpp @@ -1,6 +1,6 @@ #ifndef CDUALSHOCKPAD_HPP #define CDUALSHOCKPAD_HPP -#include +#include #include #include "DeviceBase.hpp" #include "boo/System.hpp" diff --git a/lib/audiodev/AudioMatrix.cpp b/lib/audiodev/AudioMatrix.cpp index 1d909e5..306b9b0 100644 --- a/lib/audiodev/AudioMatrix.cpp +++ b/lib/audiodev/AudioMatrix.cpp @@ -1,6 +1,6 @@ #include "AudioMatrix.hpp" #include "AudioVoiceEngine.hpp" -#include +#include namespace boo { diff --git a/lib/audiodev/AudioMatrix.hpp b/lib/audiodev/AudioMatrix.hpp index 5a26411..ed59e59 100644 --- a/lib/audiodev/AudioMatrix.hpp +++ b/lib/audiodev/AudioMatrix.hpp @@ -3,9 +3,9 @@ #include "boo/audiodev/IAudioVoice.hpp" #include -#include +#include #include -#include +#include #if __SSE__ #include diff --git a/lib/audiodev/AudioMatrixSSE.cpp b/lib/audiodev/AudioMatrixSSE.cpp index e5ef01a..1c23020 100644 --- a/lib/audiodev/AudioMatrixSSE.cpp +++ b/lib/audiodev/AudioMatrixSSE.cpp @@ -1,6 +1,6 @@ #include "AudioMatrix.hpp" #include "AudioVoiceEngine.hpp" -#include +#include #include diff --git a/lib/audiodev/AudioSubmix.cpp b/lib/audiodev/AudioSubmix.cpp index 01c8c53..237223c 100644 --- a/lib/audiodev/AudioSubmix.cpp +++ b/lib/audiodev/AudioSubmix.cpp @@ -1,7 +1,7 @@ #include "AudioSubmix.hpp" #include "AudioVoiceEngine.hpp" #include "AudioVoice.hpp" -#include +#include #include #undef min diff --git a/lib/inputdev/DolphinSmashAdapter.cpp b/lib/inputdev/DolphinSmashAdapter.cpp index 9caf1c4..e6d9d26 100644 --- a/lib/inputdev/DolphinSmashAdapter.cpp +++ b/lib/inputdev/DolphinSmashAdapter.cpp @@ -1,6 +1,6 @@ #include "boo/inputdev/DolphinSmashAdapter.hpp" -#include -#include +#include +#include namespace boo { diff --git a/lib/inputdev/DualshockPad.cpp b/lib/inputdev/DualshockPad.cpp index db37873..45adfdd 100644 --- a/lib/inputdev/DualshockPad.cpp +++ b/lib/inputdev/DualshockPad.cpp @@ -1,8 +1,8 @@ #include "boo/inputdev/DualshockPad.hpp" #define _USE_MATH_DEFINES -#include +#include #include -#include +#include #include #ifdef _WIN32 diff --git a/lib/inputdev/HIDDeviceUdev.cpp b/lib/inputdev/HIDDeviceUdev.cpp index 4a35410..22783eb 100644 --- a/lib/inputdev/HIDDeviceUdev.cpp +++ b/lib/inputdev/HIDDeviceUdev.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include #include @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include "boo/inputdev/HIDParser.hpp" namespace boo diff --git a/lib/inputdev/HIDDeviceWinUSB.cpp b/lib/inputdev/HIDDeviceWinUSB.cpp index 913b153..13e4744 100644 --- a/lib/inputdev/HIDDeviceWinUSB.cpp +++ b/lib/inputdev/HIDDeviceWinUSB.cpp @@ -5,8 +5,8 @@ #include #include #include -#include -#include +#include +#include #include #ifndef WIN32_LEAN_AND_MEAN diff --git a/lib/inputdev/HIDListenerUdev.cpp b/lib/inputdev/HIDListenerUdev.cpp index 57b813a..a44c77a 100644 --- a/lib/inputdev/HIDListenerUdev.cpp +++ b/lib/inputdev/HIDListenerUdev.cpp @@ -2,8 +2,8 @@ #include "boo/inputdev/DeviceFinder.hpp" #include "boo/inputdev/HIDParser.hpp" #include -#include -#include +#include +#include #include #include #include diff --git a/lib/inputdev/HIDListenerWinUSB.cpp b/lib/inputdev/HIDListenerWinUSB.cpp index 8da97a7..46d82b0 100644 --- a/lib/inputdev/HIDListenerWinUSB.cpp +++ b/lib/inputdev/HIDListenerWinUSB.cpp @@ -2,7 +2,7 @@ #include "boo/inputdev/IHIDListener.hpp" #include "boo/inputdev/DeviceFinder.hpp" #include "boo/inputdev/XInputPad.hpp" -#include +#include #include #ifndef WIN32_LEAN_AND_MEAN diff --git a/lib/x11/ApplicationUnix.cpp b/lib/x11/ApplicationUnix.cpp index e4afbc9..dd1c664 100644 --- a/lib/x11/ApplicationUnix.cpp +++ b/lib/x11/ApplicationUnix.cpp @@ -8,7 +8,7 @@ #include #include -#include +#include DBusConnection* RegisterDBus(const char* appName, bool& isFirst) { diff --git a/lib/x11/WindowXlib.cpp b/lib/x11/WindowXlib.cpp index ac8053d..3a07cde 100644 --- a/lib/x11/WindowXlib.cpp +++ b/lib/x11/WindowXlib.cpp @@ -10,10 +10,10 @@ #endif #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include diff --git a/logvisor b/logvisor index 408ae92..beee8b3 160000 --- a/logvisor +++ b/logvisor @@ -1 +1 @@ -Subproject commit 408ae926d76128fa23a12607d0a1e0a970ab3554 +Subproject commit beee8b397056efcdc33020a26cf69d1039f0f802 diff --git a/test/main.cpp b/test/main.cpp index ecc9434..8e8dbb4 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include #include #include