diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-29 12:18:48 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-29 12:18:57 +0100 |
commit | 4c01d0526ba4dd8cff0c0ff22a6f0ab5eb973064 (patch) | |
tree | bed2fe914fe0f7ec70abfb47d2d84af8a3604d09 /Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h | |
parent | 01485457c9a5da3f1121015afd25bb53af77662e (diff) | |
download | qtwebkit-4c01d0526ba4dd8cff0c0ff22a6f0ab5eb973064.tar.gz |
Imported WebKit commit c60cfe0fc09efd257aa0111d7b133b02deb8a63e (http://svn.webkit.org/repository/webkit/trunk@136119)
New snapshot that includes the fix for installing the QtWebProcess into libexec
Change-Id: I01344e079cbdac5678c4cba6ffcc05f4597cf0d7
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h')
-rw-r--r-- | Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h b/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h index b081c5e16..6f1056aac 100644 --- a/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h +++ b/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h @@ -41,6 +41,7 @@ namespace WebCore { class CustomFilterProgram; class CustomFilterProgramInfo; +class TextureMapperLayer; } namespace WebKit { @@ -138,14 +139,15 @@ private: void renderNextFrame(); void purgeBackingStores(); - void assignImageBackingToLayer(WebCore::GraphicsLayer*, CoordinatedImageBackingID); void removeReleasedImageBackingsIfNeeded(); void ensureRootLayer(); void ensureLayer(WebLayerID); - void commitTileOperations(); + void commitPendingBackingStoreOperations(); - PassRefPtr<CoordinatedBackingStore> getBackingStore(WebCore::GraphicsLayer*); + CoordinatedBackingStore* getBackingStore(WebCore::GraphicsLayer*); + void prepareContentBackingStore(WebCore::GraphicsLayer*); + void createBackingStoreIfNeeded(WebCore::GraphicsLayer*); void removeBackingStoreIfNeeded(WebCore::GraphicsLayer*); void resetBackingStoreSizeToLayerSize(WebCore::GraphicsLayer*); @@ -163,6 +165,9 @@ private: ImageBackingMap m_imageBackings; Vector<RefPtr<CoordinatedBackingStore> > m_releasedImageBackings; + typedef HashMap<WebCore::TextureMapperLayer*, RefPtr<CoordinatedBackingStore> > BackingStoreMap; + BackingStoreMap m_pendingSyncBackingStores; + HashSet<RefPtr<CoordinatedBackingStore> > m_backingStoresWithPendingBuffers; #if USE(GRAPHICS_SURFACE) |