Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Qt][WK2] Get rid of the #ifdef mess in LayerTreeHost[Proxy]
https://bugs.webkit.org/show_bug.cgi?id=79501 Source/JavaScriptCore: Enable WTF_USE_UI_SIDE_COMPOSITING for Qt. Reviewed by Kenneth Rohde Christiansen. * wtf/Platform.h: Source/WebKit2: Use a new UI_SIDE_COMPOSITING flag instead of the several #ifdef flags we currently use. Reviewed by Kenneth Rohde Christiansen. * Shared/WebLayerTreeInfo.cpp: * Shared/WebLayerTreeInfo.h: * UIProcess/DrawingAreaProxy.cpp: (WebKit): * UIProcess/DrawingAreaProxy.h: (DrawingAreaProxy): * UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl): (WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode): (WebKit): * UIProcess/DrawingAreaProxyImpl.h: (DrawingAreaProxyImpl): * UIProcess/LayerTreeHostProxy.h: (LayerTreeHostProxy): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::didReceiveMessage): * UIProcess/qt/LayerBackingStore.cpp: * UIProcess/qt/LayerBackingStore.h: * UIProcess/qt/LayerTreeHostProxyQt.cpp: * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp: * WebProcess/WebCoreSupport/WebGraphicsLayer.h: * WebProcess/WebPage/DrawingArea.h: (DrawingArea): * WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit): * WebProcess/WebPage/DrawingAreaImpl.h: (DrawingAreaImpl): * WebProcess/WebPage/LayerTreeHost.cpp: (WebKit::LayerTreeHost::create): * WebProcess/WebPage/qt/LayerTreeHostQt.cpp: (WebKit::LayerTreeHostQt::purgeBackingStores): * WebProcess/WebPage/qt/LayerTreeHostQt.h: (LayerTreeHostQt): Canonical link: https://commits.webkit.org/97055@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
97 additions
and 69 deletions.
- +11 −0 Source/JavaScriptCore/ChangeLog
- +5 −0 Source/JavaScriptCore/wtf/Platform.h
- +43 −0 Source/WebKit2/ChangeLog
- +1 −2 Source/WebKit2/Shared/WebLayerTreeInfo.cpp
- +1 −1 Source/WebKit2/Shared/WebLayerTreeInfo.h
- +2 −5 Source/WebKit2/UIProcess/DrawingAreaProxy.cpp
- +2 −5 Source/WebKit2/UIProcess/DrawingAreaProxy.h
- +4 −4 Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp
- +1 −1 Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h
- +9 −11 Source/WebKit2/UIProcess/LayerTreeHostProxy.h
- +2 −2 Source/WebKit2/UIProcess/WebPageProxy.cpp
- +2 −0 Source/WebKit2/UIProcess/qt/LayerBackingStore.cpp
- +3 −0 Source/WebKit2/UIProcess/qt/LayerBackingStore.h
- +0 −2 Source/WebKit2/UIProcess/qt/LayerTreeHostProxyQt.cpp
- +1 −2 Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp
- +1 −4 Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.h
- +3 −2 Source/WebKit2/WebProcess/WebPage/DrawingArea.h
- +1 −1 Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp
- +1 −1 Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
- +2 −2 Source/WebKit2/WebProcess/WebPage/LayerTreeHost.cpp
- +0 −18 Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.cpp
- +2 −6 Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -19,8 +19,7 @@ | ||
|
||
#include "config.h" | ||
|
||
#if USE(UI_SIDE_COMPOSITING) | ||
#include "WebLayerTreeInfo.h" | ||
|
||
#include "Arguments.h" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -20,7 +20,7 @@ | ||
#ifndef WebLayerTreeInfo_h | ||
#define WebLayerTreeInfo_h | ||
|
||
#if USE(UI_SIDE_COMPOSITING) | ||
|
||
#include "ArgumentDecoder.h" | ||
#include "ArgumentEncoder.h" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -19,7 +19,6 @@ | ||
|
||
#include "config.h" | ||
|
||
#include "LayerTreeHostProxy.h" | ||
|
||
#include "GraphicsLayerTextureMapper.h" | ||
@@ -416,4 +415,3 @@ void LayerTreeHostProxy::purgeGLResources() | ||
} | ||
|
||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -19,8 +19,7 @@ | ||
|
||
#include "config.h" | ||
|
||
#if USE(UI_SIDE_COMPOSITING) | ||
#include "WebGraphicsLayer.h" | ||
|
||
#include "Animation.h" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.