Home
last modified time | relevance | path

Searched refs:findAndRefScratchResource (Results 1 – 8 of 8) sorted by relevance

/external/skqp/tests/
DResourceCacheTest.cpp708 …REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(key, TestResource::kDefaultS… in test_unbudgeted_to_scratch()
722 …resource = static_cast<TestResource*>(cache->findAndRefScratchResource(key, TestResource::kDefault… in test_unbudgeted_to_scratch()
773 …REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(scratchKey1, TestResource::k… in test_duplicate_scratch_key()
821 …REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize,… in test_remove_scratch_key()
831 …find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::S… in test_remove_scratch_key()
845 …find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::S… in test_remove_scratch_key()
902 …REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize,… in test_scratch_key_consistency()
906 …GrGpuResource* find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrR… in test_scratch_key_consistency()
911 …find = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, GrResourceCache::… in test_scratch_key_consistency()
915 …GrGpuResource* find2 = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, G… in test_scratch_key_consistency()
[all …]
/external/skia/tests/
DResourceCacheTest.cpp749 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(key)); in test_unbudgeted_to_scratch()
763 resource = static_cast<TestResource*>(cache->findAndRefScratchResource(key)); in test_unbudgeted_to_scratch()
813 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(scratchKey1)); in test_duplicate_scratch_key()
862 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(scratchKey)); in test_remove_scratch_key()
871 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey); in test_remove_scratch_key()
885 find = cache->findAndRefScratchResource(scratchKey); in test_remove_scratch_key()
941 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(scratchKey)); in test_scratch_key_consistency()
945 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey); in test_scratch_key_consistency()
950 find = cache->findAndRefScratchResource(scratchKey2); in test_scratch_key_consistency()
954 GrGpuResource* find2 = cache->findAndRefScratchResource(scratchKey2); in test_scratch_key_consistency()
[all …]
/external/skqp/src/gpu/
DGrResourceProvider.cpp224 GrGpuResource* resource = fCache->findAndRefScratchResource(key, in refScratchTexture()
392 this->cache()->findAndRefScratchResource(key, allocSize, scratchFlags))); in createBuffer()
DGrResourceCache.h136 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey, size_t resourceSize,
DGrResourceCache.cpp267 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey, in findAndRefScratchResource() function in GrResourceCache
/external/skia/src/gpu/
DGrResourceProvider.cpp258 if (GrGpuResource* resource = fCache->findAndRefScratchResource(key)) { in findAndRefScratchTexture()
482 sk_sp<GrGpuBuffer>(static_cast<GrGpuBuffer*>(this->cache()->findAndRefScratchResource( in createBuffer()
591 GrGpuResource* resource = fCache->findAndRefScratchResource(key); in refScratchMSAAAttachment()
DGrResourceCache.h126 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey);
DGrResourceCache.cpp293 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey) { in findAndRefScratchResource() function in GrResourceCache