Home
last modified time | relevance | path

Searched refs:ScratchFlags (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/src/gpu/
DGrResourceCache.h126 enum class ScratchFlags { enum
138 ScratchFlags);
390 GR_MAKE_BITFIELD_CLASS_OPS(GrResourceCache::ScratchFlags);
DGrResourceProvider.cpp359 auto scratchFlags = GrResourceCache::ScratchFlags::kNone; in refScratchTexture()
361 scratchFlags |= GrResourceCache::ScratchFlags::kRequireNoPendingIO; in refScratchTexture()
365 scratchFlags |= GrResourceCache::ScratchFlags::kPreferNoPendingIO; in refScratchTexture()
528 key, allocSize, GrResourceCache::ScratchFlags::kNone))); in createBuffer()
DGrResourceCache.cpp300 ScratchFlags flags) { in findAndRefScratchResource()
304 if (flags & (ScratchFlags::kPreferNoPendingIO | ScratchFlags::kRequireNoPendingIO)) { in findAndRefScratchResource()
310 } else if (flags & ScratchFlags::kRequireNoPendingIO) { in findAndRefScratchResource()
/third_party/flutter/skia/tests/
DResourceCacheTest.cpp706 …>findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone)); in test_unbudgeted_to_scratch()
720 …>findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone)); in test_unbudgeted_to_scratch()
771 …RefScratchResource(scratchKey1, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone)); in test_duplicate_scratch_key()
819 …atchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone) == null… in test_remove_scratch_key()
829 …ndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_remove_scratch_key()
843 …ndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_remove_scratch_key()
900 …atchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone) == null… in test_scratch_key_consistency()
904 …ndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_scratch_key_consistency()
909 …dRefScratchResource(scratchKey2, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_scratch_key_consistency()
913 …dRefScratchResource(scratchKey2, TestResource::kDefaultSize, GrResourceCache::ScratchFlags::kNone); in test_scratch_key_consistency()
[all …]