Searched refs:WrapGS (Results 1 – 2 of 2) sorted by relevance
100 struct WrapGS { struct101 explicit WrapGS(const SkPDFGraphicState* ptr = nullptr) : fPtr(ptr) {} in fPtr() argument103 bool operator==(const WrapGS& rhs) const { argument109 uint32_t operator()(const WrapGS& w) const { in operator() argument115 SkTHashSet<WrapGS, WrapGS::Hash> fGraphicStateRecords;
27 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()