Home
last modified time | relevance | path

Searched refs:fQuads (Results 1 – 4 of 4) sorted by relevance

/external/skia/bench/
DGrQuadBench.cpp35 fQuads[i].xs()[j] = r.nextRangeF(-100.f, 100.f); in onDelayedSetup()
36 fQuads[i].ys()[j] = r.nextRangeF(-100.f, 100.f); in onDelayedSetup()
40 fQuads[i].ws()[j] = r.nextRangeF(-1.f, 10.f); in onDelayedSetup()
42 fQuads[i].ws()[j] = 1.f; in onDelayedSetup()
45 fQuads[i].setQuadType(fPerspective ? GrQuad::Type::kPerspective in onDelayedSetup()
54 SkRect qb = fQuads[j].bounds(); in onDraw()
65 GrQuad fQuads[kQuadCount]; member in GrQuadBoundsBench
/external/skia/src/gpu/ops/
DGrFillRectOp.cpp82 , fQuads(1, !fHelper.isTrivial()) { in FillRectOp()
103 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOp()
106 fQuads.append(extra.fDevice, { paintColor, extra.fEdgeFlags }, in FillRectOp()
120 str.appendf("# draws: %u\n", fQuads.count()); in dumpInfo()
122 (uint32_t) fQuads.deviceQuadType(), (uint32_t) fQuads.localQuadType()); in dumpInfo()
125 auto iter = fQuads.iterator(); in dumpInfo()
141 auto iter = fQuads.metadata(); in finalize()
163 iter = fQuads.metadata(); in finalize()
201 int numQuads() const final { return fQuads.count(); } in numQuads()
206 fQuads.count()); in vertexSpec()
[all …]
DGrTextureOp.cpp245 str.appendf("# draws: %d\n", fQuads.count()); in dumpInfo()
246 auto iter = fQuads.iterator(); in dumpInfo()
291 auto iter = fQuads.metadata(); in finalize()
456 , fQuads(1, true /* includes locals */) in TextureOp()
505 , fQuads(cnt, true /* includes locals */) in TextureOp()
616 SkASSERT(fQuads.count() == fMetadata.fTotalQuadCount); in TextureOp()
637 fQuads.append(quad->fDevice, {color, domain, quad->fEdgeFlags}, &quad->fLocal); in appendQuad()
639 fQuads.append(extra.fDevice, {color, domain, extra.fEdgeFlags}, &extra.fLocal); in appendQuad()
681 auto iter = op.fQuads.iterator(); in FillInData()
783 if (op.fQuads.deviceQuadType() > quadType) { in characterize()
[all …]
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp152 str.appendf("# draws: %d\n", fQuads.count()); in dumpInfo()
158 GrPerspQuad quad = fQuads[q]; in dumpInfo()
159 const ColorDomainAndAA& info = fQuads.metadata(i); in dumpInfo()
233 fQuads.push_back(quad, quadType, {color, srcRect, domain, aaFlags}); in TextureOp()
257 fQuads.reserve(cnt, quadType); in TextureOp()
285 fQuads.push_back(quad, quadType, {color, set[p].fSrcRect, Domain::kNo, aaFlags}); in TextureOp()
312 const GrPerspQuad& device = fQuads[i]; in tess()
313 const ColorDomainAndAA& info = fQuads.metadata(i); in tess()
334 if (op.fQuads.quadType() > quadType) { in onPrepareDraws()
335 quadType = op.fQuads.quadType(); in onPrepareDraws()
[all …]