Searched refs:onFlushRP (Results 1 - 8 of 8) sorted by relevance
/external/skia/src/gpu/ccpr/ |
H A D | GrCCPathProcessor.cpp | 39 sk_sp<const GrBuffer> GrCCPathProcessor::FindVertexBuffer(GrOnFlushResourceProvider* onFlushRP) { argument 41 return onFlushRP->findOrMakeStaticBuffer(kVertex_GrBufferType, sizeof(kOctoEdgeNorms), 66 sk_sp<const GrBuffer> GrCCPathProcessor::FindIndexBuffer(GrOnFlushResourceProvider* onFlushRP) { argument 68 if (onFlushRP->caps()->usePrimitiveRestart()) { 69 return onFlushRP->findOrMakeStaticBuffer(kIndex_GrBufferType, sizeof(kOctoIndicesAsStrips), 72 return onFlushRP->findOrMakeStaticBuffer(kIndex_GrBufferType, sizeof(kOctoIndicesAsTris),
|
H A D | GrCoverageCountingPathRenderer.cpp | 268 void GrCoverageCountingPathRenderer::preFlush(GrOnFlushResourceProvider* onFlushRP, argument 325 fPerFlushIndexBuffer = GrCCPathProcessor::FindIndexBuffer(onFlushRP); 331 fPerFlushVertexBuffer = GrCCPathProcessor::FindVertexBuffer(onFlushRP); 338 onFlushRP->makeBuffer(kVertex_GrBufferType, maxTotalPaths * sizeof(PathInstance)); 364 pathInstanceIdx = op->setupResources(onFlushRP, pathInstanceData, pathInstanceIdx); 370 clipsIter.second.placePathInAtlas(this, onFlushRP, fPerFlushPathParser.get()); 383 if (!fPerFlushPathParser->finalize(onFlushRP)) { 391 if (auto rtc = atlasIter.get()->finalize(onFlushRP, fPerFlushPathParser)) { 399 int CCPR::DrawPathsOp::setupResources(GrOnFlushResourceProvider* onFlushRP, argument 419 GrCCAtlas* atlas = fCCPR->placeParsedPathInAtlas(onFlushRP, dra 450 placePathInAtlas(GrCoverageCountingPathRenderer* ccpr, GrOnFlushResourceProvider* onFlushRP, GrCCPathParser* parser) argument 461 placeParsedPathInAtlas( GrOnFlushResourceProvider* onFlushRP, const SkIRect& clipIBounds, const SkIRect& pathIBounds, int16_t* atlasOffsetX, int16_t* atlasOffsetY) argument [all...] |
H A D | GrCCAtlas.cpp | 142 sk_sp<GrRenderTargetContext> GrCCAtlas::finalize(GrOnFlushResourceProvider* onFlushRP, argument 153 sk_sp<GrRenderTargetContext> rtc = onFlushRP->makeRenderTargetContext(desc, nullptr, nullptr);
|
H A D | GrCCPathParser.cpp | 343 bool GrCCPathParser::finalize(GrOnFlushResourceProvider* onFlushRP) { argument 384 fInstanceBuffer = onFlushRP->makeBuffer(kVertex_GrBufferType,
|
/external/skqp/src/gpu/ccpr/ |
H A D | GrCCPathProcessor.cpp | 39 sk_sp<const GrBuffer> GrCCPathProcessor::FindVertexBuffer(GrOnFlushResourceProvider* onFlushRP) { argument 41 return onFlushRP->findOrMakeStaticBuffer(kVertex_GrBufferType, sizeof(kOctoEdgeNorms), 66 sk_sp<const GrBuffer> GrCCPathProcessor::FindIndexBuffer(GrOnFlushResourceProvider* onFlushRP) { argument 68 if (onFlushRP->caps()->usePrimitiveRestart()) { 69 return onFlushRP->findOrMakeStaticBuffer(kIndex_GrBufferType, sizeof(kOctoIndicesAsStrips), 72 return onFlushRP->findOrMakeStaticBuffer(kIndex_GrBufferType, sizeof(kOctoIndicesAsTris),
|
H A D | GrCoverageCountingPathRenderer.cpp | 271 void GrCoverageCountingPathRenderer::preFlush(GrOnFlushResourceProvider* onFlushRP, argument 328 fPerFlushIndexBuffer = GrCCPathProcessor::FindIndexBuffer(onFlushRP); 334 fPerFlushVertexBuffer = GrCCPathProcessor::FindVertexBuffer(onFlushRP); 341 onFlushRP->makeBuffer(kVertex_GrBufferType, maxTotalPaths * sizeof(PathInstance)); 367 pathInstanceIdx = op->setupResources(onFlushRP, pathInstanceData, pathInstanceIdx); 373 clipsIter.second.placePathInAtlas(this, onFlushRP, fPerFlushPathParser.get()); 386 if (!fPerFlushPathParser->finalize(onFlushRP)) { 394 if (auto rtc = atlasIter.get()->finalize(onFlushRP, fPerFlushPathParser)) { 402 int CCPR::DrawPathsOp::setupResources(GrOnFlushResourceProvider* onFlushRP, argument 422 GrCCAtlas* atlas = fCCPR->placeParsedPathInAtlas(onFlushRP, dra 453 placePathInAtlas(GrCoverageCountingPathRenderer* ccpr, GrOnFlushResourceProvider* onFlushRP, GrCCPathParser* parser) argument 464 placeParsedPathInAtlas( GrOnFlushResourceProvider* onFlushRP, const SkIRect& clipIBounds, const SkIRect& pathIBounds, int16_t* atlasOffsetX, int16_t* atlasOffsetY) argument [all...] |
H A D | GrCCAtlas.cpp | 135 sk_sp<GrRenderTargetContext> GrCCAtlas::finalize(GrOnFlushResourceProvider* onFlushRP, argument 144 sk_sp<GrRenderTargetContext> rtc = onFlushRP->makeRenderTargetContext(desc, nullptr, nullptr);
|
H A D | GrCCPathParser.cpp | 235 bool GrCCPathParser::finalize(GrOnFlushResourceProvider* onFlushRP) { argument 272 fInstanceBuffer = onFlushRP->makeBuffer(kVertex_GrBufferType,
|
Completed in 155 milliseconds