Changeset 264015 in webkit
- Timestamp:
- Jul 7, 2020, 6:56:37 AM (6 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
wtf/glib/RunLoopSourcePriority.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r263981 r264015 1 2020-07-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] WebProcess hangs when browsing GitHub 4 https://bugs.webkit.org/show_bug.cgi?id=213970 5 6 Reviewed by Sergio Villar Senin. 7 8 Use a lower priority for LayerFlushTimer and DisplayRefreshMonitorTimer. We were using a very high priority for 9 drawing with the idea of keeping a good rendering performance without being affected by other timers. The 10 problem is that animations can be controlled by timers, so we need to ensure that MainThreadSharedTimer has 11 higher priority than drawing. 12 13 * wtf/glib/RunLoopSourcePriority.h: Use 110 for LayerFlushTimer and DisplayRefreshMonitorTimer. 14 1 15 2020-07-06 Geoffrey Garen <ggaren@apple.com> 2 16 -
trunk/Source/WTF/wtf/glib/RunLoopSourcePriority.h
r263723 r264015 36 36 // We don't use those macros here to avoid having to include glib header only 37 37 // for this. But we should take into account that GLib uses G_PRIORITY_DEFAULT 38 // for timeout source aand G_PRIORITY_DEFAULT_IDLE for idle sources.38 // for timeout sources and G_PRIORITY_DEFAULT_IDLE for idle sources. 39 39 // Changes in these priorities can have a huge impact in performance, and in 40 40 // the correctness too, so be careful when changing them. … … 62 62 63 63 // Layer flush. 64 LayerFlushTimer = -100,64 LayerFlushTimer = 110, 65 65 66 66 // DisplayRefreshMonitor timer, should have the same value as the LayerFlushTimer. 67 DisplayRefreshMonitorTimer = -100,67 DisplayRefreshMonitorTimer = 110, 68 68 69 69 // Rendering timer in the main thread when accelerated compositing is not used.
Note:
See TracChangeset
for help on using the changeset viewer.