summaryrefslogtreecommitdiff
path: root/libs/hwui/Vertex.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-12-10 17:56:27 -0800
committerChris Craik <ccraik@google.com>2013-02-06 15:35:12 -0800
commit65cd612face362d054a85d0f7e5881c59cd523be (patch)
tree8d71fb22d3a6dd515456a44b0d1010c906abb774 /libs/hwui/Vertex.h
parentc93c6aa5553203f05df871804517885fcc071cfd (diff)
Add cap tessellation support
bug:7117155 bug:8114304 Currently used for lines (with and without AA) and arcs with useCenter=false Also removes 0.375, 0.375 offset for AA lines Change-Id: Ic8ace418739344db1e2814edf65253fe7448b0b0
Diffstat (limited to 'libs/hwui/Vertex.h')
-rw-r--r--libs/hwui/Vertex.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/hwui/Vertex.h b/libs/hwui/Vertex.h
index 38455dc93274..c120428e16d0 100644
--- a/libs/hwui/Vertex.h
+++ b/libs/hwui/Vertex.h
@@ -68,25 +68,6 @@ struct AlphaVertex : Vertex {
}
}; // struct AlphaVertex
-/**
- * Simple structure to describe a vertex with a position and an alpha value.
- */
-struct AAVertex : Vertex {
- float width;
- float length;
-
- static inline void set(AAVertex* vertex, float x, float y, float width, float length) {
- Vertex::set(vertex, x, y);
- vertex[0].width = width;
- vertex[0].length = length;
- }
-
- static inline void setColor(AAVertex* vertex, float width, float length) {
- vertex[0].width = width;
- vertex[0].length = length;
- }
-}; // struct AlphaVertex
-
}; // namespace uirenderer
}; // namespace android