Home | History | Annotate | Download | only in gpu

Lines Matching refs:scratchKey

245 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey,
248 SkASSERT(scratchKey.isValid());
252 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true));
269 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false));
757 const GrScratchKey& scratchKey = resource->resourcePriv().getScratchKey();
763 SkASSERT(fScratchMap->countForKey(scratchKey));
765 } else if (scratchKey.isValid()) {
770 SkASSERT(fScratchMap->countForKey(scratchKey));
780 if (scratchKey.isValid()) {
781 SkASSERT(!fScratchMap->has(resource, scratchKey));