summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/android_graphics.h
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-11-19 14:23:02 -0500
committerCary Clark <cary@android.com>2010-11-23 15:58:09 -0500
commiteabb311cd2b57ff80b4cf632078cf078d789b563 (patch)
treeb16e6af4e3b973aa223e113e6d063dd6c0dea08c /WebCore/platform/graphics/android/android_graphics.h
parent9a193fae103e41510ec598934ec912e0575c8e19 (diff)
downloadexternal_webkit-eabb311cd2b57ff80b4cf632078cf078d789b563.zip
external_webkit-eabb311cd2b57ff80b4cf632078cf078d789b563.tar.gz
external_webkit-eabb311cd2b57ff80b4cf632078cf078d789b563.tar.bz2
reenable draw extras when GL is turned on
This captures the drawing in the UI thread, then passes the drawing to the tile imaging thread. The draw extras interface now takes an additional rectangle, and each draw extra fills in the inval area formed as that part is drawn. The old extra implementation in GLWebViewState has been removed. The inval portion of the setBaseLayer call has been split out so it can be called directly. bug:3161294 Change-Id: I28d3e6879059770b973e7c0f7c0796909f7359aa
Diffstat (limited to 'WebCore/platform/graphics/android/android_graphics.h')
-rw-r--r--WebCore/platform/graphics/android/android_graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/android_graphics.h b/WebCore/platform/graphics/android/android_graphics.h
index e147634..9f52a27 100644
--- a/WebCore/platform/graphics/android/android_graphics.h
+++ b/WebCore/platform/graphics/android/android_graphics.h
@@ -53,7 +53,7 @@ class CursorRing : public DrawExtra {
public:
CursorRing(WebViewCore* core) : m_viewImpl(core) {}
virtual ~CursorRing() {}
- virtual void draw(SkCanvas* , LayerAndroid* );
+ virtual void draw(SkCanvas* , LayerAndroid* , IntRect* );
bool setup();
private:
friend class WebView;
@@ -61,6 +61,7 @@ private:
WTF::Vector<IntRect> m_rings;
IntRect m_bounds;
IntRect m_absBounds;
+ IntRect m_lastBounds;
const CachedRoot* m_root;
const CachedFrame* m_frame;
const CachedNode* m_node;