Changeset 261264 in webkit
- Timestamp:
- May 6, 2020, 8:40:42 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r261257 r261264 1 2020-05-06 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com> and Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [Win] Implement DisplayRefreshMonitor by using RunLoop::Timer 4 https://bugs.webkit.org/show_bug.cgi?id=211431 5 6 Reviewed by Don Olmstead. 7 8 USE_REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR is turned off only for Windows ports. 9 Turn it on, and add DisplayRefreshMonitorWin. 10 11 I'll remove USE_REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR macro in a follow-up patch. 12 13 * wtf/PlatformUse.h: 14 1 15 2020-05-06 Darin Adler <darin@apple.com> 2 16 -
trunk/Source/WTF/wtf/PlatformUse.h
r261234 r261264 188 188 #endif 189 189 190 #if !PLATFORM(WIN)191 190 #define USE_REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR 1 192 #endif193 191 194 192 #if !defined(USE_ZLIB) -
trunk/Source/WebCore/ChangeLog
r261261 r261264 1 2020-05-06 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com> and Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [Win] Implement DisplayRefreshMonitor by using RunLoop::Timer 4 https://bugs.webkit.org/show_bug.cgi?id=211431 5 6 Reviewed by Don Olmstead. 7 8 * PlatformWin.cmake: 9 * platform/graphics/DisplayRefreshMonitor.cpp: 10 (WebCore::DisplayRefreshMonitor::createDefaultDisplayRefreshMonitor): 11 * platform/graphics/win/DisplayRefreshMonitorWin.cpp: Added. 12 (WebCore::DisplayRefreshMonitorWin::create): 13 (WebCore::DisplayRefreshMonitorWin::DisplayRefreshMonitorWin): 14 (WebCore::DisplayRefreshMonitorWin::requestRefreshCallback): 15 (WebCore::DisplayRefreshMonitorWin::displayLinkFired): 16 * platform/graphics/win/DisplayRefreshMonitorWin.h: Added. 17 1 18 2020-05-06 Zalan Bujtas <zalan@apple.com> 2 19 -
trunk/Source/WebCore/PlatformWin.cmake
r256892 r261264 53 53 platform/graphics/win/ComplexTextControllerUniscribe.cpp 54 54 platform/graphics/win/DIBPixelData.cpp 55 platform/graphics/win/DisplayRefreshMonitorWin.cpp 55 56 platform/graphics/win/FloatPointDirect2D.cpp 56 57 platform/graphics/win/FloatRectDirect2D.cpp -
trunk/Source/WebCore/platform/graphics/DisplayRefreshMonitor.cpp
r260752 r261264 39 39 #elif PLATFORM(GTK) 40 40 #include "DisplayRefreshMonitorGtk.h" 41 #elif PLATFORM(WIN) 42 #include "DisplayRefreshMonitorWin.h" 41 43 #endif 42 44 … … 53 55 #if PLATFORM(GTK) && !USE(GTK4) 54 56 return DisplayRefreshMonitorGtk::create(displayID); 57 #endif 58 #if PLATFORM(WIN) 59 return DisplayRefreshMonitorWin::create(displayID); 55 60 #endif 56 61 UNUSED_PARAM(displayID);
Note:
See TracChangeset
for help on using the changeset viewer.