commit | 8aa195d7081b889f3a7b1f426cbd8556377aae5e | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Tue Jun 04 18:00:09 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue Jun 04 18:58:36 2013 -0700 |
tree | 6cd0ab4181c25d3113c4e39b49e8f8a0c7d12b8b | |
parent | 84f3c5689cffbfc1e45a0101d5bb636323769f54 [diff] [blame] |
Introduce Caches::bindTexture() to reduce glBindTexture calls Change-Id: Ic345422567c020c0a9035ff51dcf2ae2a1fc59f4
diff --git a/libs/hwui/PathCache.h b/libs/hwui/PathCache.h index dd1f996..a191f0e 100644 --- a/libs/hwui/PathCache.h +++ b/libs/hwui/PathCache.h
@@ -58,7 +58,7 @@ * Alpha texture used to represent a path. */ struct PathTexture: public Texture { - PathTexture(): Texture() { + PathTexture(Caches& caches): Texture(caches) { } ~PathTexture() {