Lines Matching refs:fAtlas
159 GrSmallPathRenderer::GrSmallPathRenderer() : fAtlas(nullptr) {} in GrSmallPathRenderer()
266 fAtlas = atlas; in SmallPathOp()
279 const sk_sp<GrTextureProxy>* proxies = fAtlas->getProxies(); in visitProxies()
280 for (uint32_t i = 0; i < fAtlas->numActivePages(); ++i) { in visitProxies()
323 int numActiveProxies = fAtlas->numActivePages(); in onPrepareDraws()
324 const auto proxies = fAtlas->getProxies(); in onPrepareDraws()
355 *target->caps().shaderCaps(), *matrix, fWideColor, fAtlas->getProxies(), in onPrepareDraws()
356 fAtlas->numActivePages(), GrSamplerState::ClampBilerp(), flags); in onPrepareDraws()
366 *target->caps().shaderCaps(), this->color(), fWideColor, fAtlas->getProxies(), in onPrepareDraws()
367 fAtlas->numActivePages(), GrSamplerState::ClampNearest(), kA8_GrMaskFormat, in onPrepareDraws()
442 if (nullptr == shapeData || !fAtlas->hasID(shapeData->fID)) { in onPrepareDraws()
454 fAtlas, in onPrepareDraws()
467 if (nullptr == shapeData || !fAtlas->hasID(shapeData->fID)) { in onPrepareDraws()
478 fAtlas, in onPrepareDraws()
489 fAtlas->setLastUseToken(shapeData->fID, uploadTarget->tokenTracker()->nextDrawToken()); in onPrepareDraws()
491 this->writePathVertices(fAtlas, vertices, GrVertexColor(args.fColor, fWideColor), in onPrepareDraws()
777 int numAtlasTextures = SkToInt(fAtlas->numActivePages()); in flush()
778 auto proxies = fAtlas->getProxies(); in flush()
787 fAtlas->getProxies(), fAtlas->numActivePages(), GrSamplerState::ClampBilerp()); in flush()
790 fAtlas->getProxies(), fAtlas->numActivePages(), GrSamplerState::ClampNearest()); in flush()
858 GrDrawOpAtlas* fAtlas; member in GrSmallPathRenderer::SmallPathOp
874 if (!fAtlas) { in onDrawPath()
878 fAtlas = GrDrawOpAtlas::Make(args.fContext->contextPriv().proxyProvider(), in onDrawPath()
886 if (!fAtlas) { in onDrawPath()
892 args.fContext, std::move(args.fPaint), *args.fShape, *args.fViewMatrix, fAtlas.get(), in onDrawPath()
904 PathTestStruct() : fContextID(SK_InvalidGenID), fAtlas(nullptr) {} in PathTestStruct()
916 fAtlas = nullptr; in reset()
937 std::unique_ptr<GrDrawOpAtlas> fAtlas; member
968 gTestStruct.fAtlas = GrDrawOpAtlas::Make(context->contextPriv().proxyProvider(), in GR_DRAW_OP_TEST_DEFINE()
985 gTestStruct.fAtlas.get(), in GR_DRAW_OP_TEST_DEFINE()