diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/layers/LayerAndroid.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/LayerAndroid.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h index b28daef..5a1ef57 100644 --- a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h +++ b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h @@ -151,6 +151,9 @@ public: float getScale() { return m_scale; } + // draw the layer tree recursively in draw order, grouping and sorting 3d rendering contexts + bool drawTreeSurfacesGL(); + virtual bool drawGL(bool layerTilesDisabled); virtual bool drawCanvas(SkCanvas* canvas, bool drawChildren, PaintStyle style); bool drawChildrenCanvas(SkCanvas* canvas, PaintStyle style); @@ -312,13 +315,14 @@ private: return contentIsScrollable() || isPositionFixed() || (m_animations.size() != 0); } + // recurse through the current 3d rendering context, adding layers in the context to the vector + void collect3dRenderingContext(Vector<LayerAndroid*>& layersInContext); + bool drawSurfaceAndChildrenGL(); + #if DUMP_NAV_CACHE friend class CachedLayer::Debug; // debugging access only #endif - void copyAnimationStartTimes(LayerAndroid* oldLayer); - bool prepareContext(bool force = false); - // ------------------------------------------------------------------- // Fields to be serialized // ------------------------------------------------------------------- |