• Home
  • Raw
  • Download

Lines Matching refs:fContext

28     SkASSERT(!(P) || !((P)->peekTexture()) || (P)->peekTexture()->getContext() == fContext)
30 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fContext->singleOwner());)
31 #define RETURN_IF_ABANDONED_PRIV if (fContext->abandoned()) { return; }
32 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fContext->abandoned()) { return false; }
35 return fContext->refCaps(); in refCaps()
39 return fContext->fpFactoryCache(); in fpFactoryCache()
43 return fContext->refOpMemoryPool(); in refOpMemoryPool()
47 fContext->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject()
54 return fContext->makeWrappedSurfaceContext(std::move(proxy), std::move(colorSpace), props); in makeWrappedSurfaceContext()
66 return fContext->makeDeferredSurfaceContext(format, dstDesc, origin, mipMapped, fit, in makeDeferredSurfaceContext()
81 return fContext->makeDeferredRenderTargetContext(format, fit, width, height, config, in makeDeferredRenderTargetContext()
97 return fContext->makeDeferredRenderTargetContextWithFallback(format, fit, width, height, config, in makeDeferredRenderTargetContextWithFallback()
197 fContext->drawingManager()->flush(proxy, SkSurface::BackendSurfaceAccess::kNoAccess, in flush()
226 fContext->drawingManager()->prepareSurfaceForExternalIO(proxy, in prepareSurfaceForExternalIO()
306 GR_CREATE_TRACE_MARKER_CONTEXT("GrContextPriv", "readSurfacePixels", fContext); in readSurfacePixels()
346 fContext->priv().caps()->isConfigRenderable(kRGBA_8888_GrPixelConfig) && in readSurfacePixels()
347 fContext->validPMUPMConversionExists(); in readSurfacePixels()
349 if (!fContext->priv().caps()->surfaceSupportsReadPixels(srcSurface) || in readSurfacePixels()
393 auto fp = fContext->createPMToUPMEffect( in readSurfacePixels()
422 GrColorType allowedColorType = fContext->priv().caps()->supportedReadPixelsColorType( in readSurfacePixels()
468 if (!fContext->fGpu->readPixels(srcSurface, left, top, width, height, allowedColorType, buffer, in readSurfacePixels()
501 GR_CREATE_TRACE_MARKER_CONTEXT("GrContextPriv", "writeSurfacePixels", fContext); in writeSurfacePixels()
526 !fContext->priv().caps()->avoidWritePixelsFastPath() && in writeSurfacePixels()
534 fContext->priv().caps()->isConfigTexturable(kRGBA_8888_GrPixelConfig) && in writeSurfacePixels()
535 fContext->validPMUPMConversionExists(); in writeSurfacePixels()
555 fContext->priv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType); in writeSurfacePixels()
587 auto fp = fContext->createUPMToPMEffect( in writeSurfacePixels()
611 GrColorType allowedColorType = fContext->priv().caps()->supportedWritePixelsColorType( in writeSurfacePixels()
679 fContext->drawingManager()->moveOpListsToDDL(ddl); in moveOpListsToDDL()
684 fContext->drawingManager()->copyOpListsFromDDL(ddl, newDest); in copyOpListsFromDDL()
705 writer.appendString("backend", kBackendStr[(unsigned)fContext->backend()]); in dump()
708 fContext->caps()->dumpJSON(&writer); in dump()
711 fContext->fGpu->dumpJSON(&writer); in dump()
730 fContext->fGpu->stats()->reset(); in resetGpuStats()
736 fContext->fResourceCache->dumpStats(out); in dumpCacheStats()
743 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()
755 return fContext->fGpu->stats()->dump(out); in dumpGpuStats()
762 return fContext->fGpu->stats()->dumpKeyValuePairs(keys, values); in dumpGpuStatsKeyValuePairs()
773 fContext->priv().getTextBlobCache()->setBudget(bytes); in testingOnly_setTextBlobCacheLimit()
789 sk_sp<SkImage> image(new SkImage_Gpu(sk_ref_sp(fContext), kNeedNewImageUniqueID, in testingOnly_getFontAtlasImage()
795 fContext->fResourceCache->purgeAllUnlocked(); in testingOnly_purgeAllUnlockedResources()
799 fContext->flush(); in testingOnly_flushAndRemoveOnFlushCallbackObject()
800 fContext->drawingManager()->testingOnly_removeOnFlushCallbackObject(cb); in testingOnly_flushAndRemoveOnFlushCallbackObject()