Changeset 243981 in webkit
- Timestamp:
- Apr 8, 2019, 3:14:55 AM (7 years ago)
- Location:
- releases/WebKitGTK/webkit-2.24
- Files:
-
- 43 edited
-
ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/graphics/GraphicsContext3D.h (modified) (1 diff)
-
Source/WebCore/platform/graphics/PlatformLayer.h (modified) (1 diff)
-
Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp (modified) (7 diffs)
-
Source/WebCore/platform/graphics/cairo/ImageBufferDataCairo.h (modified) (1 diff)
-
Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngineThreaded.h (modified) (2 diffs)
-
Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGC3DLayer.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp (modified) (1 diff)
-
Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp (modified) (1 diff)
-
Source/WebCore/platform/graphics/texmap/GraphicsContext3DTextureMapper.cpp (modified) (3 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp (modified) (4 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.h (modified) (2 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h (modified) (2 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxy.h (modified) (2 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyProvider.h (modified) (2 diffs)
-
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp (modified) (3 diffs)
-
Source/WebCore/rendering/RenderLayerBacking.cpp (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayerCompositor.cpp (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp (modified) (1 diff)
-
Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h (modified) (6 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.cpp (modified) (2 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.h (modified) (2 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp (modified) (2 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h (modified) (2 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp (modified) (2 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h (modified) (2 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.cpp (modified) (2 diffs)
-
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.h (modified) (2 diffs)
-
Source/WebKit/WebProcess/WebPage/AcceleratedDrawingArea.cpp (modified) (3 diffs)
-
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp (modified) (1 diff)
-
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h (modified) (4 diffs)
-
Source/WebKit/WebProcess/WebPage/DrawingAreaImpl.cpp (modified) (1 diff)
-
Source/WebKit/WebProcess/WebPage/WebPage.cpp (modified) (2 diffs)
-
Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp (modified) (1 diff)
-
Source/cmake/OptionsGTK.cmake (modified) (1 diff)
-
Source/cmake/OptionsPlayStation.cmake (modified) (1 diff)
-
Source/cmake/OptionsWPE.cmake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.24/ChangeLog
r243535 r243981 1 2019-02-28 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [CoordinatedGraphics] Remove COORDINATED_GRAPHICS_THREADED option 4 https://bugs.webkit.org/show_bug.cgi?id=195159 5 6 Reviewed by Don Olmstead. 7 8 * Source/cmake/OptionsGTK.cmake: 9 * Source/cmake/OptionsPlayStation.cmake: 10 * Source/cmake/OptionsWPE.cmake: 11 1 12 2019-03-27 Adrian Perez de Castro <aperez@igalia.com> 2 13 -
releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog
r243978 r243981 1 2019-02-28 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [CoordinatedGraphics] Remove COORDINATED_GRAPHICS_THREADED option 4 https://bugs.webkit.org/show_bug.cgi?id=195159 5 6 Reviewed by Don Olmstead. 7 8 Use COORDINATED_GRAPHICS instead. 9 10 * platform/graphics/GraphicsContext3D.h: 11 * platform/graphics/PlatformLayer.h: 12 * platform/graphics/cairo/ImageBufferCairo.cpp: 13 (WebCore::ImageBufferData::ImageBufferData): 14 (WebCore::ImageBufferData::~ImageBufferData): 15 * platform/graphics/cairo/ImageBufferDataCairo.h: 16 * platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp: 17 * platform/graphics/nicosia/NicosiaPaintingEngineThreaded.h: 18 * platform/graphics/nicosia/texmap/NicosiaGC3DLayer.cpp: 19 (Nicosia::GC3DLayer::swapBuffersIfNeeded): 20 * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: 21 (WebCore::GraphicsContext3D::reshapeFBOs): 22 * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: 23 (WebCore::GraphicsContext3D::prepareTexture): 24 * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: 25 (WebCore::GraphicsContext3D::reshapeFBOs): 26 * platform/graphics/texmap/GraphicsContext3DTextureMapper.cpp: 27 (WebCore::GraphicsContext3D::GraphicsContext3D): 28 (WebCore::GraphicsContext3D::~GraphicsContext3D): 29 * platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp: 30 (WebCore::TextureMapperGC3DPlatformLayer::TextureMapperGC3DPlatformLayer): 31 (WebCore::TextureMapperGC3DPlatformLayer::~TextureMapperGC3DPlatformLayer): 32 * platform/graphics/texmap/TextureMapperGC3DPlatformLayer.h: 33 * platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp: 34 * platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h: 35 * platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp: 36 * platform/graphics/texmap/TextureMapperPlatformLayerProxy.h: 37 * platform/graphics/texmap/TextureMapperPlatformLayerProxyProvider.h: 38 * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: 39 (WebCore::CoordinatedGraphicsLayer::setContentsNeedsDisplay): 40 (WebCore::CoordinatedGraphicsLayer::setContentsToPlatformLayer): 41 (WebCore::CoordinatedGraphicsLayer::updatePlatformLayer): 42 * rendering/RenderLayerBacking.cpp: 43 (WebCore::RenderLayerBacking::paintsIntoWindow const): 44 * rendering/RenderLayerCompositor.cpp: 45 (WebCore::RenderLayerCompositor::shouldCompositeOverflowControls const): 46 1 47 2019-03-27 Philippe Normand <pnormand@igalia.com> 2 48 -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/GraphicsContext3D.h
r239427 r243981 1437 1437 GC3Duint m_texture { 0 }; 1438 1438 GC3Duint m_fbo { 0 }; 1439 #if USE(COORDINATED_GRAPHICS _THREADED)1439 #if USE(COORDINATED_GRAPHICS) 1440 1440 GC3Duint m_compositorTexture { 0 }; 1441 1441 GC3Duint m_intermediateTexture { 0 }; -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/PlatformLayer.h
r234688 r243981 36 36 } 37 37 typedef Nicosia::PlatformLayer PlatformLayer; 38 #elif USE(COORDINATED_GRAPHICS _THREADED)38 #elif USE(COORDINATED_GRAPHICS) 39 39 namespace WebCore { 40 40 class TextureMapperPlatformLayerProxyProvider; -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp
r239549 r243981 70 70 #endif 71 71 72 #if USE(COORDINATED_GRAPHICS _THREADED)72 #if USE(COORDINATED_GRAPHICS) 73 73 #include "TextureMapperPlatformLayerBuffer.h" 74 74 #include "TextureMapperPlatformLayerProxy.h" … … 84 84 , m_renderingMode(renderingMode) 85 85 #if ENABLE(ACCELERATED_2D_CANVAS) 86 #if USE(COORDINATED_GRAPHICS _THREADED)86 #if USE(COORDINATED_GRAPHICS) 87 87 , m_compositorTexture(0) 88 88 #endif … … 90 90 #endif 91 91 { 92 #if ENABLE(ACCELERATED_2D_CANVAS) && USE(COORDINATED_GRAPHICS _THREADED)92 #if ENABLE(ACCELERATED_2D_CANVAS) && USE(COORDINATED_GRAPHICS) 93 93 if (m_renderingMode == RenderingMode::Accelerated) { 94 94 #if USE(NICOSIA) … … 107 107 108 108 #if ENABLE(ACCELERATED_2D_CANVAS) 109 #if USE(COORDINATED_GRAPHICS _THREADED) && USE(NICOSIA)109 #if USE(COORDINATED_GRAPHICS) && USE(NICOSIA) 110 110 downcast<Nicosia::ContentLayerTextureMapperImpl>(m_nicosiaLayer->impl()).invalidateClient(); 111 111 #endif … … 117 117 glDeleteTextures(1, &m_texture); 118 118 119 #if USE(COORDINATED_GRAPHICS _THREADED)119 #if USE(COORDINATED_GRAPHICS) 120 120 if (m_compositorTexture) 121 121 glDeleteTextures(1, &m_compositorTexture); … … 128 128 129 129 #if ENABLE(ACCELERATED_2D_CANVAS) 130 #if USE(COORDINATED_GRAPHICS _THREADED)130 #if USE(COORDINATED_GRAPHICS) 131 131 void ImageBufferData::createCompositorBuffer() 132 132 { … … 675 675 #endif 676 676 677 #if ENABLE(ACCELERATED_2D_CANVAS) && !USE(COORDINATED_GRAPHICS _THREADED)677 #if ENABLE(ACCELERATED_2D_CANVAS) && !USE(COORDINATED_GRAPHICS) 678 678 void ImageBufferData::paintToTextureMapper(TextureMapper& textureMapper, const FloatRect& targetRect, const TransformationMatrix& matrix, float opacity) 679 679 { -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/cairo/ImageBufferDataCairo.h
r234688 r243981 70 70 void createCairoGLSurface(); 71 71 72 #if USE(COORDINATED_GRAPHICS _THREADED)72 #if USE(COORDINATED_GRAPHICS) 73 73 #if USE(NICOSIA) 74 74 void swapBuffersIfNeeded() override; -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp
r233122 r243981 30 30 #include "NicosiaPaintingEngineThreaded.h" 31 31 32 #if USE(COORDINATED_GRAPHICS _THREADED)32 #if USE(COORDINATED_GRAPHICS) 33 33 34 34 #include "GraphicsContext.h" … … 90 90 } // namespace Nicosia 91 91 92 #endif // USE(COORDINATED_GRAPHICS _THREADED)92 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngineThreaded.h
r232958 r243981 29 29 #pragma once 30 30 31 #if USE(COORDINATED_GRAPHICS _THREADED)31 #if USE(COORDINATED_GRAPHICS) 32 32 33 33 #include "NicosiaPaintingEngine.h" … … 49 49 } // namespace Nicosia 50 50 51 #endif // USE(COORDINATED_GRAPHICS _THREADED)51 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGC3DLayer.cpp
r234688 r243981 32 32 #if USE(NICOSIA) && USE(TEXTURE_MAPPER) 33 33 34 #if USE(COORDINATED_GRAPHICS _THREADED)34 #if USE(COORDINATED_GRAPHICS) 35 35 #include "TextureMapperGL.h" 36 36 #include "TextureMapperPlatformLayerBuffer.h" … … 77 77 void GC3DLayer::swapBuffersIfNeeded() 78 78 { 79 #if USE(COORDINATED_GRAPHICS _THREADED)79 #if USE(COORDINATED_GRAPHICS) 80 80 if (m_context.layerComposited()) 81 81 return; -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
r237266 r243981 197 197 ::glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D, m_texture, 0); 198 198 199 #if USE(COORDINATED_GRAPHICS _THREADED)199 #if USE(COORDINATED_GRAPHICS) 200 200 if (m_compositorTexture) { 201 201 ::glBindTexture(GL_TEXTURE_2D, m_compositorTexture); -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
r241256 r243981 227 227 makeContextCurrent(); 228 228 229 #if !USE(COORDINATED_GRAPHICS _THREADED)229 #if !USE(COORDINATED_GRAPHICS) 230 230 TemporaryOpenGLSetting scopedScissor(GL_SCISSOR_TEST, GL_FALSE); 231 231 TemporaryOpenGLSetting scopedDither(GL_DITHER, GL_FALSE); … … 235 235 resolveMultisamplingIfNecessary(); 236 236 237 #if USE(COORDINATED_GRAPHICS _THREADED)237 #if USE(COORDINATED_GRAPHICS) 238 238 std::swap(m_texture, m_compositorTexture); 239 239 std::swap(m_texture, m_intermediateTexture); -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp
r237266 r243981 111 111 ::glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_texture, 0); 112 112 113 #if USE(COORDINATED_GRAPHICS _THREADED)113 #if USE(COORDINATED_GRAPHICS) 114 114 if (m_compositorTexture) { 115 115 ::glBindTexture(GL_TEXTURE_2D, m_compositorTexture); -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/GraphicsContext3DTextureMapper.cpp
r234710 r243981 134 134 ::glBindFramebuffer(GL_FRAMEBUFFER, m_fbo); 135 135 136 #if USE(COORDINATED_GRAPHICS _THREADED)136 #if USE(COORDINATED_GRAPHICS) 137 137 ::glGenTextures(1, &m_compositorTexture); 138 138 ::glBindTexture(GL_TEXTURE_2D, m_compositorTexture); … … 236 236 if (m_texture) 237 237 ::glDeleteTextures(1, &m_texture); 238 #if USE(COORDINATED_GRAPHICS _THREADED)238 #if USE(COORDINATED_GRAPHICS) 239 239 if (m_compositorTexture) 240 240 ::glDeleteTextures(1, &m_compositorTexture); … … 258 258 } 259 259 ::glDeleteFramebuffers(1, &m_fbo); 260 #if USE(COORDINATED_GRAPHICS _THREADED)260 #if USE(COORDINATED_GRAPHICS) 261 261 ::glDeleteTextures(1, &m_intermediateTexture); 262 262 #endif -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp
r234688 r243981 43 43 } 44 44 45 #if USE(COORDINATED_GRAPHICS _THREADED)45 #if USE(COORDINATED_GRAPHICS) 46 46 m_platformLayerProxy = adoptRef(new TextureMapperPlatformLayerProxy()); 47 47 #endif … … 50 50 TextureMapperGC3DPlatformLayer::~TextureMapperGC3DPlatformLayer() 51 51 { 52 #if !USE(COORDINATED_GRAPHICS _THREADED)52 #if !USE(COORDINATED_GRAPHICS) 53 53 if (client()) 54 54 client()->platformLayerWillBeDestroyed(); … … 68 68 } 69 69 70 #if USE(COORDINATED_GRAPHICS _THREADED)70 #if USE(COORDINATED_GRAPHICS) 71 71 RefPtr<TextureMapperPlatformLayerProxy> TextureMapperGC3DPlatformLayer::proxy() const 72 72 { … … 116 116 #endif // USE(TEXTURE_MAPPER_GL) 117 117 } 118 #endif // USE(COORDINATED_GRAPHICS _THREADED)118 #endif // USE(COORDINATED_GRAPHICS) 119 119 120 120 } // namespace WebCore -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.h
r234688 r243981 40 40 PlatformGraphicsContext3D platformContext(); 41 41 42 #if USE(COORDINATED_GRAPHICS _THREADED)42 #if USE(COORDINATED_GRAPHICS) 43 43 RefPtr<TextureMapperPlatformLayerProxy> proxy() const override; 44 44 void swapBuffersIfNeeded() override; … … 51 51 std::unique_ptr<GLContext> m_glContext; 52 52 53 #if USE(COORDINATED_GRAPHICS _THREADED)53 #if USE(COORDINATED_GRAPHICS) 54 54 RefPtr<TextureMapperPlatformLayerProxy> m_platformLayerProxy; 55 55 #endif -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp
r242450 r243981 27 27 #include "TextureMapperPlatformLayerBuffer.h" 28 28 29 #if USE(COORDINATED_GRAPHICS _THREADED)29 #if USE(COORDINATED_GRAPHICS) 30 30 31 31 #include "FloatRect.h" … … 93 93 } // namespace WebCore 94 94 95 #endif // USE(COORDINATED_GRAPHICS _THREADED)95 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h
r241120 r243981 26 26 #pragma once 27 27 28 #if USE(COORDINATED_GRAPHICS _THREADED)28 #if USE(COORDINATED_GRAPHICS) 29 29 30 30 #include "BitmapTextureGL.h" … … 89 89 } // namespace WebCore 90 90 91 #endif // USE(COORDINATED_GRAPHICS _THREADED)91 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp
r242877 r243981 27 27 #include "TextureMapperPlatformLayerProxy.h" 28 28 29 #if USE(COORDINATED_GRAPHICS _THREADED)29 #if USE(COORDINATED_GRAPHICS) 30 30 31 31 #include "BitmapTextureGL.h" … … 267 267 } // namespace WebCore 268 268 269 #endif // USE(COORDINATED_GRAPHICS _THREADED)269 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxy.h
r242877 r243981 24 24 */ 25 25 26 #ifndef TextureMapperPlatformLayerProxy_h 27 #define TextureMapperPlatformLayerProxy_h 26 #pragma once 28 27 29 #if USE(COORDINATED_GRAPHICS _THREADED)28 #if USE(COORDINATED_GRAPHICS) 30 29 31 30 #include "TextureMapperGLHeaders.h" … … 106 105 } // namespace WebCore 107 106 108 #endif // USE(COORDINATED_GRAPHICS_THREADED) 109 110 #endif // TextureMapperPlatformLayerProxy_h 107 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyProvider.h
r220397 r243981 26 26 #pragma once 27 27 28 #if USE(COORDINATED_GRAPHICS _THREADED)28 #if USE(COORDINATED_GRAPHICS) 29 29 30 30 namespace WebCore { … … 40 40 } // namespace WebCore 41 41 42 #endif // USE(COORDINATED_GRAPHICS _THREADED)42 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
r242873 r243981 396 396 void CoordinatedGraphicsLayer::setContentsNeedsDisplay() 397 397 { 398 #if USE(COORDINATED_GRAPHICS _THREADED) && USE(NICOSIA)398 #if USE(COORDINATED_GRAPHICS) && USE(NICOSIA) 399 399 if (m_nicosia.contentLayer) 400 400 m_shouldUpdatePlatformLayer = true; … … 407 407 void CoordinatedGraphicsLayer::setContentsToPlatformLayer(PlatformLayer* platformLayer, ContentsLayerPurpose) 408 408 { 409 #if USE(COORDINATED_GRAPHICS _THREADED) && USE(NICOSIA)409 #if USE(COORDINATED_GRAPHICS) && USE(NICOSIA) 410 410 auto* contentLayer = downcast<Nicosia::ContentLayer>(platformLayer); 411 411 if (m_nicosia.contentLayer != contentLayer) { … … 617 617 618 618 m_shouldUpdatePlatformLayer = false; 619 #if USE(COORDINATED_GRAPHICS _THREADED) && USE(NICOSIA)619 #if USE(COORDINATED_GRAPHICS) && USE(NICOSIA) 620 620 if (m_nicosia.contentLayer) 621 621 downcast<Nicosia::ContentLayerTextureMapperImpl>(m_nicosia.contentLayer->impl()).swapBuffersIfNeeded(); -
releases/WebKitGTK/webkit-2.24/Source/WebCore/rendering/RenderLayerBacking.cpp
r241811 r243981 2402 2402 bool RenderLayerBacking::paintsIntoWindow() const 2403 2403 { 2404 #if USE(COORDINATED_GRAPHICS _THREADED)2404 #if USE(COORDINATED_GRAPHICS) 2405 2405 return false; 2406 2406 #endif -
releases/WebKitGTK/webkit-2.24/Source/WebCore/rendering/RenderLayerCompositor.cpp
r242490 r243981 3063 3063 return true; 3064 3064 3065 #if !USE(COORDINATED_GRAPHICS _THREADED)3065 #if !USE(COORDINATED_GRAPHICS) 3066 3066 if (!frameView.hasOverlayScrollbars()) 3067 3067 return false; -
releases/WebKitGTK/webkit-2.24/Source/WebKit/ChangeLog
r243980 r243981 1 2019-02-28 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [CoordinatedGraphics] Remove COORDINATED_GRAPHICS_THREADED option 4 https://bugs.webkit.org/show_bug.cgi?id=195159 5 6 Reviewed by Don Olmstead. 7 8 Use COORDINATED_GRAPHICS instead. 9 10 * Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp: 11 (WebKit::CoordinatedGraphicsScene::onNewBufferAvailable): 12 * Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h: 13 * Shared/CoordinatedGraphics/SimpleViewportController.cpp: 14 * Shared/CoordinatedGraphics/SimpleViewportController.h: 15 * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: 16 * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: 17 * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: 18 * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: 19 * Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.cpp: 20 * Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.h: 21 * WebProcess/WebPage/AcceleratedDrawingArea.cpp: 22 (WebKit::AcceleratedDrawingArea::mainFrameContentSizeChanged): 23 (WebKit::AcceleratedDrawingArea::enterAcceleratedCompositingMode): 24 * WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp: 25 * WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h: 26 * WebProcess/WebPage/DrawingAreaImpl.cpp: 27 (WebKit::DrawingAreaImpl::updatePreferences): 28 * WebProcess/WebPage/WebPage.cpp: 29 (WebKit::WebPage::sendViewportAttributesChanged): 30 (WebKit::WebPage::viewportPropertiesDidChange): 31 * WebProcess/gtk/WebProcessMainGtk.cpp: 32 1 33 2019-02-28 Carlos Garcia Campos <cgarcia@igalia.com> 2 34 -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
r242461 r243981 97 97 } 98 98 99 #if USE(COORDINATED_GRAPHICS_THREADED)100 99 void CoordinatedGraphicsScene::onNewBufferAvailable() 101 100 { 102 101 updateViewport(); 103 102 } 104 #endif105 103 106 104 Nicosia::CompositionLayerTextureMapperImpl& compositionLayerImpl(Nicosia::CompositionLayer& compositionLayer) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h
r242461 r243981 19 19 */ 20 20 21 #ifndef CoordinatedGraphicsScene_h 22 #define CoordinatedGraphicsScene_h 21 #pragma once 23 22 24 23 #if USE(COORDINATED_GRAPHICS) … … 34 33 #include <WebCore/TextureMapperFPSCounter.h> 35 34 #include <WebCore/TextureMapperLayer.h> 35 #include <WebCore/TextureMapperPlatformLayerProxy.h> 36 36 #include <WebCore/Timer.h> 37 37 #include <wtf/Function.h> … … 41 41 #include <wtf/ThreadingPrimitives.h> 42 42 #include <wtf/Vector.h> 43 44 #if USE(COORDINATED_GRAPHICS_THREADED)45 #include <WebCore/TextureMapperPlatformLayerProxy.h>46 #endif47 43 48 44 namespace Nicosia { … … 63 59 }; 64 60 65 class CoordinatedGraphicsScene : public ThreadSafeRefCounted<CoordinatedGraphicsScene> 66 #if USE(COORDINATED_GRAPHICS_THREADED) 67 , public WebCore::TextureMapperPlatformLayerProxy::Compositor 68 #endif 69 { 61 class CoordinatedGraphicsScene : public ThreadSafeRefCounted<CoordinatedGraphicsScene>, public WebCore::TextureMapperPlatformLayerProxy::Compositor { 70 62 public: 71 63 explicit CoordinatedGraphicsScene(CoordinatedGraphicsSceneClient*); … … 93 85 void ensureRootLayer(); 94 86 95 #if USE(COORDINATED_GRAPHICS_THREADED)96 87 void onNewBufferAvailable() override; 97 #endif98 88 99 89 struct { … … 119 109 #endif // USE(COORDINATED_GRAPHICS) 120 110 121 #endif // CoordinatedGraphicsScene_h122 111 123 -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.cpp
r228373 r243981 23 23 #include "SimpleViewportController.h" 24 24 25 #if USE(COORDINATED_GRAPHICS _THREADED)25 #if USE(COORDINATED_GRAPHICS) 26 26 27 27 namespace WebKit { … … 169 169 } // namespace WebCore 170 170 171 #endif // USE(COORDINATED_GRAPHICS _THREADED)171 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.h
r211350 r243981 20 20 */ 21 21 22 #ifndef SimpleViewportController_h 23 #define SimpleViewportController_h 22 #pragma once 24 23 25 #if USE(COORDINATED_GRAPHICS _THREADED)24 #if USE(COORDINATED_GRAPHICS) 26 25 27 26 #include <WebCore/FloatPoint.h> … … 77 76 } // namespace WebKit 78 77 79 #endif // USE(COORDINATED_GRAPHICS_THREADED) 80 81 #endif // SimpleViewportController_h 78 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp
r243979 r243981 27 27 #include "CompositingRunLoop.h" 28 28 29 #if USE(COORDINATED_GRAPHICS _THREADED)29 #if USE(COORDINATED_GRAPHICS) 30 30 31 31 #include <wtf/HashMap.h> … … 213 213 } // namespace WebKit 214 214 215 #endif // USE(COORDINATED_GRAPHICS _THREADED)215 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h
r243979 r243981 24 24 */ 25 25 26 #ifndef CompositingRunLoop_h 27 #define CompositingRunLoop_h 26 #pragma once 28 27 29 #if USE(COORDINATED_GRAPHICS _THREADED)28 #if USE(COORDINATED_GRAPHICS) 30 29 31 30 #include <wtf/Atomics.h> … … 88 87 } // namespace WebKit 89 88 90 #endif // USE(COORDINATED_GRAPHICS_THREADED) 91 92 #endif // CompositingRunLoop_h 89 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
r242461 r243981 27 27 #include "ThreadedCompositor.h" 28 28 29 #if USE(COORDINATED_GRAPHICS _THREADED)29 #if USE(COORDINATED_GRAPHICS) 30 30 31 31 #include "CompositingRunLoop.h" … … 332 332 333 333 } 334 #endif // USE(COORDINATED_GRAPHICS _THREADED)334 #endif // USE(COORDINATED_GRAPHICS) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h
r242461 r243981 26 26 #pragma once 27 27 28 #if USE(COORDINATED_GRAPHICS _THREADED)28 #if USE(COORDINATED_GRAPHICS) 29 29 30 30 #include "CompositingRunLoop.h" … … 126 126 } // namespace WebKit 127 127 128 #endif // USE(COORDINATED_GRAPHICS _THREADED)128 #endif // USE(COORDINATED_GRAPHICS) 129 129 -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.cpp
r235111 r243981 27 27 #include "ThreadedDisplayRefreshMonitor.h" 28 28 29 #if USE(COORDINATED_GRAPHICS _THREADED) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)29 #if USE(COORDINATED_GRAPHICS) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 30 30 31 31 #include "CompositingRunLoop.h" … … 118 118 } // namespace WebKit 119 119 120 #endif // USE(COORDINATED_GRAPHICS _THREADED) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)120 #endif // USE(COORDINATED_GRAPHICS) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.h
r243980 r243981 28 28 #include <WebCore/DisplayRefreshMonitor.h> 29 29 30 #if USE(COORDINATED_GRAPHICS _THREADED) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)30 #if USE(COORDINATED_GRAPHICS) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 31 31 #include <wtf/RunLoop.h> 32 32 … … 65 65 } // namespace WebKit 66 66 67 #endif // USE(COORDINATED_GRAPHICS _THREADED) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)67 #endif // USE(COORDINATED_GRAPHICS) && USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) -
releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/WebPage/AcceleratedDrawingArea.cpp
r243980 r243981 136 136 void AcceleratedDrawingArea::mainFrameContentSizeChanged(const IntSize& size) 137 137 { 138 #if USE(COORDINATED_GRAPHICS _THREADED)138 #if USE(COORDINATED_GRAPHICS) 139 139 if (m_layerTreeHost) 140 140 m_layerTreeHost->contentsSizeChanged(size); … … 333 333 m_layerTreeHost->setLayerFlushSchedulingEnabled(true); 334 334 } else { 335 #if USE(COORDINATED_GRAPHICS _THREADED)335 #if USE(COORDINATED_GRAPHICS) 336 336 m_layerTreeHost = std::make_unique<LayerTreeHost>(m_webPage); 337 337 #else … … 411 411 #endif 412 412 413 #if USE(COORDINATED_GRAPHICS _THREADED)413 #if USE(COORDINATED_GRAPHICS) 414 414 void AcceleratedDrawingArea::didChangeViewportAttributes(ViewportAttributes&& attrs) 415 415 { -
releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
r243980 r243981 30 30 #include "LayerTreeHost.h" 31 31 32 #if USE(COORDINATED_GRAPHICS _THREADED)32 #if USE(COORDINATED_GRAPHICS) 33 33 34 34 #include "DrawingArea.h" -
releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
r243980 r243981 54 54 55 55 class LayerTreeHost 56 #if USE(COORDINATED_GRAPHICS _THREADED)56 #if USE(COORDINATED_GRAPHICS) 57 57 final : public CompositingCoordinator::Client, public AcceleratedSurface::Client 58 58 #endif … … 99 99 100 100 private: 101 #if USE(COORDINATED_GRAPHICS _THREADED)101 #if USE(COORDINATED_GRAPHICS) 102 102 void layerFlushTimerFired(); 103 103 void didChangeViewport(); … … 172 172 UpdateScale = 1 << 3 173 173 }; 174 #endif // USE(COORDINATED_GRAPHICS _THREADED)174 #endif // USE(COORDINATED_GRAPHICS) 175 175 176 176 WebPage& m_webPage; 177 177 LayerTreeContext m_layerTreeContext; 178 #if USE(COORDINATED_GRAPHICS _THREADED)178 #if USE(COORDINATED_GRAPHICS) 179 179 bool m_layerFlushSchedulingEnabled { true }; 180 180 bool m_notifyAfterScheduledLayerFlush { false }; … … 198 198 } m_forceRepaintAsync; 199 199 RunLoop::Timer<LayerTreeHost> m_layerFlushTimer; 200 #endif // USE(COORDINATED_GRAPHICS _THREADED)200 #endif // USE(COORDINATED_GRAPHICS) 201 201 }; 202 202 203 #if !USE(COORDINATED_GRAPHICS _THREADED)203 #if !USE(COORDINATED_GRAPHICS) 204 204 inline LayerTreeHost::LayerTreeHost(WebPage& webPage) : m_webPage(webPage) { } 205 205 inline LayerTreeHost::~LayerTreeHost() { } -
releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/WebPage/DrawingAreaImpl.cpp
r243980 r243981 172 172 settings.setForceCompositingMode(store.getBoolValueForKey(WebPreferencesKey::forceCompositingModeKey())); 173 173 174 #if USE(COORDINATED_GRAPHICS _THREADED)174 #if USE(COORDINATED_GRAPHICS) 175 175 // Fixed position elements need to be composited and create stacking contexts 176 176 // in order to be scrolled by the ScrollingCoordinator. -
releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/WebPage/WebPage.cpp
r242867 r243981 1607 1607 setFixedLayoutSize(roundedIntSize(attr.layoutSize)); 1608 1608 1609 #if USE(COORDINATED_GRAPHICS _THREADED)1609 #if USE(COORDINATED_GRAPHICS) 1610 1610 m_drawingArea->didChangeViewportAttributes(WTFMove(attr)); 1611 1611 #else … … 2001 2001 if (view && view->useFixedLayout()) 2002 2002 sendViewportAttributesChanged(viewportArguments); 2003 #if USE(COORDINATED_GRAPHICS_THREADED)2004 2003 else 2005 2004 m_drawingArea->didChangeViewportAttributes(ViewportAttributes()); 2006 #endif2007 2005 #endif 2008 2006 -
releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp
r240683 r243981 51 51 #endif 52 52 53 #if (USE(COORDINATED_GRAPHICS _THREADED) || USE(GSTREAMER_GL)) && PLATFORM(X11)53 #if (USE(COORDINATED_GRAPHICS) || USE(GSTREAMER_GL)) && PLATFORM(X11) 54 54 XInitThreads(); 55 55 #endif -
releases/WebKitGTK/webkit-2.24/Source/cmake/OptionsGTK.cmake
r242878 r243981 285 285 286 286 SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS TRUE) 287 SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS_THREADED TRUE)288 287 SET_AND_EXPOSE_TO_BUILD(USE_NICOSIA TRUE) 289 288 endif () -
releases/WebKitGTK/webkit-2.24/Source/cmake/OptionsPlayStation.cmake
r238913 r243981 114 114 SET_AND_EXPOSE_TO_BUILD(ENABLE_GRAPHICS_CONTEXT_3D ON) 115 115 SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS ON) 116 SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS_THREADED ON)117 116 SET_AND_EXPOSE_TO_BUILD(USE_EGL ON) 118 117 SET_AND_EXPOSE_TO_BUILD(USE_NICOSIA TRUE) -
releases/WebKitGTK/webkit-2.24/Source/cmake/OptionsWPE.cmake
r243535 r243981 166 166 SET_AND_EXPOSE_TO_BUILD(USE_TILED_BACKING_STORE TRUE) 167 167 SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS TRUE) 168 SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS_THREADED TRUE)169 168 SET_AND_EXPOSE_TO_BUILD(USE_NICOSIA TRUE) 170 169
Note:
See TracChangeset
for help on using the changeset viewer.