• Home
  • Raw
  • Download

Lines Matching refs:fContext

29     SkASSERT(!(P) || !((P)->peekTexture()) || (P)->peekTexture()->getContext() == fContext)
31 SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fContext->singleOwner());)
32 #define RETURN_VALUE_IF_ABANDONED(value) if (fContext->abandoned()) { return (value); }
36 return fContext->refCaps(); in refCaps()
40 return fContext->fpFactoryCache(); in fpFactoryCache()
44 return fContext->refOpMemoryPool(); in refOpMemoryPool()
48 fContext->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject()
56 return fContext->makeWrappedSurfaceContext(std::move(proxy), colorType, alphaType, in makeWrappedSurfaceContext()
70 return fContext->makeDeferredTextureContext(fit, width, height, colorType, alphaType, in makeDeferredTextureContext()
87 return fContext->makeDeferredRenderTargetContext(fit, width, height, colorType, in makeDeferredRenderTargetContext()
96 return fContext->makeDeferredRenderTargetContextWithFallback( in makeDeferredRenderTargetContextWithFallback()
201 GR_CREATE_TRACE_MARKER_CONTEXT("GrContextPriv", "flushSurfaces", fContext); in flushSurfaces()
208 return fContext->drawingManager()->flushSurfaces( in flushSurfaces()
217 fContext->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL()
222 fContext->drawingManager()->copyRenderTasksFromDDL(ddl, newDest); in copyRenderTasksFromDDL()
230 fContext->fGpu->stats()->reset(); in resetGpuStats()
236 fContext->fResourceCache->dumpStats(out); in dumpCacheStats()
243 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()
255 return fContext->fGpu->stats()->dump(out); in dumpGpuStats()
262 return fContext->fGpu->stats()->dumpKeyValuePairs(keys, values); in dumpGpuStatsKeyValuePairs()
273 fContext->priv().getTextBlobCache()->setBudget(bytes); in testingOnly_setTextBlobCacheLimit()
289 sk_sp<SkImage> image(new SkImage_Gpu(sk_ref_sp(fContext), kNeedNewImageUniqueID, in testingOnly_getFontAtlasImage()
295 fContext->fResourceCache->purgeAllUnlocked(); in testingOnly_purgeAllUnlockedResources()
299 fContext->flush(); in testingOnly_flushAndRemoveOnFlushCallbackObject()
300 fContext->drawingManager()->testingOnly_removeOnFlushCallbackObject(cb); in testingOnly_flushAndRemoveOnFlushCallbackObject()
306 if (!fContext->fDidTestPMConversions) { in validPMUPMConversionExists()
307 fContext->fPMUPMConversionsRoundTrip = in validPMUPMConversionExists()
308 GrConfigConversionEffect::TestForPreservingPMConversions(fContext); in validPMUPMConversionExists()
309 fContext->fDidTestPMConversions = true; in validPMUPMConversionExists()
313 return fContext->fPMUPMConversionsRoundTrip; in validPMUPMConversionExists()
320 SkASSERT(fContext->fDidTestPMConversions); in createPMToUPMEffect()
331 SkASSERT(fContext->fDidTestPMConversions); in createUPMToPMEffect()
345 if (!fContext->asDirectContext()) { in createBackendTexture()
382 GrBackendFormat backendFormat = fContext->defaultBackendFormat(colorType, renderable); in createBackendTexture()
387 GrGpu* gpu = fContext->fGpu.get(); in createBackendTexture()