summaryrefslogtreecommitdiff
path: root/libs/hwui/PathCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-10-18 14:06:08 -0700
committer Romain Guy <romainguy@google.com> 2010-10-18 14:49:19 -0700
commit03750a067e818ca7fbd0f590e2ff6a8fded21e6c (patch)
treee41ffdc1b72f66c13284df27877703111f048170 /libs/hwui/PathCache.h
parent65202242defad10eb33a3b3277af49eb238a3f33 (diff)
Use VBOs to render most geometries.
Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
Diffstat (limited to 'libs/hwui/PathCache.h')
-rw-r--r--libs/hwui/PathCache.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/hwui/PathCache.h b/libs/hwui/PathCache.h
index 0c74261fcb90..af6822d2e101 100644
--- a/libs/hwui/PathCache.h
+++ b/libs/hwui/PathCache.h
@@ -64,12 +64,12 @@ struct PathCacheEntry {
float strokeWidth;
bool operator<(const PathCacheEntry& rhs) const {
- compareI(path) {
- compareI(join) {
- compareI(cap) {
- compareI(style) {
- compare(miter) {
- compare(strokeWidth) return false;
+ INT_COMPARE(path) {
+ INT_COMPARE(join) {
+ INT_COMPARE(cap) {
+ INT_COMPARE(style) {
+ FLOAT_COMPARE(miter) {
+ FLOAT_COMPARE(strokeWidth) return false;
}
}
}