Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp25 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()
DSurfaceDrawContext.cpp74 #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/
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()
DGrTextureResolveManager.h25 explicit GrTextureResolveManager(GrDrawingManager* drawingManager) in GrTextureResolveManager() argument
26 : fDrawingManager(drawingManager) {} in GrTextureResolveManager()
DGrDirectContextPriv.cpp60 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()
DGrRecordingContextPriv.h38 GrDrawingManager* drawingManager() { return this->context()->drawingManager(); } in drawingManager() function
DSurfaceContext.h187 GrDrawingManager* drawingManager();
188 const GrDrawingManager* drawingManager() const;
DGrRecordingContext.cpp102 GrDrawingManager* GrRecordingContext::drawingManager() { in drawingManager() function in GrRecordingContext
164 this->drawingManager()->addOnFlushCallbackObject(onFlushCBObject); in addOnFlushCallbackObject()
DSurfaceContext.cpp48 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/
DGrRecordingContext.cpp114 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()
DGrContextPriv.cpp114 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()
DGrRenderTargetContext.cpp116 #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 …]
DGrContext.cpp57 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()
DGrTextureResolveManager.h26 explicit GrTextureResolveManager(GrDrawingManager* drawingManager) in GrTextureResolveManager() argument
27 : fDrawingManager(drawingManager) {} in GrTextureResolveManager()
DGrTextureContext.cpp17 #define RETURN_FALSE_IF_ABANDONED if (this->drawingManager()->wasAbandoned()) { return false; }
62 fOpList = this->drawingManager()->newTextureOpList(fTextureProxy); in getOpList()
DGrRecordingContextPriv.h44 GrDrawingManager* drawingManager() { return fContext->drawingManager(); }
DGrSurfaceContext.h110 GrDrawingManager* drawingManager();
111 const GrDrawingManager* drawingManager() const;
DGrContextPriv.h60 GrDrawingManager* drawingManager() { return fContext->drawingManager(); }
DGrSurfaceContext.cpp47 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/
DGrMipMappedTest.cpp342 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()
DDrawOpAtlasTest.cpp136 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()
DGLProgramsTest.cpp262 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/
DGrMipMappedTest.cpp424 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());
DDrawOpAtlasTest.cpp137 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/
DSkImage_Gpu.cpp595 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()

12