summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.h
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2015-07-21 22:00:50 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-07-21 22:00:50 +0000
commitc052a9a1bb1d0b7918f73166a36e96e0b1a9ed92 (patch)
treec5efd992b399b9c5222d9ddf3c0918056804d048 /libs/hwui/TextureCache.h
parenta48c0304bfc72dbf422382ced0a5b2705a7bfd9f (diff)
parenta2fd32348b06b22963fcc7c33179fddbd2394dbf (diff)
am a2fd3234: am 3bfe4b47: am 1cd5afc1: am 9317d0b9: am 1fddd3ef: Merge "Mark isInUse per-window" into mnc-dev
* commit 'a2fd32348b06b22963fcc7c33179fddbd2394dbf': Mark isInUse per-window
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