| Index: cc/LayerTextureUpdater.h
|
| diff --git a/cc/LayerTextureUpdater.h b/cc/LayerTextureUpdater.h
|
| index 0426bc42655d5f1bf7e7e1e8239ffb2a80c86f86..38459b165c8f1ce0060dd41dc3f2422b7156fd6d 100644
|
| --- a/cc/LayerTextureUpdater.h
|
| +++ b/cc/LayerTextureUpdater.h
|
| @@ -18,6 +18,7 @@ class IntRect;
|
| class IntSize;
|
| class TextureManager;
|
| struct CCRenderingStats;
|
| +class CCTextureUpdateQueue;
|
|
|
| class LayerTextureUpdater : public RefCounted<LayerTextureUpdater> {
|
| public:
|
| @@ -28,9 +29,9 @@ public:
|
|
|
| CCPrioritizedTexture* texture() { return m_texture.get(); }
|
| void swapTextureWith(OwnPtr<CCPrioritizedTexture>& texture) { m_texture.swap(texture); }
|
| - virtual void prepareRect(const IntRect& /* sourceRect */, CCRenderingStats&) { }
|
| - virtual void updateRect(CCResourceProvider*, const IntRect& sourceRect, const IntSize& destOffset) = 0;
|
| - virtual bool backingResourceWasEvicted() const;
|
| + // TODO(reveman): partialUpdate should be a property of this class
|
| + // instead argument passed to update().
|
| + virtual void update(CCTextureUpdateQueue&, const IntRect& sourceRect, const IntSize& destOffset, bool partialUpdate, CCRenderingStats&) = 0;
|
| protected:
|
| explicit Texture(PassOwnPtr<CCPrioritizedTexture> texture);
|
|
|
|
|