Skip to content

Commit

Permalink
[GTK][ThreadedCompositor] Add support for threaded compositor.
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=118265

Reviewed by Martin Robinson.

.:

Added the ENABLE_THREADED_COMPOSITOR feature flag to the cmake and
autotools build systems. The feature is disabled by default.
And remove deprecated the WTF_USE_TILED_BACKING_STORE feature flag
from the feature flags.

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/WebCore:

* PlatformGTK.cmake:
Adds CoodinatedGraphics and threaded compositor related classes to
support threaded compositor

* platform/graphics/texmap/coordinated/CoordinatedTile.cpp:
* platform/graphics/texmap/coordinated/CoordinatedTile.h:
This class should be guarded by COORDINATED_GRAPHICS instead of
TILED_BACKING_STORE

Source/WebKit2:

This patch introduces a threaded compositor for WebKitGTK+.
It is disabled as a default because it is a initial implementation.
The threaded compositor can be enabled using --threaded-compositor
option at compile time.

No new tests, this is an experimental feature.

* PlatformGTK.cmake:
Adds CoodinatedGraphics and threaded compositor related classes to
support threaded compositor

* Shared/DrawingAreaInfo.h:
Use DrawingAreaImpl for threaded compositor

* UIProcess/API/gtk/WebKitSettings.cpp:
(_WebKitSettingsPrivate::_WebKitSettingsPrivate):
Modified to use forceCompositingMode when the threaded compositor used.
If we does not set this mode here, it cannot draw the root content layer.

* WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: Added.
* WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.h: Added.
(WebKit::ThreadedCoordinatedLayerTreeHost::rootLayer):
Implements ThreadedCoordinatedLayerTreeHost to use the threaded
compositor. It is basically similar with CoordinatedLayerTreeHost but it uses ThreadedCompositor instead of IPC.

* UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::contentsSizeChanged):
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp:
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
* WebProcess/WebPage/DrawingArea.cpp:
(WebKit::DrawingArea::create):
(WebKit::DrawingArea::DrawingArea):
* WebProcess/WebPage/DrawingArea.h:
COORDINATED_GRAPHICS_MULTIPROCESS is introduced to classify IPC specific codes
from Coordinated Graphics.
And COORDINATED_GRAPHICS_THREADED is used to guard the threaded
compositor specific codes.

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::DrawingAreaImpl):
Modified to use forceCompositingMode when the threaded compositor used.
If we does not set this mode here, it will crash because of PageOverlay.
(WebKit::DrawingAreaImpl::mainFrameContentSizeChanged):
(WebKit::DrawingAreaImpl::updateBackingStoreState):
Modified to handle contents / viewport size changes for threaded compositor.
(WebKit::DrawingAreaImpl::attachViewOverlayGraphicsLayer):
Added to support Overlay layer in the threaded compositor.
(WebKit::DrawingAreaImpl::setNativeSurfaceHandleForCompositing):
Push the surface handle for compositing to the threaded compositor.

* WebProcess/WebPage/DrawingAreaImpl.h: Use COORDINATED_GRAPIHCS_THREADED to guard the threaded compositor related codes.
* WebProcess/WebPage/LayerTreeHost.cpp: Ditto.
* WebProcess/WebPage/LayerTreeHost.h: Ditto.
* WebProcess/WebPage/WebPage.cpp: Ditto.
* WebProcess/WebPage/WebPage.h: Ditto.
* WebProcess/WebPage/WebPage.messages.in: Ditto.

* WebProcess/gtk/WebProcessMainGtk.cpp:
    Modified to call XInitThreads to use thread-safe xlib.

Tools:

Added the ENABLE_THREADED_COMPOSITOR feature flag to the cmake and
autotools build systems. The feature is disabled by default.
And remove deprecated the WTF_USE_TILED_BACKING_STORE feature flag
from the feature flags.

* Scripts/webkitperl/FeatureList.pm:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@178095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
yoon@igalia.com committed Jan 8, 2015
1 parent 16c1ff8 commit ab213d6
Show file tree
Hide file tree
Showing 35 changed files with 760 additions and 52 deletions.
17 changes: 17 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
2015-01-07 Gwang Yoon Hwang <yoon@igalia.com>

[GTK][ThreadedCompositor] Add support for threaded compositor.
https://bugs.webkit.org/show_bug.cgi?id=118265

Reviewed by Martin Robinson.

Added the ENABLE_THREADED_COMPOSITOR feature flag to the cmake and
autotools build systems. The feature is disabled by default.
And remove deprecated the WTF_USE_TILED_BACKING_STORE feature flag
from the feature flags.

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

2014-12-23 Alexey Proskuryakov <ap@apple.com>

Simplify building with ASan
Expand Down
16 changes: 16 additions & 0 deletions Source/WebCore/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
2015-01-07 Gwang Yoon Hwang <yoon@igalia.com>

[GTK][ThreadedCompositor] Add support for threaded compositor.
https://bugs.webkit.org/show_bug.cgi?id=118265

Reviewed by Martin Robinson.

* PlatformGTK.cmake:
Adds CoodinatedGraphics and threaded compositor related classes to
support threaded compositor

* platform/graphics/texmap/coordinated/CoordinatedTile.cpp:
* platform/graphics/texmap/coordinated/CoordinatedTile.h:
This class should be guarded by COORDINATED_GRAPHICS instead of
TILED_BACKING_STORE

2015-01-07 Daniel Bates <dabates@apple.com>

[iOS] Make WebKit2 build with public iOS SDK and more build fixes for DRT
Expand Down
25 changes: 25 additions & 0 deletions Source/WebCore/PlatformGTK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,31 @@ if (ENABLE_TEXTURE_MAPPER)
)
endif ()

if (ENABLE_THREADED_COMPOSITOR)
list(APPEND WebCore_INCLUDE_DIRECTORIES
"${WEBCORE_DIR}/page/scrolling/coordinatedgraphics"
"${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
"${WEBCORE_DIR}/platform/graphics/texmap/threadedcompositor"
)
list(APPEND WebCore_SOURCES
page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp
page/scrolling/coordinatedgraphics/ScrollingStateNodeCoordinatedGraphics.cpp
page/scrolling/coordinatedgraphics/ScrollingStateScrollingNodeCoordinatedGraphics.cpp
page/scrolling/ScrollingStateStickyNode.cpp
page/scrolling/ScrollingThread.cpp
page/scrolling/ScrollingTreeNode.cpp
page/scrolling/ScrollingTreeScrollingNode.cpp
platform/graphics/TiledBackingStore.cpp
platform/graphics/texmap/coordinated/AreaAllocator.cpp
platform/graphics/texmap/coordinated/CompositingCoordinator.cpp
platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
platform/graphics/texmap/coordinated/CoordinatedSurface.cpp
platform/graphics/texmap/coordinated/CoordinatedTile.cpp
platform/graphics/texmap/coordinated/UpdateAtlas.cpp
)
endif ()

if (WTF_USE_EGL)
list(APPEND WebCore_LIBRARIES
${EGL_LIBRARY}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "config.h"
#include "CoordinatedTile.h"

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS)

#include "GraphicsContext.h"
#include "ImageBuffer.h"
Expand Down Expand Up @@ -141,4 +141,4 @@ void CoordinatedTileBackend::paintCheckerPattern(GraphicsContext*, const FloatRe

} // namespace WebCore

#endif // USE(TILED_BACKING_STORE)
#endif // USE(COORDINATED_GRAPHICS)
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef CoordinatedTile_h
#define CoordinatedTile_h

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS)

#include "CoordinatedSurface.h"
#include "IntRect.h"
Expand Down Expand Up @@ -91,6 +91,6 @@ class CoordinatedTileBackend : public TiledBackingStoreBackend {

} // namespace WebCore

#endif // USE(TILED_BACKING_STORE)
#endif // USE(COORDINATED_GRAPHICS)

#endif // CoordinatedTile_h
72 changes: 72 additions & 0 deletions Source/WebKit2/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
2015-01-07 Gwang Yoon Hwang <yoon@igalia.com>

[GTK][ThreadedCompositor] Add support for threaded compositor.
https://bugs.webkit.org/show_bug.cgi?id=118265

Reviewed by Martin Robinson.

This patch introduces a threaded compositor for WebKitGTK+.
It is disabled as a default because it is a initial implementation.
The threaded compositor can be enabled using --threaded-compositor
option at compile time.

No new tests, this is an experimental feature.

* PlatformGTK.cmake:
Adds CoodinatedGraphics and threaded compositor related classes to
support threaded compositor

* Shared/DrawingAreaInfo.h:
Use DrawingAreaImpl for threaded compositor

* UIProcess/API/gtk/WebKitSettings.cpp:
(_WebKitSettingsPrivate::_WebKitSettingsPrivate):
Modified to use forceCompositingMode when the threaded compositor used.
If we does not set this mode here, it cannot draw the root content layer.

* WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: Added.
* WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.h: Added.
(WebKit::ThreadedCoordinatedLayerTreeHost::rootLayer):
Implements ThreadedCoordinatedLayerTreeHost to use the threaded
compositor. It is basically similar with CoordinatedLayerTreeHost but it uses ThreadedCompositor instead of IPC.

* UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::contentsSizeChanged):
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp:
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
* WebProcess/WebPage/DrawingArea.cpp:
(WebKit::DrawingArea::create):
(WebKit::DrawingArea::DrawingArea):
* WebProcess/WebPage/DrawingArea.h:
COORDINATED_GRAPHICS_MULTIPROCESS is introduced to classify IPC specific codes
from Coordinated Graphics.
And COORDINATED_GRAPHICS_THREADED is used to guard the threaded
compositor specific codes.

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::DrawingAreaImpl):
Modified to use forceCompositingMode when the threaded compositor used.
If we does not set this mode here, it will crash because of PageOverlay.
(WebKit::DrawingAreaImpl::mainFrameContentSizeChanged):
(WebKit::DrawingAreaImpl::updateBackingStoreState):
Modified to handle contents / viewport size changes for threaded compositor.
(WebKit::DrawingAreaImpl::attachViewOverlayGraphicsLayer):
Added to support Overlay layer in the threaded compositor.
(WebKit::DrawingAreaImpl::setNativeSurfaceHandleForCompositing):
Push the surface handle for compositing to the threaded compositor.

* WebProcess/WebPage/DrawingAreaImpl.h: Use COORDINATED_GRAPIHCS_THREADED to guard the threaded compositor related codes.
* WebProcess/WebPage/LayerTreeHost.cpp: Ditto.
* WebProcess/WebPage/LayerTreeHost.h: Ditto.
* WebProcess/WebPage/WebPage.cpp: Ditto.
* WebProcess/WebPage/WebPage.h: Ditto.
* WebProcess/WebPage/WebPage.messages.in: Ditto.

* WebProcess/gtk/WebProcessMainGtk.cpp:
Modified to call XInitThreads to use thread-safe xlib.

2015-01-07 Daniel Bates <dabates@apple.com>

[iOS] Make WebKit2 build with public iOS SDK and more build fixes for DRT
Expand Down
22 changes: 21 additions & 1 deletion Source/WebKit2/PlatformGTK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ list(APPEND WebKit2_SOURCES

WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp

WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp
WebProcess/WebPage/gtk/PrinterListGtk.cpp
WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp
WebProcess/WebPage/gtk/WebPageGtk.cpp
Expand Down Expand Up @@ -742,6 +741,27 @@ list(APPEND PluginProcess_SOURCES
PluginProcess/EntryPoint/unix/PluginProcessMain.cpp
)

if (ENABLE_THREADED_COMPOSITOR)
list(APPEND WebKit2_SOURCES
Shared/CoordinatedGraphics/CoordinatedBackingStore.cpp
Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
Shared/CoordinatedGraphics/SimpleViewportController.cpp
Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.cpp
WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp
)
list(APPEND WebKit2_INCLUDE_DIRECTORIES
"${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
"${WEBKIT2_DIR}/Shared/CoordinatedGraphics"
"${WEBKIT2_DIR}/Shared/CoordinatedGraphics/threadedcompositor"
"${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics"
)
else (ENABLE_THREADED_COMPOSITOR)
list(APPEND WebKit2_SOURCES
WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp
)
endif ()

# Commands for building the built-in injected bundle.
include_directories(
"${WEBKIT2_DIR}/Platform"
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit2/Shared/DrawingAreaInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ enum DrawingAreaType {
#endif
DrawingAreaTypeRemoteLayerTree,
#else
#if USE(COORDINATED_GRAPHICS)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
DrawingAreaTypeCoordinated
#else
DrawingAreaTypeImpl,
Expand Down
4 changes: 4 additions & 0 deletions Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ struct _WebKitSettingsPrivate {
fantasyFontFamily = preferences->fantasyFontFamily().utf8();
pictographFontFamily = preferences->pictographFontFamily().utf8();
defaultCharset = preferences->defaultTextEncodingName().utf8();

#if USE(COORDINATED_GRAPHICS_THREADED)
preferences->setForceCompositingMode(true);
#endif
}

RefPtr<WebPreferences> preferences;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef CoordinatedLayerTreeHostProxy_h
#define CoordinatedLayerTreeHostProxy_h

#if USE(COORDINATED_GRAPHICS)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)

#include "CoordinatedGraphicsArgumentCoders.h"
#include "CoordinatedGraphicsScene.h"
Expand Down Expand Up @@ -69,6 +69,6 @@ class CoordinatedLayerTreeHostProxy : public CoordinatedGraphicsSceneClient, pub

} // namespace WebKit

#endif // USE(COORDINATED_GRAPHICS)
#endif // USE(COORDINATED_GRAPHICS_MULTIPROCESS)

#endif // CoordinatedLayerTreeHostProxy_h
4 changes: 1 addition & 3 deletions Source/WebKit2/UIProcess/PageClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,10 @@ class PageClient {

virtual void didCommitLoadForMainFrame(const String& mimeType, bool useCustomContentProvider) = 0;

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
virtual void pageDidRequestScroll(const WebCore::IntPoint&) = 0;
virtual void didRenderFrame(const WebCore::IntSize& contentsSize, const WebCore::IntRect& coveredRect) = 0;
virtual void pageTransitionViewportReady() = 0;
#endif
#if USE(COORDINATED_GRAPHICS)
virtual void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&) = 0;
#endif

Expand Down
8 changes: 4 additions & 4 deletions Source/WebKit2/UIProcess/WebPageProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
#include "RemoteScrollingCoordinatorProxy.h"
#endif

#if USE(COORDINATED_GRAPHICS)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
#include "CoordinatedLayerTreeHostProxyMessages.h"
#endif

Expand Down Expand Up @@ -1372,7 +1372,7 @@ void WebPageProxy::didCommitLayerTree(const RemoteLayerTreeTransaction&)
}
#endif

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
void WebPageProxy::commitPageTransitionViewport()
{
if (!isValid())
Expand Down Expand Up @@ -3280,7 +3280,7 @@ void WebPageProxy::runBeforeUnloadConfirmPanel(const String& message, uint64_t f
shouldClose = m_uiClient->runBeforeUnloadConfirmPanel(this, message, frame);
}

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
void WebPageProxy::pageDidRequestScroll(const IntPoint& point)
{
m_pageClient.pageDidRequestScroll(point);
Expand Down Expand Up @@ -3396,7 +3396,7 @@ void WebPageProxy::handleDownloadRequest(DownloadProxy* download)
m_pageClient.handleDownloadRequest(download);
}

#if PLATFORM(EFL)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
void WebPageProxy::didChangeContentSize(const IntSize& size)
{
m_pageClient.didChangeContentSize(size);
Expand Down
10 changes: 3 additions & 7 deletions Source/WebKit2/UIProcess/WebPageProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ class WebPageProxy : public API::ObjectImpl<API::Object::Type::Page>

void didCommitLayerTree(const WebKit::RemoteLayerTreeTransaction&);

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
void didRenderFrame(const WebCore::IntSize& contentsSize, const WebCore::IntRect& coveredRect);
#endif
#if PLATFORM(EFL)
Expand Down Expand Up @@ -547,7 +547,7 @@ class WebPageProxy : public API::ObjectImpl<API::Object::Type::Page>
#if PLATFORM(GTK)
PlatformWidget viewWidget();
#endif
#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
void commitPageTransitionViewport();
#endif

Expand Down Expand Up @@ -1107,14 +1107,10 @@ class WebPageProxy : public API::ObjectImpl<API::Object::Type::Page>
void clearNotifications(const Vector<uint64_t>& notificationIDs);
void didDestroyNotification(uint64_t notificationID);

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
void pageDidRequestScroll(const WebCore::IntPoint&);
void pageTransitionViewportReady();
#endif
#if USE(COORDINATED_GRAPHICS)
void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&);
#endif
#if PLATFORM(EFL)
void didChangeContentSize(const WebCore::IntSize&);
#endif

Expand Down
7 changes: 1 addition & 6 deletions Source/WebKit2/UIProcess/WebPageProxy.messages.in
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,10 @@ messages -> WebPageProxy {
HandleInputMethodKeydown() -> (bool handled)
#endif

#if USE(TILED_BACKING_STORE)
#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
PageDidRequestScroll(WebCore::IntPoint point)
PageTransitionViewportReady()
#endif
#if USE(COORDINATED_GRAPHICS)
DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
#endif

#if PLATFORM(EFL)
DidChangeContentSize(WebCore::IntSize newSize)
#endif

Expand Down
2 changes: 2 additions & 0 deletions Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,9 @@ void WebChromeClient::contentsSizeChanged(Frame* frame, const IntSize& size) con
#if USE(COORDINATED_GRAPHICS)
if (m_page->useFixedLayout())
m_page->drawingArea()->layerTreeHost()->sizeDidChange(size);
#endif

#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
m_page->send(Messages::WebPageProxy::DidChangeContentSize(size));
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,11 +600,13 @@ void CoordinatedDrawingArea::display(UpdateInfo& updateInfo)
m_displayTimer.stop();
}

#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
void CoordinatedDrawingArea::didReceiveCoordinatedLayerTreeHostMessage(IPC::Connection& connection, IPC::MessageDecoder& decoder)
{
if (m_layerTreeHost)
m_layerTreeHost->didReceiveCoordinatedLayerTreeHostMessage(connection, decoder);
}
#endif

void CoordinatedDrawingArea::attachViewOverlayGraphicsLayer(WebCore::Frame* frame, WebCore::GraphicsLayer* viewOverlayRootLayer)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ class CoordinatedDrawingArea : public DrawingArea {
virtual void scheduleCompositingLayerFlush() override;
virtual void scheduleCompositingLayerFlushImmediately() override;

#if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
virtual void didReceiveCoordinatedLayerTreeHostMessage(IPC::Connection&, IPC::MessageDecoder&);
#endif

virtual void attachViewOverlayGraphicsLayer(WebCore::Frame*, WebCore::GraphicsLayer*) override;

Expand Down
Loading

0 comments on commit ab213d6

Please sign in to comment.