Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add basic page overlay support to TiledCoreAnimationDrawingArea
https://bugs.webkit.org/show_bug.cgi?id=79716 <rdar://problem/10923079> Reviewed by Sam Weinig. * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h: Make TiledCoreAnimationDrawingArea a GraphicsLayerClient. * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::didInstallPageOverlay): Create the page overlay layer. (WebKit::TiledCoreAnimationDrawingArea::didUninstallPageOverlay): Destroy the page overlay layer. (WebKit::TiledCoreAnimationDrawingArea::setPageOverlayNeedsDisplay): Mark the page overlay layer as needing display. (WebKit::TiledCoreAnimationDrawingArea::notifyAnimationStarted): (WebKit::TiledCoreAnimationDrawingArea::notifySyncRequired): Add empty GraphisLayerClient member function implementations. (WebKit::TiledCoreAnimationDrawingArea::paintContents): Ask the page overlay to paint itself. (WebKit::TiledCoreAnimationDrawingArea::flushLayers): Flush the page overlay layer. (WebKit::TiledCoreAnimationDrawingArea::updateGeometry): Resize the page overlay layer. (WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer): If we have a page overlay layer, add it as a sublayer of the root layer. (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer): Create the page overlay layer and add it as a sublayer of the root layer. (WebKit::TiledCoreAnimationDrawingArea::destroyPageOverlayLayer): Remove the page overlay layer and destroy it. Canonical link: https://commits.webkit.org/96879@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
145 additions
and 2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters