Home
last modified time | relevance | path

Searched refs:deviceQuad (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp31 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_quad_generic() argument
42 vb->write(deviceQuad->x(i), deviceQuad->y(i), in write_quad_generic()
43 If(spec.deviceQuadType() == GrQuad::Type::kPerspective, deviceQuad->w(i)), in write_quad_generic()
78 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_2d_color() argument
98 vb->write(deviceQuad->x(i), deviceQuad->y(i), GrVertexColor(color * coverage[i], wide)); in write_2d_color()
105 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_2d_uv() argument
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
143 vb->write(deviceQuad->x(i), deviceQuad->y(i), GrVertexColor(color * coverage[i], wide), in write_2d_color_uv()
151 const GrQuad* deviceQuad, const GrQuad* localQuad, in write_2d_cov_uv() argument
[all …]
DGrFillRectOp.cpp33 static SkString dump_quad_info(int index, const GrQuad* deviceQuad, in dump_quad_info() argument
48 deviceQuad->x(0), deviceQuad->y(0), deviceQuad->w(0), in dump_quad_info()
49 deviceQuad->x(1), deviceQuad->y(1), deviceQuad->w(1), in dump_quad_info()
50 deviceQuad->x(2), deviceQuad->y(2), deviceQuad->w(2), in dump_quad_info()
51 deviceQuad->x(3), deviceQuad->y(3), deviceQuad->w(3), 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()
DGrQuadPerEdgeAA.h146 void append(GrQuad* deviceQuad, GrQuad* localQuad,
157 const GrQuad* deviceQuad, const GrQuad* localQuad,
DGrTextureOp.cpp727 tessellator.append(iter.deviceQuad(), iter.localQuad(), info.fColor, in FillInVertices()
1075 const GrQuad* quad = iter.deviceQuad(); in onDumpInfo()
/external/skqp/src/gpu/ops/
DGrFillRectOp.cpp28 static SkString dump_quad_info(int index, const GrPerspQuad& deviceQuad, in dump_quad_info() argument
42 deviceQuad.x(0), deviceQuad.y(0), deviceQuad.w(0), in dump_quad_info()
43 deviceQuad.x(1), deviceQuad.y(1), deviceQuad.w(1), in dump_quad_info()
44 deviceQuad.x(2), deviceQuad.y(2), deviceQuad.w(2), in dump_quad_info()
45 deviceQuad.x(3), deviceQuad.y(3), deviceQuad.w(3), in dump_quad_info()
64 const GrPerspQuad& deviceQuad, in Make() argument
69 GrResolveAATypeForQuad(aaType, edgeAA, deviceQuad, deviceQuadType, &aaType, &edgeAA); in Make()
71 stencilSettings, deviceQuad, deviceQuadType, localQuad, localQuadType); in Make()
78 const GrPerspQuad& deviceQuad, GrQuadType deviceQuadType, in FillRectOp() argument
85 fDeviceQuads.push_back(deviceQuad, deviceQuadType, { paintColor, edgeFlags }); in FillRectOp()
[all …]
DGrQuadPerEdgeAA.h86 void* Tessellate(void* vertices, const VertexSpec& spec, const GrPerspQuad& deviceQuad,
DGrQuadPerEdgeAA.cpp402 void* Tessellate(void* vertices, const VertexSpec& spec, const GrPerspQuad& deviceQuad, in Tessellate() argument
409 Sk4f oX = deviceQuad.x4f(); in Tessellate()
410 Sk4f oY = deviceQuad.y4f(); in Tessellate()
411 Sk4f oW = deviceQuad.w4f(); // Guaranteed to be 1f if it's not perspective in Tessellate()
/external/skia/src/gpu/geometry/
DGrQuadBuffer.h52 void append(const GrQuad& deviceQuad, T&& metadata, const GrQuad* localQuad = nullptr);
77 GrQuad* deviceQuad() { this->validate(); return &fDeviceQuad; } in deviceQuad() function
265 void GrQuadBuffer<T>::append(const GrQuad& deviceQuad, T&& metadata, const GrQuad* localQuad) { in append() argument
267 int entrySize = this->entrySize(deviceQuad.quadType(), localQuad ? &localType : nullptr); in append()
273 h->fDeviceType = static_cast<unsigned>(deviceQuad.quadType()); in append()
285 coords = this->packQuad(deviceQuad, coords); in append()
293 if (deviceQuad.quadType() > fDeviceType) { in append()
294 fDeviceType = deviceQuad.quadType(); in append()
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
910 fX = deviceQuad.x4f(); in reset()
911 fY = deviceQuad.y4f(); in reset()
912 fW = deviceQuad.w4f(); in reset()
1089 void TessellationHelper::reset(const GrQuad& deviceQuad, const GrQuad* localQuad) { in reset() argument
1091 fDeviceType = deviceQuad.quadType(); in reset()
1099 fOriginal.reset(deviceQuad, localQuad); in reset()
/external/skia/tests/
DGrQuadBufferTest.cpp115 assert_quad_eq(r, expectedDeviceQuads[i], *iter.deviceQuad()); in TEST()
164 assert_quad_eq(r, quadsA[i], *iter.deviceQuad()); in TEST()
177 assert_quad_eq(r, quadsB[j], *iter.deviceQuad()); in TEST()
226 assert_quad_eq(r, quad, *iter.deviceQuad()); in TEST()
/external/skia/src/gpu/
DGrClipStack.cpp141 GrQuad deviceQuad = GrQuad::MakeFromRect(b, bToDevice); in shape_contains_rect() local
142 if (any(deviceQuad.w4f() < SkPathPriv::kW0PlaneDistance)) { in shape_contains_rect()
150 GrQuadUtils::Outset({0.5f, 0.5f, 0.5f, 0.5f}, &deviceQuad); in shape_contains_rect()
154 SkPoint cornerInA = deviceQuad.point(i); in shape_contains_rect()