Home
last modified time | relevance | path

Searched refs:localQuad (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp31 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_quad_generic() argument
36 SkASSERT(!spec.hasLocalCoords() || localQuad); in write_quad_generic()
56 vb->write(localQuad->x(i), localQuad->y(i), in write_quad_generic()
57 If(spec.localQuadType() == GrQuad::Type::kPerspective, localQuad->w(i))); in write_quad_generic()
78 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_2d_color() argument
105 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_2d_uv() argument
115 SkASSERT(localQuad); in write_2d_uv()
118 vb->write(deviceQuad->x(i), deviceQuad->y(i), localQuad->x(i), localQuad->y(i)); in write_2d_uv()
125 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_2d_color_uv() argument
136 SkASSERT(localQuad); in write_2d_color_uv()
[all …]
DGrQuadPerEdgeAA.h146 void append(GrQuad* deviceQuad, GrQuad* localQuad,
157 const GrQuad* deviceQuad, const GrQuad* localQuad,
DGrFillRectOp.cpp34 const GrQuad* localQuad, const SkPMColor4f& color, in dump_quad_info() argument
36 GrQuad safeLocal = localQuad ? *localQuad : GrQuad(); in dump_quad_info()
256 tessellator.append(iter.deviceQuad(), iter.localQuad(), in tessellate()
373 str += dump_quad_info(i, iter.deviceQuad(), iter.localQuad(), in onDumpInfo()
DGrTextureOp.cpp727 tessellator.append(iter.deviceQuad(), iter.localQuad(), info.fColor, in FillInVertices()
1076 GrQuad uv = iter.isLocalValid() ? *(iter.localQuad()) : GrQuad(); in onDumpInfo()
/external/skia/src/gpu/geometry/
DGrQuadBuffer.h52 void append(const GrQuad& deviceQuad, T&& metadata, const GrQuad* localQuad = nullptr);
81 GrQuad* localQuad() { in localQuad() function
265 void GrQuadBuffer<T>::append(const GrQuad& deviceQuad, T&& metadata, const GrQuad* localQuad) { in append() argument
266 GrQuad::Type localType = localQuad ? localQuad->quadType() : GrQuad::Type::kAxisAligned; in append()
267 int entrySize = this->entrySize(deviceQuad.quadType(), localQuad ? &localType : nullptr); in append()
274 h->fHasLocals = static_cast<unsigned>(localQuad != nullptr); in append()
275 h->fLocalType = static_cast<unsigned>(localQuad ? localQuad->quadType() in append()
286 if (localQuad) { in append()
287 coords = this->packQuad(*localQuad, coords); in append()
296 if (localQuad && localQuad->quadType() > fLocalType) { in append()
[all …]
DGrQuadUtils.h56 void reset(const GrQuad& deviceQuad, const GrQuad* localQuad);
155 void reset(const GrQuad& deviceQuad, const GrQuad* localQuad);
DGrQuadUtils.cpp908 void TessellationHelper::Vertices::reset(const GrQuad& deviceQuad, const GrQuad* localQuad) { in reset() argument
914 if (localQuad) { in reset()
915 fU = localQuad->x4f(); in reset()
916 fV = localQuad->y4f(); in reset()
917 fR = localQuad->w4f(); in reset()
918 fUVRCount = localQuad->hasPerspective() ? 3 : 2; in reset()
1089 void TessellationHelper::reset(const GrQuad& deviceQuad, const GrQuad* localQuad) { in reset() argument
1092 fLocalType = localQuad ? localQuad->quadType() : GrQuad::Type::kAxisAligned; in reset()
1099 fOriginal.reset(deviceQuad, localQuad); in reset()
/external/skqp/src/gpu/ops/
DGrFillRectOp.cpp29 const GrPerspQuad& localQuad, const SkPMColor4f& color, in dump_quad_info() argument
46 localQuad.x(0), localQuad.y(0), localQuad.w(0), in dump_quad_info()
47 localQuad.x(1), localQuad.y(1), localQuad.w(1), in dump_quad_info()
48 localQuad.x(2), localQuad.y(2), localQuad.w(2), in dump_quad_info()
49 localQuad.x(3), localQuad.y(3), localQuad.w(3)); in dump_quad_info()
66 const GrPerspQuad& localQuad, in Make() argument
71 stencilSettings, deviceQuad, deviceQuadType, localQuad, localQuadType); in Make()
79 const GrPerspQuad& localQuad, GrQuadType localQuadType) in FillRectOp() argument
91 fLocalQuads.push_back(localQuad, localQuadType); in FillRectOp()
275 void addQuad(const GrPerspQuad& deviceQuad, const GrPerspQuad& localQuad, in addQuad() argument
[all …]
DGrQuadPerEdgeAA.h87 const SkPMColor4f& color, const GrPerspQuad& localQuad, const SkRect& domain,
DGrQuadPerEdgeAA.cpp403 const SkPMColor4f& color4f, const GrPerspQuad& localQuad, const SkRect& domain, in Tessellate() argument
416 oU = localQuad.x4f(); in Tessellate()
417 oV = localQuad.y4f(); in Tessellate()
418 oR = localQuad.w4f(); // Will be ignored if the local quad type isn't perspective in Tessellate()
/external/skia/tests/
DGrQuadBufferTest.cpp121 assert_quad_eq(r, expectedLocalQuads[i], *iter.localQuad()); in TEST()
125 ASSERT(!iter.localQuad()); in TEST()
168 assert_quad_eq(r, quadsB[i], *iter.localQuad()); in TEST()
171 ASSERT(!iter.localQuad()); in TEST()
181 ASSERT(!iter.localQuad()); in TEST()
184 assert_quad_eq(r, quadsA[j], *iter.localQuad()); in TEST()
229 assert_quad_eq(r, quad, *iter.localQuad()); in TEST()
232 ASSERT(!iter.localQuad()); in TEST()