Lines Matching refs:scratchKey1
810 GrScratchKey scratchKey1;
811 TestResource::ComputeScratchKey(TestResource::kA_SimulatedProperty, &scratchKey1);
813 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(scratchKey1));
918 GrScratchKey scratchKey1;
919 TestResource::ComputeScratchKey(TestResource::kA_SimulatedProperty, &scratchKey1);
922 REPORTER_ASSERT(reporter, scratchKey1.size() == TestResource::ExpectedScratchKeySize());
923 REPORTER_ASSERT(reporter, scratchKey1 != scratchKey2);
924 REPORTER_ASSERT(reporter, scratchKey2 != scratchKey1);
925 scratchKey = scratchKey1;
927 REPORTER_ASSERT(reporter, scratchKey1 == scratchKey);
928 REPORTER_ASSERT(reporter, scratchKey == scratchKey1);
933 REPORTER_ASSERT(reporter, scratchKey1 != scratchKey);
934 REPORTER_ASSERT(reporter, scratchKey != scratchKey1);