Lines Matching refs:data
237 const int* cachedID = static_cast<const int*>(xtraData->data());
287 // Add a draw on 'canvas' that will introduce a ref on a 'wh' vertex data
323 const int* cachedID = static_cast<const int*>(xtraData->data());
338 // the buffer holding the vertex data in this cache should never be discoverable
445 // Normally we wouldn't add a ref to the vertex data at this point. However, it is
507 auto [cachedVerts, data] = threadSafeViewCache->findVertsWithData(key);
532 // Someone beat us to creating the vertex data. Use that version.
686 auto [view, data] = threadSafeCache->findOrAddWithData(key, lazyView);
692 SkASSERT(data);
693 SkDEBUGCODE(const int* cachedID = static_cast<const int*>(data->data());)
727 auto [newView, data] = threadSafeCache->addWithData(key, view);
730 SkASSERT(data);
731 SkDEBUGCODE(const int* cachedID = static_cast<const int*>(data->data());)
955 // Case 5: ensure that expanding the map works (esp. wrt custom data)
1385 // Case 14: Test out mixing & matching view & vertex data w/ recycling of the cache entries to
1470 // Case 16: Test out pre-emption of an existing vertex-data cache entry. This test simulates
1471 // the case where there is a race to create vertex data. However, the second one