diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h b/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h index 61e3336..7d3e93c 100644 --- a/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h +++ b/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h @@ -41,10 +41,11 @@ public: SurfaceBacking(bool isBaseSurface); ~SurfaceBacking(); void prepareGL(GLWebViewState* state, bool allowZoom, - const IntRect& prepareArea, const IntRect& unclippedArea, - TilePainter* painter, bool aggressiveRendering); + const IntRect& prepareArea, const IntRect& fullContentArea, + TilePainter* painter, bool aggressiveRendering, + bool updateWithBlit); void swapTiles(); - void drawGL(const IntRect& visibleArea, float opacity, + void drawGL(const IntRect& visibleContentArea, float opacity, const TransformationMatrix* transform, bool aggressiveRendering, const Color* background); void markAsDirty(const SkRegion& dirtyArea); @@ -59,6 +60,11 @@ public: return !m_zooming && m_frontTileGrid->isReady() && m_scale > 0; } + bool isDirty() + { + return m_frontTileGrid->isDirty(); + } + bool isMissingContent() { return m_zooming || m_frontTileGrid->isMissingContent(); |