diff options
author | Chris Craik <ccraik@google.com> | 2012-04-12 13:41:17 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-04-12 15:35:57 -0700 |
commit | c884cf63d8cee0f30269e4ec7cbe2a6101fae686 (patch) | |
tree | a25352da00da50c7f99844086103d6ad67003c27 /Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h | |
parent | 85213faae54abd12e8debbf768235403a22faa03 (diff) | |
download | external_webkit-c884cf63d8cee0f30269e4ec7cbe2a6101fae686.zip external_webkit-c884cf63d8cee0f30269e4ec7cbe2a6101fae686.tar.gz external_webkit-c884cf63d8cee0f30269e4ec7cbe2a6101fae686.tar.bz2 |
Separate prefetching TileGrid from front/back
Can now draw all available tiles while preparing new zoom level
bug:5690291
Change-Id: Ic08acc59e052d6b05d282329eed2cc526cb8f2f3
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h b/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h index ec01dbe..bbac9b5 100644 --- a/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h +++ b/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h @@ -61,7 +61,7 @@ public: bool isMissingContent() { - return !m_zooming && m_frontTexture->isMissingContent(); + return m_zooming || m_frontTexture->isMissingContent(); } int nbTextures(IntRect& area, float scale) @@ -80,6 +80,8 @@ private: TileGrid* m_frontTexture; TileGrid* m_backTexture; + TileGrid* m_lowResTexture; + float m_scale; float m_futureScale; double m_zoomUpdateTime; |