diff options
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) |