diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebLayerTreeRenderer.h')
-rw-r--r-- | Source/WebKit2/UIProcess/WebLayerTreeRenderer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/WebLayerTreeRenderer.h b/Source/WebKit2/UIProcess/WebLayerTreeRenderer.h index 042c52d06..d66b19d63 100644 --- a/Source/WebKit2/UIProcess/WebLayerTreeRenderer.h +++ b/Source/WebKit2/UIProcess/WebLayerTreeRenderer.h @@ -22,6 +22,7 @@ #if USE(UI_SIDE_COMPOSITING) #include "BackingStore.h" +#include "GraphicsSurface.h" #include "ShareableSurface.h" #include "TextureMapper.h" #include "TextureMapperBackingStore.h" @@ -67,6 +68,7 @@ public: void setContentsSize(const WebCore::FloatSize&); void setVisibleContentsRect(const WebCore::IntRect&, float scale, const WebCore::FloatPoint& accurateVisibleContentsPosition); void didChangeScrollPosition(const WebCore::IntPoint& position); + void syncCanvas(uint32_t id, const WebCore::IntSize& canvasSize, uint32_t graphicsSurfaceToken); void detach(); void appendUpdate(const Function<void()>&); @@ -118,6 +120,10 @@ private: HashMap<int64_t, RefPtr<WebCore::TextureMapperBackingStore> > m_directlyCompositedImages; HashSet<RefPtr<LayerBackingStore> > m_backingStoresWithPendingBuffers; #endif +#if USE(GRAPHICS_SURFACE) + typedef HashMap<WebLayerID, RefPtr<WebCore::TextureMapperSurfaceBackingStore> > SurfaceBackingStoreMap; + SurfaceBackingStoreMap m_surfaceBackingStores; +#endif void scheduleWebViewUpdate(); void synchronizeViewport(); |