Searched defs:GrVertexWriter (Results 1 – 2 of 2) sorted by relevance
25 struct GrVertexWriter { struct28 GrVertexWriter() = default; argument29 GrVertexWriter(void* ptr) : fPtr(ptr) {} in GrVertexWriter() function31 GrVertexWriter(GrVertexWriter&& that) { *this = std::move(that); } in GrVertexWriter() argument33 GrVertexWriter& operator=(const GrVertexWriter&) = delete; argument43 GrVertexWriter makeOffset(size_t offsetInBytes) const { in makeOffset() argument53 friend struct GrVertexWriter; argument55 bool fCondition;56 T fValue;60 static Conditional<T> If(bool condition, const T& value) { in If()[all …]
24 struct GrVertexWriter { struct33 friend struct GrVertexWriter; argument35 bool fCondition;36 T fValue;40 static Conditional<T> If(bool condition, const T& value) { in If()45 struct Skip {};48 void write(const T& val, const Args&... remainder) { in write()60 void write(const T(&val)[N], const Args&... remainder) { in write()69 void write(const GrVertexColor& color, const Args&... remainder) { in write()78 void write(const Conditional<T>& val, const Args&... remainder) { in write()[all …]