WebKit Bugzilla
Attachment 342106 Details for
Bug 186379
: Run display links in the UI process when ENABLE(WEBPROCESS_WINDOWSERVER_BLOCKING) is true.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch186379.txt (text/plain), 5.04 KB, created by
Per Arne Vollan
on 2018-06-06 19:43:22 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Per Arne Vollan
Created:
2018-06-06 19:43:22 PDT
Size:
5.04 KB
patch
obsolete
>Index: WebKit/UIProcess/WebPageProxy.cpp >=================================================================== >--- WebKit/UIProcess/WebPageProxy.cpp (revision 232566) >+++ WebKit/UIProcess/WebPageProxy.cpp (working copy) >@@ -1598,7 +1598,7 @@ > if (changed & ActivityState::IsVisible) { > if (isViewVisible()) { > m_visiblePageToken = m_process->visiblePageToken(); >-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > if (m_displayLink) > m_displayLink->resume(); > #endif >@@ -1610,7 +1610,7 @@ > // state, it might not send back a reply (since it won't paint anything if the web page is hidden) so we > // stop the unresponsiveness timer here. > m_process->responsivenessTimer().stop(); >-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > if (m_displayLink) > m_displayLink->pause(); > #endif >Index: WebKit/UIProcess/WebPageProxy.h >=================================================================== >--- WebKit/UIProcess/WebPageProxy.h (revision 232566) >+++ WebKit/UIProcess/WebPageProxy.h (working copy) >@@ -1765,7 +1765,7 @@ > void didRemoveAttachment(const String& identifier); > #endif > >-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > void startDisplayLink(unsigned observerID); > void stopDisplayLink(unsigned observerID); > #endif >@@ -2165,7 +2165,7 @@ > HashMap<String, Ref<WebURLSchemeHandler>> m_urlSchemeHandlersByScheme; > HashMap<uint64_t, Ref<WebURLSchemeHandler>> m_urlSchemeHandlersByIdentifier; > >-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > std::unique_ptr<DisplayLink> m_displayLink; > #endif > >Index: WebKit/UIProcess/WebPageProxy.messages.in >=================================================================== >--- WebKit/UIProcess/WebPageProxy.messages.in (revision 232566) >+++ WebKit/UIProcess/WebPageProxy.messages.in (working copy) >@@ -524,7 +524,7 @@ > DidRemoveAttachment(String identifier) > #endif > >-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > StartDisplayLink(unsigned observerID) > StopDisplayLink(unsigned observerID) > #endif >Index: WebKit/UIProcess/mac/DisplayLink.cpp >=================================================================== >--- WebKit/UIProcess/mac/DisplayLink.cpp (revision 232566) >+++ WebKit/UIProcess/mac/DisplayLink.cpp (working copy) >@@ -26,7 +26,7 @@ > #include "config.h" > #include "DisplayLink.h" > >-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > > #include "DrawingAreaMessages.h" > #include "WebPageProxy.h" >Index: WebKit/UIProcess/mac/DisplayLink.h >=================================================================== >--- WebKit/UIProcess/mac/DisplayLink.h (revision 232566) >+++ WebKit/UIProcess/mac/DisplayLink.h (working copy) >@@ -25,7 +25,7 @@ > > #pragma once > >-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > > #include <CoreVideo/CVDisplayLink.h> > >Index: WebKit/UIProcess/mac/WebPageProxyMac.mm >=================================================================== >--- WebKit/UIProcess/mac/WebPageProxyMac.mm (revision 232566) >+++ WebKit/UIProcess/mac/WebPageProxyMac.mm (working copy) >@@ -681,7 +681,7 @@ > } > #endif > >-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > void WebPageProxy::startDisplayLink(unsigned observerID) > { > ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)); >Index: WebKit/WebProcess/WebPage/DrawingArea.cpp >=================================================================== >--- WebKit/WebProcess/WebPage/DrawingArea.cpp (revision 232566) >+++ WebKit/WebProcess/WebPage/DrawingArea.cpp (working copy) >@@ -88,7 +88,7 @@ > function(); > } > >-#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) && !(PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400) >+#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) && !(PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) > RefPtr<WebCore::DisplayRefreshMonitor> DrawingArea::createDisplayRefreshMonitor(PlatformDisplayID) > { > return nullptr; >Index: WebKit/WebProcess/WebPage/mac/DrawingAreaMac.cpp >=================================================================== >--- WebKit/WebProcess/WebPage/mac/DrawingAreaMac.cpp (revision 232566) >+++ WebKit/WebProcess/WebPage/mac/DrawingAreaMac.cpp (working copy) >@@ -38,7 +38,7 @@ > > namespace WebKit { > >-#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 >+#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 > > class DisplayRefreshMonitorMac : public DisplayRefreshMonitor { > public:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 186379
:
342106
|
342108
|
342110
|
342112
|
342288