/external/skia/tools/skottie_ios_app/ |
D | SkiaMetalContext.mm | 30 GrDirectContext* fDContext; 39 fDContext = dContext; 48 if (!viewController || ![[self currentDrawable] texture] || !fDContext) { 52 sk_sp<SkSurface> surface = SkMtkViewToSurface(self, fDContext); 80 sk_sp<GrDirectContext> fDContext; 91 fDContext = GrDirectContext::MakeMetal((__bridge void*)[self metalDevice], 95 if (!fDContext) { 106 grDevice:fDContext.get()];
|
D | SkiaGLContext.mm | 61 GrDirectContext* fDContext; 68 fDContext = dContext; 82 if (!(fDContext)) { 86 if (sk_sp<SkSurface> surface = make_gl_surface(fDContext, width, height)) { 110 sk_sp<GrDirectContext> fDContext; 125 fDContext = GrDirectContext::MakeGL(nullptr, GrContextOptions()); 127 if (!fDContext) { 137 withDirectContext:fDContext.get()];
|
/external/skia/tests/ |
D | GrCCPRTest.cpp | 62 : fDContext(dContext) in CCPRPathDrawer() 63 , fCCPR(fDContext->priv().drawingManager()->getCoverageCountingPathRenderer()) in CCPRPathDrawer() 65 fDContext.get(), GrColorType::kRGBA_8888, nullptr, SkBackingFit::kExact, in CCPRPathDrawer() 75 GrDirectContext* dContext() const { return fDContext.get(); } in dContext() 81 SkASSERT(fDContext->unique()); in destroyGrContext() 84 fDContext.reset(); in destroyGrContext() 100 fDContext->flushAndSubmit(); in flush() 104 sk_sp<GrDirectContext> fDContext; member in CCPRPathDrawer
|
D | VkDrawableTest.cpp | 40 , fDContext(dContext) in TestDrawable() 139 td->fDrawContext = GrVkSecondaryCBDrawContext::Make(td->fDContext, bufferInfo, in ImportDraw() 156 sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget(td->fDContext, SkBudgeted::kYes, in ImportDraw() 175 td->fDContext->submit(true); in ImportSubmitted() 184 td->fDContext->releaseResourcesAndAbandonContext(); in ImportSubmitted() 196 if (fDContext) { in onSnapGpuDrawHandler() 215 GrDirectContext* fDContext; member in TestDrawable
|
D | GrThreadSafeCacheTest.cpp | 115 : fDContext(dContext) in TestHelper() 134 fDContext->flush(); in ~TestHelper() 135 fDContext->submit(true); in ~TestHelper() 142 GrDirectContext* dContext() { return fDContext; } in dContext() 166 GrThreadSafeCache* threadSafeCache() { return fDContext->priv().threadSafeCache(); } in threadSafeCache() 167 const GrThreadSafeCache* threadSafeCache() const { return fDContext->priv().threadSafeCache(); } in threadSafeCache() 256 GrProxyProvider* directProxyProvider = fDContext->priv().proxyProvider(); in checkView() 265 auto resourceProvider = fDContext->priv().resourceProvider(); in checkView() 332 auto resourceProvider = fDContext->priv().resourceProvider(); in checkVert() 372 sk_sp<SkSurface> tmp = SkSurface::MakeRenderTarget(fDContext, in checkImage() [all …]
|
D | ResourceCacheTest.cpp | 330 fDContext = GrDirectContext::MakeMock(nullptr); in Mock() 331 SkASSERT(fDContext); in Mock() 332 fDContext->setResourceCacheLimit(maxBytes); in Mock() 333 GrResourceCache* cache = fDContext->priv().getResourceCache(); in Mock() 338 GrResourceCache* cache() { return fDContext->priv().getResourceCache(); } in cache() 339 GrGpu* gpu() { return fDContext->priv().getGpu(); } in gpu() 340 GrDirectContext* dContext() { return fDContext.get(); } in dContext() 343 fDContext.reset(); in reset() 347 sk_sp<GrDirectContext> fDContext; member in Mock
|
/external/skia/src/core/ |
D | SkDeferredDisplayList.cpp | 50 : fDContext(dContext) in ProgramIterator() 58 if (!fDContext || fIndex < 0 || fIndex >= (int) fProgramData.size()) { in compile() 62 return fDContext->priv().compile(fProgramData[fIndex].desc(), fProgramData[fIndex].info()); in compile()
|
/external/skia/tools/gpu/ |
D | ManagedBackendTexture.h | 95 sk_sp<GrDirectContext> fDContext; variable 103 mbet->fDContext = sk_ref_sp(dContext); in MakeWithData() 123 mbet->fDContext = sk_ref_sp(dContext); in MakeWithoutData()
|
D | ManagedBackendTexture.cpp | 35 if (fDContext && fTexture.isValid()) { in ~ManagedBackendTexture() 36 fDContext->deleteBackendTexture(fTexture); in ~ManagedBackendTexture()
|
/external/skia/src/gpu/ |
D | GrResourceAllocator.cpp | 60 auto resourceProvider = fDContext->priv().resourceProvider(); 273 auto resourceProvider = fDContext->priv().resourceProvider(); in findOrCreateRegisterFor() 287 proxy->priv().computeScratchKey(*fDContext->priv().caps(), &scratchKey); in findOrCreateRegisterFor() 307 if (r && r->isRecyclable(*fDContext->priv().caps(), intvl->proxy(), intvl->uses())) { in expire() 329 auto resourceProvider = fDContext->priv().resourceProvider(); in planAssignment() 387 return fDContext->priv().getResourceCache()->purgeToMakeHeadroom(additionalBytesNeeded); in makeBudgetHeadroom() 411 auto resourceProvider = fDContext->priv().resourceProvider(); in assign()
|
D | GrResourceAllocator.h | 72 : fDContext(dContext) {} in GrResourceAllocator() 265 GrDirectContext* fDContext; variable
|
/external/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.h | 39 GrDirectContext* fDContext; variable
|
D | VkYcbcrSamplerHelper.cpp | 26 return (GrVkGpu*) fDContext->priv().getGpu(); in vkGpu() 29 VkYcbcrSamplerHelper::VkYcbcrSamplerHelper(GrDirectContext* dContext) : fDContext(dContext) { in VkYcbcrSamplerHelper()
|
/external/skia/include/core/ |
D | SkDeferredDisplayList.h | 55 GrDirectContext* fDContext;
|