Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFCanon.h80 struct WrapGS { struct
81 explicit WrapGS(const SkPDFGraphicState* ptr = NULL) : fPtr(ptr) {} in fPtr() argument
83 bool operator==(const WrapGS& rhs) const { argument
88 static uint32_t Hash(const WrapGS& w) { in Hash() argument
93 SkTHashSet<WrapGS, WrapGS::Hash> fGraphicStateRecords;
DSkPDFCanon.cpp26 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()