/third_party/flutter/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 32 static SkString dump_quad_info(int index, const GrQuad& deviceQuad, in dump_quad_info() argument 46 deviceQuad.x(0), deviceQuad.y(0), deviceQuad.w(0), in dump_quad_info() 47 deviceQuad.x(1), deviceQuad.y(1), deviceQuad.w(1), in dump_quad_info() 48 deviceQuad.x(2), deviceQuad.y(2), deviceQuad.w(2), in dump_quad_info() 49 deviceQuad.x(3), deviceQuad.y(3), deviceQuad.w(3), in dump_quad_info() 68 const GrQuad& deviceQuad, in Make() argument 71 GrQuadUtils::ResolveAAType(aaType, edgeAA, deviceQuad, &aaType, &edgeAA); in Make() 73 stencilSettings, deviceQuad, localQuad); in Make() 80 const GrQuad& deviceQuad, const GrQuad& localQuad) in FillRectOp() argument 87 fQuads.append(deviceQuad, { paintColor, edgeFlags }, in FillRectOp() [all …]
|
D | GrTextureOp.cpp | 151 const GrQuad& deviceQuad, in Make() argument 157 deviceQuad, localQuad, domain); in Make() 198 const GrQuad& quad = iter.deviceQuad(); in dumpInfo() 404 v = GrQuadPerEdgeAA::Tessellate(v, spec, iter->deviceQuad(), info.fColor, srcQuad, in tess() 615 const GrQuad& deviceQuad, in Make() argument 624 if (filter != GrSamplerState::Filter::kNearest && !filter_has_effect(localQuad, deviceQuad)) { in Make() 630 aaType, aaFlags, deviceQuad, localQuad, domain); in Make() 654 deviceQuad, localQuad); in Make()
|
D | GrTextureOp.h | 44 const GrQuad& deviceQuad,
|
D | GrFillRectOp.h | 34 const GrQuad& deviceQuad,
|
D | GrQuadPerEdgeAA.h | 98 void* Tessellate(void* vertices, const VertexSpec& spec, const GrQuad& deviceQuad,
|
D | GrQuadPerEdgeAA.cpp | 742 void* Tessellate(void* vertices, const VertexSpec& spec, const GrQuad& deviceQuad, in Tessellate() argument 745 SkASSERT(deviceQuad.quadType() <= spec.deviceQuadType()); in Tessellate() 752 outer.fX = deviceQuad.x4f(); in Tessellate() 753 outer.fY = deviceQuad.y4f(); in Tessellate() 754 outer.fW = deviceQuad.w4f(); // Guaranteed to be 1f if it's not perspective in Tessellate()
|
/third_party/skia/src/gpu/ops/ |
D | QuadPerEdgeAA.cpp | 39 const GrQuad* deviceQuad, in write_quad_generic() argument 53 *vb << deviceQuad->x(i) in write_quad_generic() 54 << deviceQuad->y(i) in write_quad_generic() 55 << If(spec.deviceQuadType() == GrQuad::Type::kPerspective, deviceQuad->w(i)) in write_quad_generic() 91 const GrQuad* deviceQuad, in write_2d_color() argument 113 *vb << deviceQuad->x(i) in write_2d_color() 114 << deviceQuad->y(i) in write_2d_color() 123 const GrQuad* deviceQuad, in write_2d_uv() argument 139 *vb << deviceQuad->x(i) in write_2d_uv() 140 << deviceQuad->y(i) in write_2d_uv() [all …]
|
D | FillRectOp.cpp | 35 SkString dump_quad_info(int index, const GrQuad* deviceQuad, in dump_quad_info() argument 50 deviceQuad->x(0), deviceQuad->y(0), deviceQuad->w(0), in dump_quad_info() 51 deviceQuad->x(1), deviceQuad->y(1), deviceQuad->w(1), in dump_quad_info() 52 deviceQuad->x(2), deviceQuad->y(2), deviceQuad->w(2), in dump_quad_info() 53 deviceQuad->x(3), deviceQuad->y(3), deviceQuad->w(3), in dump_quad_info() 258 tessellator.append(iter.deviceQuad(), iter.localQuad(), in tessellate() 377 str += dump_quad_info(i, iter.deviceQuad(), iter.localQuad(), in onDumpInfo()
|
D | QuadPerEdgeAA.h | 146 void append(GrQuad* deviceQuad, GrQuad* localQuad, 157 const GrQuad* deviceQuad, const GrQuad* localQuad,
|
D | TextureOp.cpp | 736 tessellator.append(iter.deviceQuad(), iter.localQuad(), info.fColor, in FillInVertices() 1084 const GrQuad* quad = iter.deviceQuad(); in onDumpInfo()
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 52 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()
|
D | GrQuadUtils.h | 58 void reset(const GrQuad& deviceQuad, const GrQuad* localQuad); 164 void reset(const GrQuad& deviceQuad, const GrQuad* localQuad);
|
D | GrQuadUtils.cpp | 932 void TessellationHelper::Vertices::reset(const GrQuad& deviceQuad, const GrQuad* localQuad) { in reset() argument 934 fX = deviceQuad.x4f(); in reset() 935 fY = deviceQuad.y4f(); in reset() 936 fW = deviceQuad.w4f(); in reset() 1113 void TessellationHelper::reset(const GrQuad& deviceQuad, const GrQuad* localQuad) { in reset() argument 1115 fDeviceType = deviceQuad.quadType(); in reset() 1123 fOriginal.reset(deviceQuad, localQuad); in reset()
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 52 void append(const GrQuad& deviceQuad, T&& metadata, const GrQuad* localQuad = nullptr); 74 const GrQuad& deviceQuad() const { this->validate(); return fDeviceQuad; } in deviceQuad() function 272 void GrQuadBuffer<T>::append(const GrQuad& deviceQuad, T&& metadata, const GrQuad* localQuad) { in append() argument 274 int entrySize = this->entrySize(deviceQuad.quadType(), localQuad ? &localType : nullptr); in append() 280 h->fDeviceType = static_cast<unsigned>(deviceQuad.quadType()); in append() 292 coords = this->packQuad(deviceQuad, coords); in append() 300 if (deviceQuad.quadType() > fDeviceType) { in append() 301 fDeviceType = deviceQuad.quadType(); in append()
|
/third_party/skia/tests/ |
D | GrQuadBufferTest.cpp | 115 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()
|
/third_party/flutter/skia/tests/ |
D | GrQuadBufferTest.cpp | 115 assert_quad_eq(r, expectedDeviceQuads[i], iter.deviceQuad()); in TEST() 164 assert_quad_eq(r, quadsA[i], iter.deviceQuad()); in TEST() 176 assert_quad_eq(r, quadsB[j], iter.deviceQuad()); in TEST() 224 assert_quad_eq(r, quad, iter.deviceQuad()); in TEST()
|
/third_party/flutter/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 474 GrQuad* deviceQuad, GrQuad* localQuad) { in attemptQuadOptimization() argument 497 SkRect drawBounds = deviceQuad->bounds(); in attemptQuadOptimization() 503 if (!deviceQuad->isFinite()) { in attemptQuadOptimization() 505 if (!make_vertex_finite(deviceQuad->xs() + i) || in attemptQuadOptimization() 506 !make_vertex_finite(deviceQuad->ys() + i) || in attemptQuadOptimization() 507 !make_vertex_finite(deviceQuad->ws() + i)) { in attemptQuadOptimization() 512 SkASSERT(deviceQuad->isFinite()); in attemptQuadOptimization() 517 if (!deviceQuad->isFinite()) { in attemptQuadOptimization() 553 if (GrQuadUtils::CropToRect(clipBounds, clipAA, &newFlags, deviceQuad, localQuad)) { in attemptQuadOptimization() 554 if (constColor && deviceQuad->quadType() == GrQuad::Type::kAxisAligned) { in attemptQuadOptimization() [all …]
|
D | GrRenderTargetContext.h | 572 GrQuad* deviceQuad, 583 const GrQuad& deviceQuad, 596 const GrQuad& deviceQuad,
|
/third_party/skia/src/gpu/v1/ |
D | ClipStack.cpp | 142 GrQuad deviceQuad = GrQuad::MakeFromRect(b, bToDevice); in shape_contains_rect() local 143 if (any(deviceQuad.w4f() < SkPathPriv::kW0PlaneDistance)) { in shape_contains_rect() 151 GrQuadUtils::Outset({0.5f, 0.5f, 0.5f, 0.5f}, &deviceQuad); in shape_contains_rect() 155 SkPoint cornerInA = deviceQuad.point(i); in shape_contains_rect()
|