Lines Matching refs:view
115 return { tmp->view(), tmp->refCustomData() };
133 GrSurfaceProxyView view;
134 std::tie(view, std::ignore) = this->internalFind(key);
135 return view;
146 const GrSurfaceProxyView& view) {
154 entry->set(key, view);
156 entry = fEntryAllocator.make<Entry>(key, view);
197 const GrSurfaceProxyView& view) {
200 tmp = this->getEntry(key, view);
205 return { tmp->view(), tmp->refCustomData() };
208 GrSurfaceProxyView GrThreadSafeCache::add(const GrUniqueKey& key, const GrSurfaceProxyView& view) {
212 std::tie(newView, std::ignore) = this->internalAdd(key, view);
218 const GrSurfaceProxyView& view) {
221 return this->internalAdd(key, view);
228 GrSurfaceProxyView view;
229 std::tie(view, std::ignore) = this->internalFind(key);
230 if (view) {
231 return view;
234 std::tie(view, std::ignore) = this->internalAdd(key, v);
235 return view;
243 auto [view, data] = this->internalFind(key);
244 if (view) {
245 return { std::move(view), std::move(data) };