RESOLVED FIXED 118173
[wk2] TiledCoreAnimationDrawingArea should support scrolling its exposed rect
https://bugs.webkit.org/show_bug.cgi?id=118173
Summary [wk2] TiledCoreAnimationDrawingArea should support scrolling its exposed rect
Tim Horton
Reported 2013-06-28 02:17:32 PDT
Currently we mandate that scrolling must be disabled if we're clipping to the WKView's visible/prepared-content rect, because TCADA doesn't know how to keep the exposed rect offset by the scroll position as it should. But, it can!
Attachments
preliminary (5.04 KB, patch)
2013-06-28 03:11 PDT, Tim Horton
no flags
patch (7.27 KB, patch)
2013-06-28 16:30 PDT, Tim Horton
andersca: review+
Radar WebKit Bug Importer
Comment 1 2013-06-28 02:18:02 PDT
Tim Horton
Comment 2 2013-06-28 03:11:51 PDT
Created attachment 205688 [details] preliminary
Tim Horton
Comment 3 2013-06-28 16:30:19 PDT
Sam Weinig
Comment 4 2013-06-28 16:47:23 PDT
Comment on attachment 205755 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=205755&action=review > Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:441 > + for (PageOverlayLayerMap::iterator it = m_pageOverlayLayers.begin(), end = m_pageOverlayLayers.end(); it != end; ++it) > + if (TiledBacking* tiledBacking = it->value->tiledBacking()) > + tiledBacking->setExposedRect(m_scrolledExposedRect); Braces please.
Tim Horton
Comment 5 2013-06-28 16:57:52 PDT
Comment on attachment 205755 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=205755&action=review >> Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:441 >> + tiledBacking->setExposedRect(m_scrolledExposedRect); > > Braces please. Indeed.
Tim Horton
Comment 6 2013-07-01 14:48:43 PDT
Note You need to log in before you can comment on or make changes to this bug.