Searched refs:WrapGS (Results 1 – 2 of 2) sorted by relevance
80 struct WrapGS { struct81 explicit WrapGS(const SkPDFGraphicState* ptr = NULL) : fPtr(ptr) {} in fPtr() argument83 bool operator==(const WrapGS& rhs) const { argument88 static uint32_t Hash(const WrapGS& w) { in Hash() argument93 SkTHashSet<WrapGS, WrapGS::Hash> fGraphicStateRecords;
26 fGraphicStateRecords.foreach ([](WrapGS w) { w.fPtr->unref(); }); in reset()111 const WrapGS* ptr = fGraphicStateRecords.find(WrapGS(&key)); in findGraphicState()117 WrapGS w(SkRef(state)); in addGraphicState()