summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/BaseTileTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/android/BaseTileTexture.h')
-rw-r--r--Source/WebCore/platform/graphics/android/BaseTileTexture.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/WebCore/platform/graphics/android/BaseTileTexture.h b/Source/WebCore/platform/graphics/android/BaseTileTexture.h
index bc66195..9c94a53 100644
--- a/Source/WebCore/platform/graphics/android/BaseTileTexture.h
+++ b/Source/WebCore/platform/graphics/android/BaseTileTexture.h
@@ -105,15 +105,6 @@ public:
// swaps) the texture.
virtual void producerUpdate(TextureInfo* textureInfo, const SkBitmap& bitmap);
- // The level can be one of the following values:
- // * -1 for an unused texture.
- // * 0 for the tiles intersecting with the viewport.
- // * n where n > 0 for the distance between the viewport and the tile.
- // We use this to prioritize the order in which we reclaim textures, see
- // TilesManager::getAvailableTexture() for more information.
- int usedLevel() { return m_usedLevel; }
- void setUsedLevel(int used) { m_usedLevel = used; }
-
// allows consumer thread to assign ownership of the texture to the tile. It
// returns false if ownership cannot be transferred because the tile is busy
bool acquire(TextureOwner* owner, bool force = false);
@@ -149,7 +140,6 @@ private:
TextureTileInfo m_ownTextureTileInfo;
SkSize m_size;
- int m_usedLevel;
SkBitmap::Config m_config;
TextureOwner* m_owner;