summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.h
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2015-07-21 10:23:59 -0700
committer John Reck <jreck@google.com> 2015-07-21 10:46:54 -0700
commit00e79c9947b741194ff6c0d08ede9b3befbf9c9d (patch)
tree26098cf607eaef09a94855aec4ccdd9d8789fd55 /libs/hwui/TextureCache.h
parent29cf9aea5490c42b85aaaa98b6784daff82629f8 (diff)
Mark isInUse per-window
Bug: 22509159 Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r--libs/hwui/TextureCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h
index 83c6e91ec55c..7a7ee5aeb554 100644
--- a/libs/hwui/TextureCache.h
+++ b/libs/hwui/TextureCache.h
@@ -66,14 +66,14 @@ public:
/**
* Resets all Textures to not be marked as in use
*/
- void resetMarkInUse();
+ void resetMarkInUse(void* ownerToken);
/**
* Attempts to precache the SkBitmap. Returns true if a Texture was successfully
* acquired for the bitmap, false otherwise. If a Texture was acquired it is
* marked as in use.
*/
- bool prefetchAndMarkInUse(const SkBitmap* bitmap);
+ bool prefetchAndMarkInUse(void* ownerToken, const SkBitmap* bitmap);
/**
* Returns the texture associated with the specified bitmap from either within the cache, or