Source/WebCore/ChangeLog

 12020-05-08 Said Abou-Hallawa <sabouhallawa@apple.com>
 2
 3 Re-enable 'VisuallyIdle' rAF throttling
 4 https://bugs.webkit.org/show_bug.cgi?id=211657
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * page/RenderingUpdateScheduler.h:
 9 * platform/graphics/AnimationFrameRate.h:
 10 (WebCore::preferredFrameInterval):
 11 (WebCore::operator<<):
 12
1132020-05-07 Youenn Fablet <youenn@apple.com>
214
315 Remove AudioMediaStreamTrackRenderer::muted
261344

Source/WebCore/page/RenderingUpdateScheduler.h

@@namespace WebCore {
3434class Page;
3535class Timer;
3636
37 class RenderingUpdateScheduler : public DisplayRefreshMonitorClient
38 {
 37class RenderingUpdateScheduler : public DisplayRefreshMonitorClient {
3938 WTF_MAKE_FAST_ALLOCATED;
4039public:
4140 static std::unique_ptr<RenderingUpdateScheduler> create(Page& page)
261344

Source/WebCore/platform/graphics/AnimationFrameRate.h

@@constexpr const FramesPerSecond ZeroFram
5252
5353inline Seconds preferredFrameInterval(const OptionSet<ThrottlingReason>& reasons)
5454{
55  // FIXME: handle ThrottlingReason::VisuallyIdle, ThrottlingReason::OutsideViewport
 55 // FIXME: handle ThrottlingReason::OutsideViewport
 56 if (reasons.contains(ThrottlingReason::VisuallyIdle))
 57 return AggressiveThrottlingAnimationInterval;
 58
5659 if (reasons.containsAny({ ThrottlingReason::LowPowerMode, ThrottlingReason::NonInteractedCrossOriginFrame }))
5760 return HalfSpeedThrottlingAnimationInterval;
5861

@@inline FramesPerSecond preferredFramesPe
7376
7477inline TextStream& operator<<(TextStream& ts, const OptionSet<ThrottlingReason>& reasons)
7578{
76  StringBuilder builder;
 79 bool didAppend = false;
 80
7781 for (auto reason : reasons) {
78  if (!builder.isEmpty())
 82 if (didAppend)
7983 ts << "|";
80 
8184 switch (reason) {
8285 case ThrottlingReason::VisuallyIdle:
8386 ts << "VisuallyIdle";

@@inline TextStream& operator<<(TextStream
9295 ts << "NonInteractiveCrossOriginFrame";
9396 break;
9497 }
 98 didAppend = true;
9599 }
 100
96101 if (reasons.isEmpty())
97102 ts << "[Unthrottled]";
98103 return ts;
261344

Source/WebKit/ChangeLog

 12020-05-08 Said Abou-Hallawa <sabouhallawa@apple.com>
 2
 3 Re-enable 'VisuallyIdle' rAF throttling
 4 https://bugs.webkit.org/show_bug.cgi?id=211657
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * UIProcess/mac/WindowServerConnection.mm:
 9 (WebKit::WindowServerConnection::applicationWindowModificationsStopped):
 10
1112020-05-08 David Kilzer <ddkilzer@apple.com>
212
313 Remove empty directories from from svn.webkit.org repository
261432

Source/WebKit/UIProcess/mac/WindowServerConnection.mm

@@void WindowServerConnection::application
3939 return;
4040 m_applicationWindowModificationsHaveStopped = stopped;
4141 windowServerConnectionStateChanged();
 42 WTFLogAlways("WindowServerConnection::applicationWindowModificationsStopped() this = %p, stopped = %d", this, stopped);
4243}
4344
4445void WindowServerConnection::windowServerConnectionStateChanged()
261344