Title: [250588] trunk/Source/WebCore
- Revision
- 250588
- Author
- [email protected]
- Date
- 2019-10-01 17:06:58 -0700 (Tue, 01 Oct 2019)
Log Message
Clean up some includes to make the build a bit faster
https://bugs.webkit.org/show_bug.cgi?id=202437
Reviewed by Jer Noble.
* Modules/webaudio/PannerNode.h:
* Modules/webaudio/RealtimeAnalyser.h:
* platform/audio/HRTFPanner.h:
FFTFrame includes Accelerate.h, which is quite expensive.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (250587 => 250588)
--- trunk/Source/WebCore/ChangeLog 2019-10-01 23:46:02 UTC (rev 250587)
+++ trunk/Source/WebCore/ChangeLog 2019-10-02 00:06:58 UTC (rev 250588)
@@ -1,3 +1,15 @@
+2019-10-01 Tim Horton <[email protected]>
+
+ Clean up some includes to make the build a bit faster
+ https://bugs.webkit.org/show_bug.cgi?id=202437
+
+ Reviewed by Jer Noble.
+
+ * Modules/webaudio/PannerNode.h:
+ * Modules/webaudio/RealtimeAnalyser.h:
+ * platform/audio/HRTFPanner.h:
+ FFTFrame includes Accelerate.h, which is quite expensive.
+
2019-10-01 Antti Koivisto <[email protected]>
[CSS Shadow Parts] Parse 'part' attribute
Modified: trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp (250587 => 250588)
--- trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp 2019-10-01 23:46:02 UTC (rev 250587)
+++ trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp 2019-10-02 00:06:58 UTC (rev 250588)
@@ -32,6 +32,7 @@
#include "AudioContext.h"
#include "AudioNodeInput.h"
#include "AudioNodeOutput.h"
+#include "HRTFDatabaseLoader.h"
#include "HRTFPanner.h"
#include "ScriptExecutionContext.h"
#include <wtf/IsoMallocInlines.h>
Modified: trunk/Source/WebCore/Modules/webaudio/PannerNode.h (250587 => 250588)
--- trunk/Source/WebCore/Modules/webaudio/PannerNode.h 2019-10-01 23:46:02 UTC (rev 250587)
+++ trunk/Source/WebCore/Modules/webaudio/PannerNode.h 2019-10-02 00:06:58 UTC (rev 250588)
@@ -32,7 +32,6 @@
#include "Cone.h"
#include "Distance.h"
#include "FloatPoint3D.h"
-#include "HRTFDatabaseLoader.h"
#include "Panner.h"
#include <memory>
#include <wtf/HashSet.h>
@@ -40,6 +39,8 @@
namespace WebCore {
+class HRTFDatabaseLoader;
+
// PannerNode is an AudioNode with one input and one output.
// It positions a sound in 3D space, with the exact effect dependent on the panning model.
// It has a position and an orientation in 3D space which is relative to the position and orientation of the context's AudioListener.
Modified: trunk/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp (250587 => 250588)
--- trunk/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp 2019-10-01 23:46:02 UTC (rev 250587)
+++ trunk/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp 2019-10-02 00:06:58 UTC (rev 250588)
@@ -30,6 +30,7 @@
#include "AudioBus.h"
#include "AudioUtilities.h"
+#include "FFTFrame.h"
#include "VectorMath.h"
#include <_javascript_Core/Float32Array.h>
#include <_javascript_Core/Uint8Array.h>
Modified: trunk/Source/WebCore/Modules/webaudio/RealtimeAnalyser.h (250587 => 250588)
--- trunk/Source/WebCore/Modules/webaudio/RealtimeAnalyser.h 2019-10-01 23:46:02 UTC (rev 250587)
+++ trunk/Source/WebCore/Modules/webaudio/RealtimeAnalyser.h 2019-10-02 00:06:58 UTC (rev 250588)
@@ -25,7 +25,6 @@
#pragma once
#include "AudioArray.h"
-#include "FFTFrame.h"
#include <_javascript_Core/Float32Array.h>
#include <_javascript_Core/Uint8Array.h>
#include <memory>
@@ -35,6 +34,7 @@
namespace WebCore {
class AudioBus;
+class FFTFrame;
class RealtimeAnalyser {
WTF_MAKE_NONCOPYABLE(RealtimeAnalyser);
Modified: trunk/Source/WebCore/platform/audio/HRTFPanner.h (250587 => 250588)
--- trunk/Source/WebCore/platform/audio/HRTFPanner.h 2019-10-01 23:46:02 UTC (rev 250587)
+++ trunk/Source/WebCore/platform/audio/HRTFPanner.h 2019-10-02 00:06:58 UTC (rev 250588)
@@ -27,11 +27,12 @@
#include "DelayDSPKernel.h"
#include "FFTConvolver.h"
-#include "HRTFDatabaseLoader.h"
#include "Panner.h"
namespace WebCore {
+class HRTFDatabaseLoader;
+
class HRTFPanner final : public Panner {
public:
explicit HRTFPanner(float sampleRate, HRTFDatabaseLoader*);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes