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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h b/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
index 9c1d245..2d19806 100644
--- a/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
+++ b/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
@@ -42,6 +42,7 @@ class TextureTileInfo {
TextureTileInfo()
: m_x(-1)
, m_y(-1)
+ , m_layerId(-1)
, m_scale(0)
, m_texture(0)
, m_picture(0)
@@ -49,6 +50,7 @@ class TextureTileInfo {
}
int m_x;
int m_y;
+ int m_layerId;
float m_scale;
TextureInfo* m_texture;
unsigned int m_picture;
@@ -105,11 +107,12 @@ public:
void setTile(TextureInfo* info, int x, int y, float scale, unsigned int pictureCount);
bool readyFor(BaseTile* baseTile);
+protected:
+ HashMap<SharedTexture*, TextureTileInfo*> m_texturesInfo;
+
private:
void destroyTextures(SharedTexture** textures);
- HashMap<SharedTexture*, TextureTileInfo*> m_texturesInfo;
-
SkBitmap* m_bitmap;
bool m_sharedBitmap;
SkSize m_size;