/third_party/skia/src/gpu/v1/ |
D | SurfaceFillContext_v1.cpp | 25 AutoCheckFlush(GrDrawingManager* drawingManager) : fDrawingManager(drawingManager) { in AutoCheckFlush() argument 50 fOpsTask = sk_ref_sp(rContext->priv().drawingManager()->getLastOpsTask(this->asSurfaceProxy())); in SurfaceFillContext() 62 AutoCheckFlush acf(this->drawingManager()); in fillRectWithFP() 90 this->getOpsTask()->addDrawOp(fContext->priv().drawingManager(), in addDrawOp() 96 GrTextureResolveManager(this->drawingManager()), in addDrawOp() 118 GrDrawingManager* drawingMgr = this->drawingManager(); in addOp() 141 sk_sp<OpsTask> newOpsTask = this->drawingManager()->newOpsTask( in replaceOpsTask() 151 SkASSERT(this->drawingManager()->getLastRenderTask(fWriteView.proxy()) == fOpsTask.get()); in onValidate() 162 AutoCheckFlush acf(this->drawingManager()); in discard()
|
D | SurfaceDrawContext.cpp | 74 #define ASSERT_OWNED_RESOURCE(R) SkASSERT(!(R) || (R)->getContext() == this->drawingManager()->getC… 117 AutoCheckFlush(GrDrawingManager* drawingManager) : fDrawingManager(drawingManager) { in AutoCheckFlush() argument 619 AutoCheckFlush acf(this->drawingManager()); in drawFilledQuad() 705 AutoCheckFlush acf(this->drawingManager()); in drawTexturedQuad() 746 AutoCheckFlush acf(this->drawingManager()); in drawRect() 930 auto pr = this->drawingManager()->getPathRenderer(canDrawArgs, in stencilPath() 968 AutoCheckFlush acf(this->drawingManager()); in drawTextureSet() 987 AutoCheckFlush acf(this->drawingManager()); in drawVertices() 1015 AutoCheckFlush acf(this->drawingManager()); in drawAtlas() 1082 AutoCheckFlush acf(this->drawingManager()); in drawRRect() [all …]
|
/third_party/skia/src/gpu/ |
D | GrDDLTask.cpp | 37 void GrDDLTask::endFlush(GrDrawingManager* drawingManager) { in endFlush() argument 39 task->endFlush(drawingManager); in endFlush() 42 INHERITED::endFlush(drawingManager); in endFlush() 45 void GrDDLTask::disown(GrDrawingManager* drawingManager) { in disown() argument 47 task->disown(drawingManager); in disown() 50 INHERITED::disown(drawingManager); in disown()
|
D | GrTextureResolveManager.h | 25 explicit GrTextureResolveManager(GrDrawingManager* drawingManager) in GrTextureResolveManager() argument 26 : fDrawingManager(drawingManager) {} in GrTextureResolveManager()
|
D | GrDirectContextPriv.cpp | 60 return this->context()->drawingManager()->flushSurfaces(proxies, access, info, newState); in flushSurfaces() 66 this->context()->drawingManager()->createDDLTask(std::move(ddl), std::move(newDest), offset); in createDDLTask() 184 this->context()->drawingManager()->testingOnly_removeOnFlushCallbackObject(cb); in testingOnly_flushAndRemoveOnFlushCallbackObject()
|
D | GrRecordingContextPriv.h | 38 GrDrawingManager* drawingManager() { return this->context()->drawingManager(); } in drawingManager() function
|
D | SurfaceContext.h | 187 GrDrawingManager* drawingManager(); 188 const GrDrawingManager* drawingManager() const;
|
D | GrRecordingContext.cpp | 102 GrDrawingManager* GrRecordingContext::drawingManager() { in drawingManager() function in GrRecordingContext 164 this->drawingManager()->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject()
|
D | SurfaceContext.cpp | 48 GrDrawingManager* SurfaceContext::drawingManager() { in drawingManager() function in skgpu::SurfaceContext 49 return fContext->priv().drawingManager(); in drawingManager() 52 const GrDrawingManager* SurfaceContext::drawingManager() const { in drawingManager() function in skgpu::SurfaceContext 53 return fContext->priv().drawingManager(); in drawingManager() 523 if (!dContext->priv().drawingManager()->newWritePixelsTask( in internalWritePixels() 1056 return this->drawingManager()->newCopyRenderTask(std::move(src), in copy() 1281 this->drawingManager()->newTransferFromRenderTask(this->asSurfaceProxyRef(), srcRect, in transferPixels()
|
/third_party/flutter/skia/src/gpu/ |
D | GrRecordingContext.cpp | 114 GrDrawingManager* GrRecordingContext::drawingManager() { in drawingManager() function in GrRecordingContext 143 this->drawingManager()->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject() 158 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), colorType, in makeWrappedSurfaceContext() 163 return this->drawingManager()->makeTextureContext(std::move(proxy), colorType, alphaType, in makeWrappedSurfaceContext() 205 auto drawingManager = this->drawingManager(); in makeDeferredTextureContext() local 207 return drawingManager->makeTextureContext(std::move(texture), colorType, alphaType, in makeDeferredTextureContext() 254 auto drawingManager = this->drawingManager(); in makeDeferredRenderTargetContext() local 256 sk_sp<GrRenderTargetContext> renderTargetContext = drawingManager->makeRenderTargetContext( in makeDeferredRenderTargetContext()
|
D | GrContextPriv.cpp | 114 return this->drawingManager()->makeTextureContext(std::move(proxy), colorType, alphaType, in makeBackendTextureContext() 137 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), colorType, in makeBackendTextureRenderTargetContext() 157 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), colorType, in makeBackendRenderTargetRenderTargetContext() 177 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), colorType, in makeBackendTextureAsRenderTargetRenderTargetContext() 190 return this->drawingManager()->makeRenderTargetContext( in makeVulkanSecondaryCBRenderTargetContext() 208 return fContext->drawingManager()->flushSurfaces( in flushSurfaces() 217 fContext->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL() 222 fContext->drawingManager()->copyRenderTasksFromDDL(ddl, newDest); in copyRenderTasksFromDDL() 300 fContext->drawingManager()->testingOnly_removeOnFlushCallbackObject(cb); in testingOnly_flushAndRemoveOnFlushCallbackObject()
|
D | GrRenderTargetContext.cpp | 116 #define ASSERT_OWNED_RESOURCE(R) SkASSERT(!(R) || (R)->getContext() == this->drawingManager()->getC… 131 AutoCheckFlush(GrDrawingManager* drawingManager) : fDrawingManager(drawingManager) { in AutoCheckFlush() argument 210 fOpList = this->drawingManager()->newRTOpList(fRenderTargetProxy, fManagedOpList); in getRTOpList() 235 GrTextContext* atlasTextContext = this->drawingManager()->getTextContext(); in drawGlyphRunList() 246 AutoCheckFlush acf(this->drawingManager()); in discard() 259 AutoCheckFlush acf(this->drawingManager()); in clear() 273 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in clear() 358 AutoCheckFlush acf(fRenderTargetContext->drawingManager()); in absClear() 640 AutoCheckFlush acf(this->drawingManager()); in drawFilledQuad() 682 AutoCheckFlush acf(this->drawingManager()); in drawTexturedQuad() [all …]
|
D | GrContext.cpp | 57 if (this->drawingManager()) { in ~GrContext() 58 this->drawingManager()->cleanup(); in ~GrContext() 120 this->drawingManager()->cleanup(); in abandonContext() 140 this->drawingManager()->cleanup(); in releaseResourcesAndAbandonContext() 167 this->drawingManager()->freeGpuResources(); in freeGpuResources() 202 if (auto ccpr = this->drawingManager()->getCoverageCountingPathRenderer()) { in performDeferredCleanup() 283 return this->drawingManager()->flush(nullptr, 0, SkSurface::BackendSurfaceAccess::kNoAccess, in flush()
|
D | GrTextureResolveManager.h | 26 explicit GrTextureResolveManager(GrDrawingManager* drawingManager) in GrTextureResolveManager() argument 27 : fDrawingManager(drawingManager) {} in GrTextureResolveManager()
|
D | GrTextureContext.cpp | 17 #define RETURN_FALSE_IF_ABANDONED if (this->drawingManager()->wasAbandoned()) { return false; } 62 fOpList = this->drawingManager()->newTextureOpList(fTextureProxy); in getOpList()
|
D | GrRecordingContextPriv.h | 44 GrDrawingManager* drawingManager() { return fContext->drawingManager(); }
|
D | GrSurfaceContext.h | 110 GrDrawingManager* drawingManager(); 111 const GrDrawingManager* drawingManager() const;
|
D | GrContextPriv.h | 60 GrDrawingManager* drawingManager() { return fContext->drawingManager(); }
|
D | GrSurfaceContext.cpp | 47 GrDrawingManager* GrSurfaceContext::drawingManager() { in drawingManager() function in GrSurfaceContext 48 return fContext->priv().drawingManager(); in drawingManager() 51 const GrDrawingManager* GrSurfaceContext::drawingManager() const { in drawingManager() function in GrSurfaceContext 52 return fContext->priv().drawingManager(); in drawingManager() 323 auto tempCtx = direct->priv().drawingManager()->makeTextureContext( in writePixels()
|
/third_party/flutter/skia/tests/ |
D | GrMipMappedTest.cpp | 342 GrDrawingManager* drawingManager, GrProxyProvider* proxyProvider, GrColorType colorType, in draw_mipmap_into_new_render_target() argument 351 sk_sp<GrRenderTargetContext> rtc = drawingManager->makeRenderTargetContext( in draw_mipmap_into_new_render_target() 371 GrDrawingManager* drawingManager = context->priv().drawingManager(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 384 sk_sp<GrRenderTargetContext> mipmapRTC = drawingManager->makeRenderTargetContext( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 395 drawingManager, proxyProvider, colorType, mipmapProxy, GrSamplerState::Filter::kMipMap); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 409 drawingManager, proxyProvider, colorType, mipmapProxy, GrSamplerState::Filter::kMipMap); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 430 drawingManager, proxyProvider, colorType, mipmapProxy, GrSamplerState::Filter::kBilerp); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 439 drawingManager, proxyProvider, colorType, mipmapProxy, GrSamplerState::Filter::kMipMap); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | DrawOpAtlasTest.cpp | 136 auto drawingManager = context->priv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 139 GrOnFlushResourceProvider onFlushResourceProvider(drawingManager); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 191 auto drawingManager = context->priv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 192 auto textContext = drawingManager->getTextContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GLProgramsTest.cpp | 262 GrDrawingManager* drawingManager = context->priv().drawingManager(); in ProgramUnitTest() local 322 drawingManager->flush(nullptr, 0, SkSurface::BackendSurfaceAccess::kNoAccess, GrFlushInfo(), in ProgramUnitTest() 349 drawingManager->flush(nullptr, 0, SkSurface::BackendSurfaceAccess::kNoAccess, in ProgramUnitTest()
|
/third_party/skia/tests/ |
D | GrMipMappedTest.cpp | 424 GrDrawingManager* drawingManager = dContext->priv().drawingManager(); variable 455 REPORTER_ASSERT(reporter, drawingManager->getLastRenderTask(mipmapProxy.get())); 459 drawingManager->getLastRenderTask(mipmapProxy.get())); 476 GrRenderTask* initialMipmapRegenTask = drawingManager->getLastRenderTask(mipmapProxy.get()); 489 drawingManager->getLastRenderTask(mipmapProxy.get()) == initialMipmapRegenTask); 506 mipmapRTCTask.get() == drawingManager->getLastRenderTask(mipmapProxy.get())); 522 mipmapRTCTask.get() == drawingManager->getLastRenderTask(mipmapProxy.get())); 531 auto mipRegenTask2 = drawingManager->getLastRenderTask(mipmapProxy.get());
|
D | DrawOpAtlasTest.cpp | 137 auto drawingManager = context->priv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 140 GrOnFlushResourceProvider onFlushResourceProvider(drawingManager); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/flutter/skia/src/image/ |
D | SkImage_Gpu.cpp | 595 GrDrawingManager* drawingManager = context->priv().drawingManager(); in MakeFromAHardwareBufferWithData() local 596 if (!drawingManager) { in MakeFromAHardwareBufferWithData() 601 drawingManager->makeTextureContext(proxy, SkColorTypeToGrColorType(pixmap.colorType()), in MakeFromAHardwareBufferWithData() 614 drawingManager->flush(p, 1, SkSurface::BackendSurfaceAccess::kNoAccess, info, in MakeFromAHardwareBufferWithData()
|