summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/LayerAndroid.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.h')
-rw-r--r--WebCore/platform/graphics/android/LayerAndroid.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.h b/WebCore/platform/graphics/android/LayerAndroid.h
index f4fea49..53e513b 100644
--- a/WebCore/platform/graphics/android/LayerAndroid.h
+++ b/WebCore/platform/graphics/android/LayerAndroid.h
@@ -102,7 +102,7 @@ public:
void setTransform(const TransformationMatrix& matrix) { m_transform = matrix; }
FloatPoint translation() const;
SkRect bounds() const;
- IntRect clippedRect();
+ IntRect clippedRect() const;
bool outsideViewport();
// Debug/info functions
@@ -110,6 +110,13 @@ public:
int nbLayers();
void showLayers(int indent = 0);
+ // Texture size functions
+ void computeTextureSize();
+ void collect(Vector<LayerAndroid*>& layers,
+ int& size);
+ int clippedTextureSize() const;
+ int fullTextureSize() const;
+
// called on the root layer
void reserveGLTextures();
void createGLTextures();