Searched defs:AlphaVertex (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | Vertex.h | 99 struct AlphaVertex { struct in namespace:android::uirenderer 103 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { 107 static inline void copyWithOffset(AlphaVertex* vertex, const AlphaVertex& src, float x, 109 AlphaVertex::set(vertex, src.x + x, src.y + y, src.alpha); 112 static inline void setColor(AlphaVertex* vertex, float alpha) { vertex[0].alpha = alpha; } 113 }; // struct AlphaVertex 115 REQUIRE_COMPATIBLE_LAYOUT(AlphaVertex);
|
Completed in 46 milliseconds