From 13d9e99a89d771d44695e9ddbc28ef0811588076 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Tue, 6 Sep 2011 14:44:13 -0700 Subject: 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 --- Source/WebCore/platform/graphics/android/BaseTileTexture.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/WebCore/platform/graphics/android/BaseTileTexture.cpp') 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 { -- cgit v1.1