Home
last modified time | relevance | path

Searched refs:GrLineSegment (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/geometry/
DGrShape.h25 struct GrLineSegment { struct
70 explicit GrShape(const GrLineSegment& line){ this->setLine(line); } in GrShape()
145 GrLineSegment& line() { SkASSERT(this->isLine()); return fLine; } in line()
146 const GrLineSegment& line() const { SkASSERT(this->isLine()); return fLine; } in line()
170 void setLine(const GrLineSegment& line) { in setLine()
272 GrLineSegment fLine;
DGrStyledShape.cpp157 static_assert(0 == sizeof(GrLineSegment) % sizeof(uint32_t)); in unstyledKeySize()
158 count += sizeof(GrLineSegment) / sizeof(uint32_t); in unstyledKeySize()
230 memcpy(key, &fShape.line(), sizeof(GrLineSegment)); in writeUnstyledKey()
231 key += sizeof(GrLineSegment) / sizeof(uint32_t); in writeUnstyledKey()