Searched refs:ScratchFlags (Results 1 – 4 of 4) sorted by relevance
/external/skqp/src/gpu/ |
D | GrResourceProvider.cpp | 216 auto scratchFlags = GrResourceCache::ScratchFlags::kNone; in refScratchTexture() 218 scratchFlags |= GrResourceCache::ScratchFlags::kRequireNoPendingIO; in refScratchTexture() 222 scratchFlags |= GrResourceCache::ScratchFlags::kPreferNoPendingIO; in refScratchTexture() 385 auto scratchFlags = GrResourceCache::ScratchFlags::kNone; in createBuffer() 387 scratchFlags = GrResourceCache::ScratchFlags::kRequireNoPendingIO; in createBuffer() 389 scratchFlags = GrResourceCache::ScratchFlags::kPreferNoPendingIO; in createBuffer()
|
D | GrResourceCache.h | 125 enum class ScratchFlags { enum 137 ScratchFlags); 366 GR_MAKE_BITFIELD_CLASS_OPS(GrResourceCache::ScratchFlags);
|
D | GrResourceCache.cpp | 269 ScratchFlags flags) { in findAndRefScratchResource() 273 if (flags & (ScratchFlags::kPreferNoPendingIO | ScratchFlags::kRequireNoPendingIO)) { in findAndRefScratchResource() 279 } else if (flags & ScratchFlags::kRequireNoPendingIO) { in findAndRefScratchResource()
|
/external/skqp/tests/ |
D | ResourceCacheTest.cpp | 708 …>findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone)); in test_unbudgeted_to_scratch() 722 …>findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone)); in test_unbudgeted_to_scratch() 773 …RefScratchResource(scratchKey1, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone)); in test_duplicate_scratch_key() 821 …atchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone) == null… in test_remove_scratch_key() 831 …ndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_remove_scratch_key() 845 …ndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_remove_scratch_key() 902 …atchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone) == null… in test_scratch_key_consistency() 906 …ndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_scratch_key_consistency() 911 …dRefScratchResource(scratchKey2, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_scratch_key_consistency() 915 …dRefScratchResource(scratchKey2, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_scratch_key_consistency() [all …]
|