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

/external/skia/src/pdf/
H A DSkPDFCanon.h80 struct WrapGS { struct in class:SkPDFCanon
81 explicit WrapGS(const SkPDFGraphicState* ptr = NULL) : fPtr(ptr) {} function in struct:SkPDFCanon::WrapGS
83 bool operator==(const WrapGS& rhs) const {
88 static uint32_t Hash(const WrapGS& w) {
93 SkTHashSet<WrapGS, WrapGS::Hash> fGraphicStateRecords;
H A DSkPDFCanon.cpp26 fGraphicStateRecords.foreach ([](WrapGS w) { w.fPtr->unref(); });
111 const WrapGS* ptr = fGraphicStateRecords.find(WrapGS(&key));
117 WrapGS w(SkRef(state));

Completed in 42 milliseconds