Searched defs:scratchKey1 (Results 1 - 2 of 2) sorted by relevance
/external/skia/tests/ |
H A D | ResourceCacheTest.cpp | 747 GrScratchKey scratchKey1; local 748 TestResource::ComputeScratchKey(TestResource::kA_SimulatedProperty, &scratchKey1); 750 REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(scratchKey1, TestResource::kDefaultSize, 0)); 856 GrScratchKey scratchKey1; local 857 TestResource::ComputeScratchKey(TestResource::kA_SimulatedProperty, &scratchKey1); 860 REPORTER_ASSERT(reporter, scratchKey1.size() == TestResource::ExpectedScratchKeySize()); 861 REPORTER_ASSERT(reporter, scratchKey1 != scratchKey2); 862 REPORTER_ASSERT(reporter, scratchKey2 != scratchKey1); 863 scratchKey = scratchKey1; 865 REPORTER_ASSERT(reporter, scratchKey1 [all...] |
/external/skqp/tests/ |
H A D | ResourceCacheTest.cpp | 677 GrScratchKey scratchKey1; local 678 TestResource::ComputeScratchKey(TestResource::kA_SimulatedProperty, &scratchKey1); 680 REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(scratchKey1, TestResource::kDefaultSize, 0)); 786 GrScratchKey scratchKey1; local 787 TestResource::ComputeScratchKey(TestResource::kA_SimulatedProperty, &scratchKey1); 790 REPORTER_ASSERT(reporter, scratchKey1.size() == TestResource::ExpectedScratchKeySize()); 791 REPORTER_ASSERT(reporter, scratchKey1 != scratchKey2); 792 REPORTER_ASSERT(reporter, scratchKey2 != scratchKey1); 793 scratchKey = scratchKey1; 795 REPORTER_ASSERT(reporter, scratchKey1 [all...] |
Completed in 117 milliseconds