summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h')
-rw-r--r--WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h b/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
index eea5807..1c50d87 100644
--- a/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
+++ b/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
@@ -81,9 +81,15 @@ public:
const SkSize& getSize() const { return m_size; }
+ int x() { return m_x; }
+ int y() { return m_y; }
+ void setTile(int x, int y) { m_x = x; m_y = y; }
+
private:
void destroyTextures(SharedTexture** textures);
+ int m_x;
+ int m_y;
SkBitmap* m_bitmap;
bool m_sharedBitmap;
SkSize m_size;