Lines Matching refs:GrTextBlobCache

8 #include "src/gpu/text/GrTextBlobCache.h"
10 DECLARE_SKMESSAGEBUS_MESSAGE(GrTextBlobCache::PurgeBlobMessage, uint32_t, true)
14 const GrTextBlobCache::PurgeBlobMessage& msg, uint32_t msgBusUniqueID) {
18 GrTextBlobCache::GrTextBlobCache(uint32_t messageBusID)
23 sk_sp<GrTextBlob> GrTextBlobCache::addOrReturnExisting(
31 sk_sp<GrTextBlob> GrTextBlobCache::find(const GrTextBlob::Key& key) {
47 void GrTextBlobCache::remove(GrTextBlob* blob) {
52 void GrTextBlobCache::internalRemove(GrTextBlob* blob) {
69 void GrTextBlobCache::freeAll() {
76 void GrTextBlobCache::PostPurgeBlobMessage(uint32_t blobID, uint32_t cacheID) {
81 void GrTextBlobCache::purgeStaleBlobs() {
86 void GrTextBlobCache::internalPurgeStaleBlobs() {
108 size_t GrTextBlobCache::usedBytes() const {
113 bool GrTextBlobCache::isOverBudget() const {
118 void GrTextBlobCache::internalCheckPurge(GrTextBlob* blob) {
142 sk_sp<GrTextBlob> GrTextBlobCache::internalAdd(sk_sp<GrTextBlob> blob) {
161 GrTextBlobCache::BlobIDCacheEntry::BlobIDCacheEntry() : fID(SK_InvalidGenID) {}
163 GrTextBlobCache::BlobIDCacheEntry::BlobIDCacheEntry(uint32_t id) : fID(id) {}
165 uint32_t GrTextBlobCache::BlobIDCacheEntry::GetKey(const GrTextBlobCache::BlobIDCacheEntry& entry) {
169 void GrTextBlobCache::BlobIDCacheEntry::addBlob(sk_sp<GrTextBlob> blob) {
177 void GrTextBlobCache::BlobIDCacheEntry::removeBlob(GrTextBlob* blob) {
187 sk_sp<GrTextBlob> GrTextBlobCache::BlobIDCacheEntry::find(const GrTextBlob::Key& key) const {
192 int GrTextBlobCache::BlobIDCacheEntry::findBlobIndex(const GrTextBlob::Key& key) const {