Lines Matching defs:key
36 // only this cache knows the unique key - neither the proxy nor backing resource should
37 // be discoverable in any other cache by the unique key
191 Entry(const GrUniqueKey& key, const GrSurfaceProxyView& view)
192 : fKey(key)
197 Entry(const GrUniqueKey& key, sk_sp<VertexData> vertData)
198 : fKey(key)
219 const GrUniqueKey& key() const {
244 void set(const GrUniqueKey& key, const GrSurfaceProxyView& view) {
246 fKey = key;
261 void set(const GrUniqueKey& key, sk_sp<VertexData> vertData) {
263 fKey = key;
277 static uint32_t Hash(const GrUniqueKey& key) { return key.hash(); }
280 // Note: the unique key is stored here bc it is never attached to a proxy or a GrTexture