summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TilesManager.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-05-11 16:03:54 -0700
committerChris Craik <ccraik@google.com>2012-05-14 11:15:04 -0700
commit425ef23631e3468c61a5740dd4e4bae3052cec48 (patch)
tree756f4ce43978ca025638653a06024d1d8661ffce /Source/WebCore/platform/graphics/android/rendering/TilesManager.h
parentd236e597b13a93d21eafa2edeacb5092076937e1 (diff)
downloadexternal_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/TilesManager.h')
-rw-r--r--Source/WebCore/platform/graphics/android/rendering/TilesManager.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/TilesManager.h b/Source/WebCore/platform/graphics/android/rendering/TilesManager.h
index 295acf6..676d703 100644
--- a/Source/WebCore/platform/graphics/android/rendering/TilesManager.h
+++ b/Source/WebCore/platform/graphics/android/rendering/TilesManager.h
@@ -53,9 +53,14 @@ public:
return gInstance != 0;
}
- void removeOperationsForFilter(OperationFilter* filter, bool waitForRunning = false)
+ void removeOperationsForFilter(OperationFilter* filter)
{
- m_pixmapsGenerationThread->removeOperationsForFilter(filter, waitForRunning);
+ m_pixmapsGenerationThread->removeOperationsForFilter(filter);
+ }
+
+ bool tryUpdateOperationWithPainter(Tile* tile, TilePainter* painter)
+ {
+ return m_pixmapsGenerationThread->tryUpdateOperationWithPainter(tile, painter);
}
void scheduleOperation(QueuedOperation* operation)