summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/TilesManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/android/TilesManager.cpp')
-rw-r--r--WebCore/platform/graphics/android/TilesManager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/TilesManager.cpp b/WebCore/platform/graphics/android/TilesManager.cpp
index 9ebfe02..54ca9ad 100644
--- a/WebCore/platform/graphics/android/TilesManager.cpp
+++ b/WebCore/platform/graphics/android/TilesManager.cpp
@@ -136,7 +136,8 @@ void TilesManager::paintTexturesDefault()
#else
canvas->drawARGB(255, 255, 255, 255);
#endif // DEBUG
- texture->producerUpdate(textureInfo);
+ PaintingInfo info;
+ texture->producerUpdate(0, textureInfo, info);
}
}
}
@@ -185,9 +186,9 @@ BackedDoubleBufferedTexture* TilesManager::getAvailableTexture(BaseTile* owner)
}
}
if (farthestTexture && farthestTexture->acquire(owner)) {
+ farthestTexture->setUsedLevel(0);
XLOG("farthest texture, getAvailableTexture(%x) => texture %x (level %d)",
owner, farthestTexture, farthestTexture->usedLevel());
- farthestTexture->setUsedLevel(0);
return farthestTexture;
}