Searched refs:TestResource (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/tests/ |
H A D | ResourceCacheTest.cpp | 235 class TestResource : public GrGpuResource { class 244 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize) in TestResource() function in TestResource 254 static TestResource* CreateScratch(GrGpu* gpu, SkBudgeted budgeted, in CreateScratch() 256 return new TestResource(gpu, budgeted, property, kScratchConstructor, size); in CreateScratch() 258 static TestResource* CreateWrapped(GrGpu* gpu, GrWrapCacheable cacheable, in CreateWrapped() 260 return new TestResource(gpu, cacheable, size); in CreateWrapped() 263 ~TestResource() override { 269 void setUnrefWhenDestroyed(sk_sp<TestResource> resource) { in setUnrefWhenDestroyed() 287 TestResource(GrGpu* gpu, SkBudgeted budgeted, SimulatedProperty property, ScratchConstructor, in TestResource() function in TestResource 299 TestResource(GrGp function in TestResource [all...] |
/third_party/skia/include/private/ |
H A D | GrResourceKey.h | 160 friend class TestResource; // For unit test to access kMetaDataCnt.
|
Completed in 3 milliseconds