diff options
author | Chris Craik <ccraik@google.com> | 2012-05-11 16:03:54 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-05-14 11:15:04 -0700 |
commit | 425ef23631e3468c61a5740dd4e4bae3052cec48 (patch) | |
tree | 756f4ce43978ca025638653a06024d1d8661ffce /Source/WebCore/platform/graphics/android/rendering/PaintTileOperation.h | |
parent | d236e597b13a93d21eafa2edeacb5092076937e1 (diff) | |
download | external_webkit-425ef23631e3468c61a5740dd4e4bae3052cec48.zip external_webkit-425ef23631e3468c61a5740dd4e4bae3052cec48.tar.gz external_webkit-425ef23631e3468c61a5740dd4e4bae3052cec48.tar.bz2 |
Fix stale tile problem
bug:6483791
Update tile painter of outstanding operations
Always schedule a paint operation if we can't update an outstanding one
Remove old interruption code, as it's no longer used
Change-Id: Ibcdb142d3d9b4ee7a52c78b5c121056089913211
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/PaintTileOperation.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/rendering/PaintTileOperation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/PaintTileOperation.h b/Source/WebCore/platform/graphics/android/rendering/PaintTileOperation.h index 1d376bf..c82cdcd 100644 --- a/Source/WebCore/platform/graphics/android/rendering/PaintTileOperation.h +++ b/Source/WebCore/platform/graphics/android/rendering/PaintTileOperation.h @@ -43,9 +43,12 @@ public: virtual ~PaintTileOperation(); virtual bool operator==(const QueuedOperation* operation); virtual void run(); + virtual void* uniquePtr() { return m_tile; } // returns a rendering priority for m_tile, lower values are processed faster virtual int priority(); + TilePainter* painter() { return m_painter; } + void updatePainter(TilePainter* painter); float scale() { return m_tile->scale(); } private: |