diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h')
-rw-r--r-- | Source/WebCore/platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h b/Source/WebCore/platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h index 153dd2c3c..4e162295b 100644 --- a/Source/WebCore/platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h +++ b/Source/WebCore/platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h @@ -60,9 +60,11 @@ public: virtual PassOwnPtr<LayerTextureUpdater::Texture> createTexture(TextureManager*); virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat); - virtual void prepareToUpdate(const IntRect& contentRect, const IntSize& tileSize, int borderTexels, float contentsScale); + virtual void prepareToUpdate(const IntRect& contentRect, const IntSize& tileSize, int borderTexels, float contentsScale, IntRect* resultingOpaqueRect); void updateTextureRect(GraphicsContext3D*, TextureAllocator*, ManagedTexture*, const IntRect& sourceRect, const IntRect& destRect); + virtual void setOpaque(bool); + private: BitmapCanvasLayerTextureUpdater(PassOwnPtr<LayerPainterChromium>, bool useMapTexSubImage); |