/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCPerFlushResources.cpp | 168 GrOnFlushResourceProvider* onFlushRP, CoverageType coverageType, in GrCCPerFlushResources() argument 186 onFlushRP->caps()) in GrCCPerFlushResources() 187 , fRenderedAtlasStack(coverageType, specs.fRenderedAtlasSpecs, onFlushRP->caps()) in GrCCPerFlushResources() 188 , fIndexBuffer(GrCCPathProcessor::FindIndexBuffer(onFlushRP)) in GrCCPerFlushResources() 189 , fVertexBuffer(GrCCPathProcessor::FindVertexBuffer(onFlushRP)) in GrCCPerFlushResources() 190 , fInstanceBuffer(onFlushRP->makeBuffer(GrGpuBufferType::kVertex, in GrCCPerFlushResources() 214 fStencilResolveBuffer = onFlushRP->makeBuffer( in GrCCPerFlushResources() 229 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, GrCCPathCacheEntry* entry, in upgradeEntryToLiteralCoverageAtlas() argument 261 entry->upgradeToLiteralCoverageAtlas(pathCache, onFlushRP, newAtlas, newAtlasOffset)) { in upgradeEntryToLiteralCoverageAtlas() 502 bool GrCCPerFlushResources::finalize(GrOnFlushResourceProvider* onFlushRP, in finalize() argument [all …]
|
D | GrCCPathProcessor.cpp | 39 sk_sp<const GrGpuBuffer> GrCCPathProcessor::FindVertexBuffer(GrOnFlushResourceProvider* onFlushRP) { in FindVertexBuffer() argument 41 return onFlushRP->findOrMakeStaticBuffer(GrGpuBufferType::kVertex, sizeof(kOctoEdgeNorms), in FindVertexBuffer() 69 sk_sp<const GrGpuBuffer> GrCCPathProcessor::FindIndexBuffer(GrOnFlushResourceProvider* onFlushRP) { in FindIndexBuffer() argument 71 if (onFlushRP->caps()->usePrimitiveRestart()) { in FindIndexBuffer() 72 return onFlushRP->findOrMakeStaticBuffer(GrGpuBufferType::kIndex, in FindIndexBuffer() 76 return onFlushRP->findOrMakeStaticBuffer(GrGpuBufferType::kIndex, in FindIndexBuffer()
|
D | GrCoverageCountingPathRenderer.cpp | 229 void GrCoverageCountingPathRenderer::preFlush(GrOnFlushResourceProvider* onFlushRP, in preFlush() argument 246 int maxPreferredRTSize = onFlushRP->caps()->maxPreferredRenderTargetSize(); in preFlush() 265 op->accountForOwnPaths(fPathCache.get(), onFlushRP, &specs); in preFlush() 286 auto resources = sk_make_sp<GrCCPerFlushResources>(onFlushRP, fCoverageType, specs); in preFlush() 294 op->setupResources(fPathCache.get(), onFlushRP, resources.get(), doCopies); in preFlush() 297 clipsIter.second.renderPathInAtlas(resources.get(), onFlushRP); in preFlush() 304 fPathCache->purgeInvalidatedAtlasTextures(onFlushRP); in preFlush() 308 if (!resources->finalize(onFlushRP, out)) { in preFlush()
|
D | GrCCPathCache.cpp | 162 GrOnFlushResourceProvider* onFlushRP, const GrShape& shape, in find() argument 233 if (sk_sp<GrTextureProxy> onFlushProxy = onFlushRP->findOrCreateProxyByUniqueKey( in find() 297 void GrCCPathCache::purgeInvalidatedAtlasTextures(GrOnFlushResourceProvider* onFlushRP) { in purgeInvalidatedAtlasTextures() argument 299 onFlushRP->removeUniqueKeyFromProxy(proxy.get()); in purgeInvalidatedAtlasTextures() 304 onFlushRP->processInvalidUniqueKey(key); in purgeInvalidatedAtlasTextures() 357 GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, const SkIVector& atlasOffset, in setCoverageCountAtlas() argument 368 fCachedAtlas = atlas->refOrMakeCachedAtlas(onFlushRP); in setCoverageCountAtlas() 379 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, in upgradeToLiteralCoverageAtlas() argument 388 fCachedAtlas = atlas->refOrMakeCachedAtlas(onFlushRP); in upgradeToLiteralCoverageAtlas()
|
D | GrCCDrawPathsOp.cpp | 223 GrOnFlushResourceProvider* onFlushRP, in accountForOwnPaths() argument 226 draw.accountForOwnPath(pathCache, onFlushRP, specs); in accountForOwnPaths() 231 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, in accountForOwnPath() argument 242 onFlushRP, fShape, fMaskDevIBounds, fMatrix, &fCachedMaskShift); in accountForOwnPath() 264 if (this->shouldCachePathMask(onFlushRP->caps()->maxRenderTargetSize())) { in accountForOwnPath() 317 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, in setupResources() argument 324 draw.setupResources(pathCache, onFlushRP, resources, doCopies, this); in setupResources() 333 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, in setupResources() argument 348 pathCache, onFlushRP, fCacheEntry.get(), fillRule); in setupResources() 399 onFlushRP, atlas, devToAtlasOffset, octoBounds, devIBounds, fCachedMaskShift); in setupResources()
|
D | GrCCAtlas.cpp | 200 sk_sp<GrCCCachedAtlas> GrCCAtlas::refOrMakeCachedAtlas(GrOnFlushResourceProvider* onFlushRP) { in refOrMakeCachedAtlas() argument 209 onFlushRP->assignUniqueKeyToProxy(atlasUniqueKey, fTextureProxy.get()); in refOrMakeCachedAtlas() 220 GrOnFlushResourceProvider* onFlushRP, sk_sp<GrTexture> backingTexture) { in makeRenderTargetContext() argument 225 SkASSERT(fMaxTextureSize <= onFlushRP->caps()->maxRenderTargetSize()); in makeRenderTargetContext() 245 onFlushRP->makeRenderTargetContext(fTextureProxy, colorType, nullptr, nullptr); in makeRenderTargetContext()
|
D | GrCCClipPath.cpp | 68 GrOnFlushResourceProvider* onFlushRP) { in renderPathInAtlas() argument
|
D | GrCCStroker.cpp | 366 InstanceBufferBuilder(GrOnFlushResourceProvider* onFlushRP, GrCCStroker* stroker) { in InstanceBufferBuilder() argument 375 fInstanceBuffer = onFlushRP->makeBuffer(GrGpuBufferType::kVertex, in InstanceBufferBuilder() 574 bool GrCCStroker::prepareToDraw(GrOnFlushResourceProvider* onFlushRP) { in prepareToDraw() argument 609 InstanceBufferBuilder builder(onFlushRP, this); in prepareToDraw()
|
D | GrCCFiller.cpp | 305 bool GrCCFiller::prepareToDraw(GrOnFlushResourceProvider* onFlushRP) { in prepareToDraw() argument 354 onFlushRP->makeBuffer(GrGpuBufferType::kVertex, quadEndIdx * sizeof(QuadPointInstance)); in prepareToDraw()
|
/third_party/skia/src/gpu/ops/ |
D | SmallPathAtlasMgr.h | 53 void preFlush(GrOnFlushResourceProvider* onFlushRP, in preFlush() argument 56 fAtlas->instantiate(onFlushRP); in preFlush()
|
D | AtlasRenderTask.h | 44 void instantiate(GrOnFlushResourceProvider* onFlushRP, 47 fDynamicAtlas->instantiate(onFlushRP, std::move(backingTexture));
|
D | AtlasPathRenderer.cpp | 390 void AtlasPathRenderer::preFlush(GrOnFlushResourceProvider* onFlushRP, in preFlush() argument 401 fAtlasRenderTasks[0]->instantiate(onFlushRP); in preFlush() 409 atlasTask->instantiate(onFlushRP, sk_ref_sp(firstAtlasTexture)); in preFlush() 416 atlasTask->instantiate(onFlushRP); in preFlush()
|
/third_party/skia/src/gpu/ |
D | GrDynamicAtlas.cpp | 188 void GrDynamicAtlas::instantiate(GrOnFlushResourceProvider* onFlushRP, in instantiate() argument 194 SkASSERT(fMaxAtlasSize <= onFlushRP->caps()->maxRenderTargetSize()); in instantiate() 213 onFlushRP->instatiateProxy(fTextureProxy.get()); in instantiate()
|
/third_party/skia/src/gpu/text/ |
D | GrAtlasManager.h | 102 void preFlush(GrOnFlushResourceProvider* onFlushRP, SkSpan<const uint32_t>) override { in preFlush() argument 105 fAtlases[i]->instantiate(onFlushRP); in preFlush()
|
/third_party/flutter/skia/samplecode/ |
D | SampleCCPRGeometry.cpp | 389 GrOnFlushResourceProvider onFlushRP(context->priv().drawingManager()); in onExecute() local 390 stroker.prepareToDraw(&onFlushRP); in onExecute()
|