summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/BaseTileTexture.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2011-09-06 14:44:13 -0700
committerChris Craik <ccraik@google.com>2011-09-06 14:56:48 -0700
commit13d9e99a89d771d44695e9ddbc28ef0811588076 (patch)
treec69aec7f514addd33c142311ca49864747a9e348 /Source/WebCore/platform/graphics/android/BaseTileTexture.cpp
parent8ad3ab0e47f0d5039e89c1873c178f538ec1b0df (diff)
downloadexternal_webkit-13d9e99a89d771d44695e9ddbc28ef0811588076.zip
external_webkit-13d9e99a89d771d44695e9ddbc28ef0811588076.tar.gz
external_webkit-13d9e99a89d771d44695e9ddbc28ef0811588076.tar.bz2
Fix old textures not being repainted
bug:5261488 Tile textures that were reacquired by the same tiles weren't being marked as dirty. Change-Id: Ie5c41ff7a8166e5e48736bdc504b90e8c5512f79
Diffstat (limited to 'Source/WebCore/platform/graphics/android/BaseTileTexture.cpp')
-rw-r--r--Source/WebCore/platform/graphics/android/BaseTileTexture.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/BaseTileTexture.cpp b/Source/WebCore/platform/graphics/android/BaseTileTexture.cpp
index 9db819c..34de9e7 100644
--- a/Source/WebCore/platform/graphics/android/BaseTileTexture.cpp
+++ b/Source/WebCore/platform/graphics/android/BaseTileTexture.cpp
@@ -214,6 +214,10 @@ bool BaseTileTexture::release(TextureOwner* owner)
if (m_owner != owner)
return false;
+ // force readyFor to return false next call (even if texture reaquired by same tile)
+ m_ownTextureTileInfo.m_x = -1;
+ m_ownTextureTileInfo.m_y = -1;
+ m_ownTextureTileInfo.m_scale = 0;
if (!m_busy) {
m_owner = 0;
} else {