Changeset 232590 in webkit
- Timestamp:
- Jun 7, 2018 11:36:47 AM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r232589 r232590 1 2018-06-07 Don Olmstead <don.olmstead@sony.com> 2 3 [CoordGraphics] Fix compilation errors around USE(COORDINATED_GRAPHICS) 4 https://bugs.webkit.org/show_bug.cgi?id=186374 5 6 Reviewed by Žan Doberšek. 7 8 No new tests. No change in behavior. 9 10 * page/scrolling/AsyncScrollingCoordinator.cpp: 11 (WebCore::AsyncScrollingCoordinator::reconcileScrollingState): 12 (WebCore::AsyncScrollingCoordinator::reconcileViewportConstrainedLayerPositions): 13 * page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp: 14 * page/scrolling/coordinatedgraphics/ScrollingTreeFixedNode.cpp: 15 * page/scrolling/coordinatedgraphics/ScrollingTreeStickyNode.cpp: 16 * platform/PlatformWheelEvent.h: 17 * platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp: 18 * platform/graphics/nicosia/NicosiaPaintingEngineThreaded.h: 19 * platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp: 20 * platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h: 21 1 22 2018-06-07 Thibault Saunier <tsaunier@igalia.com> and Alejandro G. Castro <alex@igalia.com> 2 23 -
trunk/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp
r231043 r232590 47 47 #include "Settings.h" 48 48 #include "WheelEventTestTrigger.h" 49 #include <wtf/ProcessID.h> 49 50 #include <wtf/text/TextStream.h> 50 51 … … 370 371 frameView.setInProgrammaticScroll(programmaticScroll); 371 372 372 LOG_WITH_STREAM(Scrolling, stream << get pid() << " AsyncScrollingCoordinator " << this << " reconcileScrollingState scrollPosition " << scrollPosition << " programmaticScroll " << programmaticScroll << " stability " << viewportRectStability << " " << scrollingLayerPositionAction);373 LOG_WITH_STREAM(Scrolling, stream << getCurrentProcessID() << " AsyncScrollingCoordinator " << this << " reconcileScrollingState scrollPosition " << scrollPosition << " programmaticScroll " << programmaticScroll << " stability " << viewportRectStability << " " << scrollingLayerPositionAction); 373 374 374 375 std::optional<FloatRect> layoutViewportRect; … … 493 494 return; 494 495 495 LOG_WITH_STREAM(Scrolling, stream << get pid() << " AsyncScrollingCoordinator::reconcileViewportConstrainedLayerPositions for viewport rect " << viewportRect);496 LOG_WITH_STREAM(Scrolling, stream << getCurrentProcessID() << " AsyncScrollingCoordinator::reconcileViewportConstrainedLayerPositions for viewport rect " << viewportRect); 496 497 497 498 m_scrollingStateTree->rootStateNode()->reconcileLayerPositionForViewportRect(viewportRect, action); -
trunk/Source/WebCore/page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp
r231043 r232590 29 29 #include "ScrollingCoordinatorCoordinatedGraphics.h" 30 30 31 #if USE(COORDINATED_GRAPHICS)31 #if ENABLE(ASYNC_SCROLLING) && USE(COORDINATED_GRAPHICS) 32 32 33 33 #include "ScrollingThread.h" … … 94 94 } // namespace WebCore 95 95 96 #endif // USE(COORDINATED_GRAPHICS)96 #endif // ENABLE(ASYNC_SCROLLING) && USE(COORDINATED_GRAPHICS) -
trunk/Source/WebCore/page/scrolling/coordinatedgraphics/ScrollingTreeFixedNode.cpp
r231043 r232590 31 31 #if ENABLE(ASYNC_SCROLLING) && USE(COORDINATED_GRAPHICS) 32 32 33 #include "ScrollingTree.h" 34 33 35 namespace WebCore { 34 36 -
trunk/Source/WebCore/page/scrolling/coordinatedgraphics/ScrollingTreeStickyNode.cpp
r231043 r232590 31 31 #if ENABLE(ASYNC_SCROLLING) && USE(COORDINATED_GRAPHICS) 32 32 33 #include "ScrollingTree.h" 34 33 35 namespace WebCore { 34 36 -
trunk/Source/WebCore/platform/PlatformWheelEvent.h
r231043 r232590 49 49 }; 50 50 51 #if PLATFORM(COCOA) || PLATFORM(GTK) || PLATFORM(WPE)51 #if ENABLE(ASYNC_SCROLLING) 52 52 53 53 enum PlatformWheelEventPhase : uint8_t { … … 147 147 #endif 148 148 149 #if PLATFORM(COCOA) || PLATFORM(GTK) || PLATFORM(WPE)149 #if ENABLE(ASYNC_SCROLLING) 150 150 PlatformWheelEventPhase phase() const { return m_phase; } 151 151 PlatformWheelEventPhase momentumPhase() const { return m_momentumPhase; } … … 172 172 FloatSize m_scrollingVelocity; 173 173 174 #if PLATFORM(COCOA) || PLATFORM(GTK) || PLATFORM(WPE)174 #if ENABLE(ASYNC_SCROLLING) 175 175 PlatformWheelEventPhase m_phase { PlatformWheelEventPhaseNone }; 176 176 PlatformWheelEventPhase m_momentumPhase { PlatformWheelEventPhaseNone }; -
trunk/Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp
r229460 r232590 29 29 #include "config.h" 30 30 #include "NicosiaPaintingEngineThreaded.h" 31 32 #if USE(COORDINATED_GRAPHICS_THREADED) 31 33 32 34 #include "GraphicsContext.h" … … 103 105 104 106 } // namespace Nicosia 107 108 #endif // USE(COORDINATED_GRAPHICS_THREADED) -
trunk/Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngineThreaded.h
r229460 r232590 29 29 #pragma once 30 30 31 #if USE(COORDINATED_GRAPHICS_THREADED) 32 31 33 #include "NicosiaPaintingEngine.h" 32 34 … … 47 49 48 50 } // namespace Nicosia 51 52 #endif // USE(COORDINATED_GRAPHICS_THREADED) -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp
r229895 r232590 26 26 #include "config.h" 27 27 #include "TextureMapperPlatformLayerBuffer.h" 28 29 #if USE(COORDINATED_GRAPHICS_THREADED) 28 30 29 31 #include "NotImplemented.h" … … 81 83 82 84 } // namespace WebCore 85 86 #endif // USE(COORDINATED_GRAPHICS_THREADED) -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h
r229857 r232590 26 26 #pragma once 27 27 28 #if USE(COORDINATED_GRAPHICS_THREADED) 29 28 30 #include "BitmapTextureGL.h" 29 31 #include "TextureMapperGLHeaders.h" 30 32 #include "TextureMapperPlatformLayer.h" 31 33 #include <wtf/MonotonicTime.h> 32 33 #if USE(COORDINATED_GRAPHICS_THREADED)34 34 35 35 namespace WebCore { … … 81 81 } // namespace WebCore 82 82 83 #endif // COORDINATED_GRAPHICS_THREADED83 #endif // USE(COORDINATED_GRAPHICS_THREADED) -
trunk/Source/WebKit/ChangeLog
r232585 r232590 1 2018-06-07 Don Olmstead <don.olmstead@sony.com> 2 3 [CoordGraphics] Fix compilation errors around USE(COORDINATED_GRAPHICS) 4 https://bugs.webkit.org/show_bug.cgi?id=186374 5 6 Reviewed by Žan Doberšek. 7 8 * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: 9 (WebKit::ThreadedCompositor::sceneUpdateFinished): 10 1 11 2018-06-07 Brent Fulgham <bfulgham@apple.com> 2 12 -
trunk/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
r231132 r232590 268 268 LockHolder locker(m_attributes.lock); 269 269 shouldDispatchDisplayRefreshCallback = m_attributes.clientRendersNextFrame 270 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 270 271 || m_displayRefreshMonitor->requiresDisplayRefreshCallback(); 272 #else 273 ; 274 #endif 271 275 shouldCoordinateUpdateCompletionWithClient = m_attributes.coordinateUpdateCompletionWithClient; 272 276 } … … 274 278 LockHolder stateLocker(m_compositingRunLoop->stateLock()); 275 279 280 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 276 281 // Schedule the DisplayRefreshMonitor callback, if necessary. 277 282 if (shouldDispatchDisplayRefreshCallback) 278 283 m_displayRefreshMonitor->dispatchDisplayRefreshCallback(); 284 #endif 279 285 280 286 // Mark the scene update as completed if no coordination is required and if not in a forced repaint.
Note: See TracChangeset
for help on using the changeset viewer.