Home
last modified time | relevance | path

Searched defs:GrVertexWriter (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrVertexWriter.h25 struct GrVertexWriter { struct
28 GrVertexWriter() = default; argument
29 GrVertexWriter(void* ptr) : fPtr(ptr) {} in GrVertexWriter() function
31 GrVertexWriter(GrVertexWriter&& that) { *this = std::move(that); } in GrVertexWriter() argument
33 GrVertexWriter& operator=(const GrVertexWriter&) = delete; argument
43 GrVertexWriter makeOffset(size_t offsetInBytes) const { in makeOffset() argument
53 friend struct GrVertexWriter; argument
55 bool fCondition;
56 T fValue;
60 static Conditional<T> If(bool condition, const T& value) { in If()
[all …]
/external/skqp/src/gpu/
DGrVertexWriter.h24 struct GrVertexWriter { struct
33 friend struct GrVertexWriter; argument
35 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 …]