summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/GraphicsLayerAndroid.h
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-03-24 09:52:26 -0700
committerNicolas Roard <nicolas@android.com>2011-04-12 17:38:55 -0700
commit8755df31f6fd87d890d58d86eb8a4ec0088285cb (patch)
tree195aa1343ae4602da4aad3a9825909d22b7bcc0a /WebCore/platform/graphics/android/GraphicsLayerAndroid.h
parenta3bad5bfd2087f48ef5a7320bde1585b9ec83a49 (diff)
downloadexternal_webkit-8755df31f6fd87d890d58d86eb8a4ec0088285cb.zip
external_webkit-8755df31f6fd87d890d58d86eb8a4ec0088285cb.tar.gz
external_webkit-8755df31f6fd87d890d58d86eb8a4ec0088285cb.tar.bz2
Fix for maps
- Fix a repaint scheduling bug preventing layers containing only and image to update - Use an SkBitmap instead of SkBitmapRef and do a deep copy instead to prevent synchronization issues with the webkit thread. bug:4173057 Change-Id: I221fd0062e03ab4633b83d558956db48a408a194
Diffstat (limited to 'WebCore/platform/graphics/android/GraphicsLayerAndroid.h')
-rw-r--r--WebCore/platform/graphics/android/GraphicsLayerAndroid.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.h b/WebCore/platform/graphics/android/GraphicsLayerAndroid.h
index da247ca..94b828b 100644
--- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.h
+++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.h
@@ -25,10 +25,12 @@
#include "GraphicsLayerClient.h"
#include "LayerAndroid.h"
#include "RefPtr.h"
+#include "SkBitmapRef.h"
#include "Vector.h"
class FloatPoint3D;
class Image;
+class SkBitmapRef;
namespace WebCore {
@@ -142,6 +144,8 @@ private:
bool m_haveContents;
bool m_haveImage;
+ bool m_newImage;
+ SkBitmapRef* m_imageRef; // only used to remember previously passed images
Vector<FloatRect> m_invalidatedRects;