summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/TiledPage.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2011-08-23 13:36:18 -0700
committerChris Craik <ccraik@google.com>2011-08-25 15:08:33 -0700
commitf51a51f6ea307f4311a04aa865a42b233269540b (patch)
tree62856bffa8b6e82f229a76cc324b28c4286496ee /Source/WebCore/platform/graphics/android/TiledPage.h
parent5a1bad665e3c27495e4ccb9a73996ce3a84b0a26 (diff)
downloadexternal_webkit-f51a51f6ea307f4311a04aa865a42b233269540b.zip
external_webkit-f51a51f6ea307f4311a04aa865a42b233269540b.tar.gz
external_webkit-f51a51f6ea307f4311a04aa865a42b233269540b.tar.bz2
better locking while scrolling, but disables double buffering
don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
Diffstat (limited to 'Source/WebCore/platform/graphics/android/TiledPage.h')
-rw-r--r--Source/WebCore/platform/graphics/android/TiledPage.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/TiledPage.h b/Source/WebCore/platform/graphics/android/TiledPage.h
index 4b09364..56a34f4 100644
--- a/Source/WebCore/platform/graphics/android/TiledPage.h
+++ b/Source/WebCore/platform/graphics/android/TiledPage.h
@@ -51,6 +51,11 @@ class IntRect;
*/
class TiledPage : public TilePainter {
public:
+ enum PrepareBounds {
+ kExpandedBounds = 0,
+ kVisibleBounds = 1
+ };
+
TiledPage(int id, GLWebViewState* state);
~TiledPage();
@@ -58,7 +63,7 @@ public:
TiledPage* sibling();
// prepare the page for display on the screen
- void prepare(bool goingDown, bool goingLeft, const SkIRect& tileBounds);
+ void prepare(bool goingDown, bool goingLeft, const SkIRect& tileBounds, PrepareBounds bounds);
// check to see if the page is ready for display
bool ready(const SkIRect& tileBounds, float scale);
// draw the page on the screen