Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/ops/
DFillRectOp.cpp87 , fQuads(1, !fHelper.isTrivial()) { in FillRectOpImpl()
106 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOpImpl()
109 fQuads.append(extra.fDevice, { paintColor, extra.fEdgeFlags }, in FillRectOpImpl()
127 auto iter = fQuads.metadata(); in finalize()
148 iter = fQuads.metadata(); in finalize()
187 int numQuads() const final { return fQuads.count(); } in numQuads()
192 fQuads.count()); in vertexSpec()
194 return VertexSpec(fQuads.deviceQuadType(), fColorType, fQuads.localQuadType(), in vertexSpec()
240 const int totalNumVertices = fQuads.count() * vertexSpec.verticesPerQuad(); in onPrePrepareDraws()
252 auto iter = fQuads.iterator(); in tessellate()
[all …]
DTextureOp.cpp298 auto iter = fQuads.metadata(); in finalize()
445 , fQuads(1, true /* includes locals */) in TextureOpImpl()
494 , fQuads(cnt, true /* includes locals */) in TextureOpImpl()
626 SkASSERT(fQuads.count() == fMetadata.fTotalQuadCount); in TextureOpImpl()
646 fQuads.append(quad->fDevice, {color, subset, quad->fEdgeFlags}, &quad->fLocal); in appendQuad()
648 fQuads.append(extra.fDevice, {color, subset, extra.fEdgeFlags}, &extra.fLocal); in appendQuad()
727 auto iter = op.fQuads.iterator(); in FillInVertices()
818 if (op.fQuads.deviceQuadType() > quadType) { in characterize()
819 quadType = op.fQuads.deviceQuadType(); in characterize()
821 if (op.fQuads.localQuadType() > srcQuadType) { in characterize()
[all …]
/third_party/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
/third_party/flutter/skia/src/gpu/ops/
DGrFillRectOp.cpp83 , fQuads(1, !fHelper.isTrivial()) { in FillRectOp()
87 fQuads.append(deviceQuad, { paintColor, edgeFlags }, in FillRectOp()
102 str.appendf("# draws: %u\n", fQuads.count()); in dumpInfo()
104 (uint32_t) fQuads.deviceQuadType(), (uint32_t) fQuads.localQuadType()); in dumpInfo()
107 auto iter = fQuads.iterator(); in dumpInfo()
123 auto iter = fQuads.metadata(); in finalize()
145 iter = fQuads.metadata(); in finalize()
195 VertexSpec vertexSpec(fQuads.deviceQuadType(), fColorType, fQuads.localQuadType(), in onPrepareDraws()
210 vertexSize, fQuads.count() * vertexSpec.verticesPerQuad(), in onPrepareDraws()
219 auto iter = fQuads.iterator(); in onPrepareDraws()
[all …]
DGrTextureOp.cpp191 str.appendf("# draws: %d\n", fQuads.count()); in dumpInfo()
192 auto iter = fQuads.iterator(); in dumpInfo()
224 auto iter = fQuads.metadata(); in finalize()
271 , fQuads(1, true /* includes locals */) in TextureOp()
290 fQuads.append(dstQuad, {color, domainRect, aaFlags}, &srcQuad); in TextureOp()
303 , fQuads(cnt, true /* includes locals */) in TextureOp()
367 fQuads.append(quad, {color, domainForQuad, aaFlags}, &srcQuad); in TextureOp()
422 if (op.fQuads.deviceQuadType() > quadType) { in onPrepareDraws()
423 quadType = op.fQuads.deviceQuadType(); in onPrepareDraws()
425 if (op.fQuads.localQuadType() > srcQuadType) { in onPrepareDraws()
[all …]