Home
last modified time | relevance | path

Searched refs:Vertex (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
DVertex.h30 struct Vertex { struct
42 static inline void set(Vertex* vertex, float x, float y) { in set() argument
47 static inline void set(Vertex* vertex, Vector2 val) { set(vertex, val.x, val.y); } in set() argument
49 static inline void copyWithOffset(Vertex* vertex, const Vertex& src, float x, float y) { in copyWithOffset() argument
55 REQUIRE_COMPATIBLE_LAYOUT(Vertex);
DRect.h194 left = floorf(left + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
195 top = floorf(top + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
196 right = ceilf(right - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
197 bottom = ceilf(bottom - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
203 left = floorf(left + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
204 top = floorf(top + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
205 right = floorf(right + 0.5f + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
206 bottom = floorf(bottom + 0.5f + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
/frameworks/rs/script_api/include/
Drs_graphics.rsh151 RS_PRIMITIVE_POINT = 0, // Vertex data will be rendered as a series of points
152 RS_PRIMITIVE_LINE = 1, // Vertex pairs will be rendered as lines
153 RS_PRIMITIVE_LINE_STRIP = 2, // Vertex data will be rendered as a connected line strip