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.cpp84 , fQuads(1, !fHelper.isTrivial()) { in FillRectOp()
105 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOp()
108 fQuads.append(extra.fDevice, { paintColor, extra.fEdgeFlags }, in FillRectOp()
126 auto iter = fQuads.metadata(); in finalize()
147 iter = fQuads.metadata(); in finalize()
185 int numQuads() const final { return fQuads.count(); } in numQuads()
190 fQuads.count()); in vertexSpec()
192 return VertexSpec(fQuads.deviceQuadType(), fColorType, fQuads.localQuadType(), in vertexSpec()
238 const int totalNumVertices = fQuads.count() * vertexSpec.verticesPerQuad(); in onPrePrepareDraws()
250 auto iter = fQuads.iterator(); in tessellate()
[all …]
DGrTextureOp.cpp293 auto iter = fQuads.metadata(); in finalize()
442 , fQuads(1, true /* includes locals */) in TextureOp()
491 , fQuads(cnt, true /* includes locals */) in TextureOp()
616 SkASSERT(fQuads.count() == fMetadata.fTotalQuadCount); in TextureOp()
638 fQuads.append(quad->fDevice, {color, subset, quad->fEdgeFlags}, &quad->fLocal); in appendQuad()
640 fQuads.append(extra.fDevice, {color, subset, extra.fEdgeFlags}, &extra.fLocal); in appendQuad()
718 auto iter = op.fQuads.iterator(); in FillInVertices()
809 if (op.fQuads.deviceQuadType() > quadType) { in characterize()
810 quadType = op.fQuads.deviceQuadType(); in characterize()
812 if (op.fQuads.localQuadType() > srcQuadType) { 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 …]