Home
last modified time | relevance | path

Searched refs:drawingManager (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/src/gpu/
DGrDDLTask.cpp37 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()
DGrSurfaceFillContext.cpp22 AutoCheckFlush(GrDrawingManager* drawingManager) : fDrawingManager(drawingManager) { in AutoCheckFlush() argument
265 fOpsTask = sk_ref_sp(context->priv().drawingManager()->getLastOpsTask(this->asSurfaceProxy())); in GrSurfaceFillContext()
279 AutoCheckFlush acf(this->drawingManager()); in fillRectWithFP()
307 this->getOpsTask()->addDrawOp(fContext->priv().drawingManager(), in addDrawOp()
313 GrTextureResolveManager(this->drawingManager()), in addDrawOp()
331 GrDrawingManager* drawingMgr = this->drawingManager(); in addOp()
343 sk_sp<GrOpsTask> newOpsTask = this->drawingManager()->newOpsTask( in getOpsTask()
355 SkASSERT(this->drawingManager()->getLastRenderTask(fWriteView.proxy()) == fOpsTask.get()); in onValidate()
366 AutoCheckFlush acf(this->drawingManager()); in discard()
DGrTextureResolveManager.h25 explicit GrTextureResolveManager(GrDrawingManager* drawingManager) in GrTextureResolveManager() argument
26 : fDrawingManager(drawingManager) {} in GrTextureResolveManager()
DGrSurfaceDrawContext.cpp75 #define ASSERT_OWNED_RESOURCE(R) SkASSERT(!(R) || (R)->getContext() == this->drawingManager()->getC…
86 AutoCheckFlush(GrDrawingManager* drawingManager) : fDrawingManager(drawingManager) { in AutoCheckFlush() argument
629 AutoCheckFlush acf(this->drawingManager()); in drawFilledQuad()
715 AutoCheckFlush acf(this->drawingManager()); in drawTexturedQuad()
756 AutoCheckFlush acf(this->drawingManager()); in drawRect()
931 GrPathRenderer* pr = this->drawingManager()->getPathRenderer( in stencilPath()
968 AutoCheckFlush acf(this->drawingManager()); in drawTextureSet()
988 AutoCheckFlush acf(this->drawingManager()); in drawVertices()
1013 AutoCheckFlush acf(this->drawingManager()); in drawAtlas()
1080 AutoCheckFlush acf(this->drawingManager()); in drawRRect()
[all …]
DGrDirectContextPriv.cpp66 return fContext->drawingManager()->flushSurfaces(proxies, access, info, newState); in flushSurfaces()
72 fContext->drawingManager()->createDDLTask(std::move(ddl), std::move(newDest), offset); in createDDLTask()
190 fContext->drawingManager()->testingOnly_removeOnFlushCallbackObject(cb); in testingOnly_flushAndRemoveOnFlushCallbackObject()
DGrRecordingContextPriv.h43 GrDrawingManager* drawingManager() { return fContext->drawingManager(); }
DGrRecordingContextPriv.cpp14 fContext->drawingManager()->moveRenderTasksToDDL(ddl); in moveRenderTasksToDDL()
DGrDirectContextPriv.h54 GrDrawingManager* drawingManager() { return fContext->drawingManager(); }
DGrSurfaceContext.h207 GrDrawingManager* drawingManager();
208 const GrDrawingManager* drawingManager() const;
DGrRecordingContext.cpp94 GrDrawingManager* GrRecordingContext::drawingManager() { in drawingManager() function in GrRecordingContext
156 this->drawingManager()->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject()
DGrSurfaceContext.cpp152 GrDrawingManager* GrSurfaceContext::drawingManager() { in drawingManager() function in GrSurfaceContext
153 return fContext->priv().drawingManager(); in drawingManager()
156 const GrDrawingManager* GrSurfaceContext::drawingManager() const { in drawingManager() function in GrSurfaceContext
157 return fContext->priv().drawingManager(); in drawingManager()
612 if (!dContext->priv().drawingManager()->newWritePixelsTask( in internalWritePixels()
1128 return this->drawingManager()->newCopyRenderTask(std::move(src), in copy()
1356 this->drawingManager()->newTransferFromRenderTask(this->asSurfaceProxyRef(), srcRect, in transferPixels()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp104 #define ASSERT_OWNED_RESOURCE(R) SkASSERT(!(R) || (R)->getContext() == this->drawingManager()->getC…
109 #define RETURN_IF_ABANDONED if (this->drawingManager()->wasAbandoned()) { return; }
110 #define RETURN_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned()) { re…
111 #define RETURN_FALSE_IF_ABANDONED if (this->drawingManager()->wasAbandoned()) { return false; }
112 #define RETURN_FALSE_IF_ABANDONED_PRIV if (fRenderTargetContext->drawingManager()->wasAbandoned())…
113 #define RETURN_NULL_IF_ABANDONED if (this->drawingManager()->wasAbandoned()) { return nullptr; }
144 AutoCheckFlush(GrDrawingManager* drawingManager) : fDrawingManager(drawingManager) { in AutoCheckFlush() argument
154 return this->drawingManager()->wasAbandoned(); in wasAbandoned()
226 fOpList = this->drawingManager()->newRTOpList(fRenderTargetProxy.get(), fManagedOpList); in getRTOpList()
251 GrTextContext* atlasTextContext = this->drawingManager()->getTextContext(); in drawGlyphRunList()
[all …]
DGrTextureContext.cpp18 #define RETURN_FALSE_IF_ABANDONED if (this->drawingManager()->wasAbandoned()) { return false; }
65 fOpList = this->drawingManager()->newTextureOpList(fTextureProxy.get()); in getOpList()
DGrSurfaceContext.h117 GrDrawingManager* drawingManager() { return fDrawingManager; } in drawingManager() function
118 const GrDrawingManager* drawingManager() const { return fDrawingManager; } in drawingManager() function
DGrContext.cpp474 auto tempCtx = this->drawingManager()->makeTextureContext( in writeSurfacePixels()
665 tempCtx = this->drawingManager()->makeRenderTargetContext(std::move(tempProxy), nullptr, in readSurfacePixels()
670 tempCtx = this->drawingManager()->makeTextureContext( in readSurfacePixels()
830 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), in makeWrappedSurfaceContext()
835 return this->drawingManager()->makeTextureContext(std::move(proxy), std::move(colorSpace)); in makeWrappedSurfaceContext()
879 return this->drawingManager()->makeTextureContext(std::move(proxy), std::move(colorSpace)); in makeBackendTextureContext()
897 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), in makeBackendTextureRenderTargetContext()
913 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), in makeBackendRenderTargetRenderTargetContext()
932 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), in makeBackendTextureAsRenderTargetRenderTargetContext()
946 return this->drawingManager()->makeRenderTargetContext(std::move(proxy), in makeVulkanSecondaryCBRenderTargetContext()
DGrSurfaceContext.cpp17 #define RETURN_FALSE_IF_ABANDONED if (this->drawingManager()->wasAbandoned()) { return false; }
/external/skqp/tests/
DDrawOpAtlasTest.cpp133 auto drawingManager = context->contextPriv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
135 GrOnFlushResourceProvider onFlushResourceProvider(drawingManager); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
187 auto drawingManager = context->contextPriv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
188 auto textContext = drawingManager->getTextContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGLProgramsTest.cpp259 GrDrawingManager* drawingManager = context->contextPriv().drawingManager(); in ProgramUnitTest() local
316 drawingManager->flush(nullptr); in ProgramUnitTest()
345 drawingManager->flush(nullptr); in ProgramUnitTest()
/external/skia/tests/
DGrMipMappedTest.cpp422 GrDrawingManager* drawingManager = dContext->priv().drawingManager(); variable
453 REPORTER_ASSERT(reporter, drawingManager->getLastRenderTask(mipmapProxy.get()));
457 drawingManager->getLastRenderTask(mipmapProxy.get()));
474 GrRenderTask* initialMipmapRegenTask = drawingManager->getLastRenderTask(mipmapProxy.get());
487 drawingManager->getLastRenderTask(mipmapProxy.get()) == initialMipmapRegenTask);
504 mipmapRTCTask.get() == drawingManager->getLastRenderTask(mipmapProxy.get()));
520 mipmapRTCTask.get() == drawingManager->getLastRenderTask(mipmapProxy.get()));
529 auto mipRegenTask2 = drawingManager->getLastRenderTask(mipmapProxy.get());
DDrawOpAtlasTest.cpp138 auto drawingManager = context->priv().drawingManager(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
141 GrOnFlushResourceProvider onFlushResourceProvider(drawingManager); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DOpChainTest.cpp207 GrDrawingManager* drawingMgr = dContext->priv().drawingManager();
242 GrTextureResolveManager(dContext->priv().drawingManager()),
DGrCCPRTest.cpp63 , fCCPR(fDContext->priv().drawingManager()->getCoverageCountingPathRenderer()) in CCPRPathDrawer()
236 if (dContext->priv().drawingManager()->getCoverageCountingPathRenderer()) { in run()
/external/skia/gm/
Dpreservefillrule.cpp59 auto* ccpr = rContext->priv().drawingManager()->getCoverageCountingPathRenderer(); in onDraw()
Dwidebuttcaps.cpp124 auto opts = context->priv().drawingManager()->testingOnly_getOptionsForPathRendererChain(); in onDraw()
/external/skia/src/image/
DSkImage_Gpu.cpp764 GrDrawingManager* drawingManager = dContext->priv().drawingManager(); in MakeFromAHardwareBufferWithData() local
765 if (!drawingManager) { in MakeFromAHardwareBufferWithData()
775 drawingManager->flush(SkMakeSpan(p), SkSurface::BackendSurfaceAccess::kNoAccess, {}, nullptr); in MakeFromAHardwareBufferWithData()

12