Searched refs:fExistingSurface (Results 1 – 2 of 2) sorted by relevance
119 fExistingSurface = provider->findAndRefScratchTexture(fScratchKey); in Register()123 fExistingSurface = provider->findByUniqueKey<GrSurface>(this->uniqueKey()); in Register()150 if (!fExistingSurface) { in instantiateSurface()157 if (!fExistingSurface && !newSurface) { in instantiateSurface()161 GrSurface* surface = newSurface ? newSurface.get() : fExistingSurface.get(); in instantiateSurface()177 proxy->priv().assign(fExistingSurface ? fExistingSurface : std::move(newSurface)); in instantiateSurface()
159 GrSurface* existingSurface() const { return fExistingSurface.get(); } in existingSurface()174 sk_sp<GrSurface> fExistingSurface; // queried from resource cache. may be null. variable