Changeset 203505 in webkit
- Timestamp:
- Jul 21, 2016, 9:05:16 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
platform/gtk/ScrollbarThemeGtk.cpp (modified) (1 diff)
-
rendering/RenderLayerCompositor.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r203503 r203505 1 2016-07-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK][Threaded Compositor] Overlay scrollbars shouldn't be a requirement of the threaded compositor 4 https://bugs.webkit.org/show_bug.cgi?id=160020 5 6 Reviewed by Michael Catanzaro. 7 8 It has been a requirement only because we didn't really know why frame scrollbars were not rendered when using 9 the threaded compositor. The reason is that RenderView doesn't use layers for FrameView scrollbars by default, 10 unless using overlay scrollbars. When using the threaded compositor we really need layers for the FrameView 11 scrollbars even when not using overlay scrollbars. 12 13 * platform/gtk/ScrollbarThemeGtk.cpp: 14 (WebCore::ScrollbarThemeGtk::ScrollbarThemeGtk): Stop enforcing overlay scrollbars when threaded compositor is enabled. 15 * rendering/RenderLayerCompositor.cpp: 16 (WebCore::RenderLayerCompositor::shouldCompositeOverflowControls): Always use layers for scrollbars when 17 threaded compositor is enabled. 18 1 19 2016-07-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 20 -
trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp
r200173 r203505 58 58 { 59 59 #if GTK_CHECK_VERSION(3, 20, 0) 60 #if USE(COORDINATED_GRAPHICS_THREADED)61 m_usesOverlayScrollbars = true;62 #else63 60 m_usesOverlayScrollbars = g_strcmp0(g_getenv("GTK_OVERLAY_SCROLLING"), "0"); 64 #endif65 61 #endif 66 62 static bool themeMonitorInitialized = false; -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r203250 r203505 3010 3010 return true; 3011 3011 3012 #if !USE(COORDINATED_GRAPHICS_THREADED) 3012 3013 if (!frameView.hasOverlayScrollbars()) 3013 3014 return false; 3015 #endif 3014 3016 3015 3017 return true;
Note:
See TracChangeset
for help on using the changeset viewer.