Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDrawIndirectCommand.h39 struct GrDrawIndirectWriter { struct
42 GrDrawIndirectWriter(void* data) : fData(static_cast<GrDrawIndirectCommand*>(data)) {} in GrDrawIndirectWriter() argument
44 GrDrawIndirectWriter(GrDrawIndirectWriter&& that) { *this = std::move(that); } in GrDrawIndirectWriter() function
46 GrDrawIndirectWriter& operator=(const GrDrawIndirectWriter&) = delete; argument
57 GrDrawIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset() argument
59 inline void write(uint32_t instanceCount, uint32_t baseInstance, uint32_t vertexCount, in write()