Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFCanon.h100 struct WrapGS { struct
101 explicit WrapGS(const SkPDFGraphicState* ptr = nullptr) : fPtr(ptr) {} in fPtr() argument
103 bool operator==(const WrapGS& rhs) const { argument
109 uint32_t operator()(const WrapGS& w) const { in operator() argument
115 SkTHashSet<WrapGS, WrapGS::Hash> fGraphicStateRecords;
DSkPDFCanon.cpp27 fGraphicStateRecords.foreach ([](WrapGS w) { w.fPtr->unref(); }); in reset()
117 const WrapGS* ptr = fGraphicStateRecords.find(WrapGS(&key)); in findGraphicState()
123 WrapGS w(SkRef(state)); in addGraphicState()