/third_party/flutter/skia/docs/examples/ |
D | Path_ConvertConicToQuads.cpp | 14 SkPoint quads[5]; in draw() local 15 SkPath::ConvertConicToQuads(conic[0], conic[1], conic[2], weight, quads, 1); in draw() 21 path.moveTo(quads[0]); in draw() 22 path.quadTo(quads[1], quads[2]); in draw() 23 path.quadTo(quads[3], quads[4]); in draw()
|
/third_party/skia/docs/examples/ |
D | Path_ConvertConicToQuads.cpp | 14 SkPoint quads[5]; in draw() local 15 SkPath::ConvertConicToQuads(conic[0], conic[1], conic[2], weight, quads, 1); in draw() 21 path.moveTo(quads[0]); in draw() 22 path.quadTo(quads[1], quads[2]); in draw() 23 path.quadTo(quads[3], quads[4]); in draw()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 186 const GrRenderTargetContext::QuadSetEntry quads[], int quadCount, 347 const GrRenderTargetContext::QuadSetEntry quads[], in MakeSet() argument 353 paint.setColor4f(quads[0].fColor); in MakeSet() 355 quads[0].fAAFlags, stencilSettings, in MakeSet() 356 GrQuad::MakeFromRect(quads[0].fRect, viewMatrix), in MakeSet() 357 GrQuad::MakeFromRect(quads[0].fRect, quads[0].fLocalMatrix)); in MakeSet() 362 GrQuad deviceQuad = GrQuad::MakeFromRect(quads[i].fRect, viewMatrix); in MakeSet() 366 GrQuadUtils::ResolveAAType(aaType, quads[i].fAAFlags, deviceQuad, in MakeSet() 370 GrQuad::MakeFromRect(quads[i].fRect, quads[i].fLocalMatrix), in MakeSet() 371 quads[i].fColor, resolvedEdgeFlags,resolvedAA); in MakeSet() [all …]
|
/third_party/flutter/skia/tests/ |
D | PathOpsTestCommon.cpp | 136 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads) { in CubicToQuads() argument 141 quads.push_back(quad); in CubicToQuads() 161 quads.push_back(quad); in CubicToQuads() 169 SkTArray<SkDQuad, true> quads; in CubicPathToQuads() local 185 quads.reset(); in CubicPathToQuads() 187 CubicToQuads(cubic, cubic.calcPrecision(), quads); in CubicPathToQuads() 188 for (int index = 0; index < quads.count(); ++index) { in CubicPathToQuads() 190 quads[index][1].asSkPoint(), in CubicPathToQuads() 191 quads[index][2].asSkPoint() in CubicPathToQuads()
|
D | PathOpsAngleIdeas.cpp | 478 const SkDQuad* quads[] = {&quad1, &quad2}; in testQuadAngles() local 487 for (unsigned index = 0; index < SK_ARRAY_COUNT(quads); ++index) { in testQuadAngles() 488 const SkDQuad& q = *quads[index]; in testQuadAngles() 532 const SkDQuad& q = *quads[sIndex]; in testQuadAngles() 563 const QuadPts quads[] = { in DEF_TEST() local 567 for (int index = 0; index < (int) SK_ARRAY_COUNT(quads); index += 2) { in DEF_TEST() 569 quad0.debugSet(quads[index].fPts); in DEF_TEST() 570 quad1.debugSet(quads[index + 1].fPts); in DEF_TEST() 663 SkDQuad quads[SK_ARRAY_COUNT(qPts)]; in DEF_TEST() local 665 quads[index].debugSet(qPts[index].fPts); in DEF_TEST() [all …]
|
/third_party/skia/tests/ |
D | PathOpsTestCommon.cpp | 137 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads) { in CubicToQuads() argument 142 quads.push_back(quad); in CubicToQuads() 162 quads.push_back(quad); in CubicToQuads() 170 SkTArray<SkDQuad, true> quads; in CubicPathToQuads() local 183 quads.reset(); in CubicPathToQuads() 185 CubicToQuads(cubic, cubic.calcPrecision(), quads); in CubicPathToQuads() 186 for (int index = 0; index < quads.count(); ++index) { in CubicPathToQuads() 188 quads[index][1].asSkPoint(), in CubicPathToQuads() 189 quads[index][2].asSkPoint() in CubicPathToQuads()
|
D | BulkRectTest.cpp | 61 auto quads = new GrQuadSetEntry[requestedTotNumQuads]; in fillrectop_creation_test() local 64 quads[i].fRect = SkRect::MakeWH(100.5f, 100.5f); // prevent the int non-AA optimization in fillrectop_creation_test() 65 quads[i].fColor = SK_PMColor4fWHITE; in fillrectop_creation_test() 66 quads[i].fLocalMatrix = SkMatrix::I(); in fillrectop_creation_test() 67 quads[i].fAAFlags = perQuadAA(i); in fillrectop_creation_test() 74 SkMatrix::I(), quads, requestedTotNumQuads); in fillrectop_creation_test() 93 delete[] quads; in fillrectop_creation_test()
|
D | PathOpsAngleIdeas.cpp | 475 const SkDQuad* quads[] = {&quad1, &quad2}; in testQuadAngles() local 484 for (unsigned index = 0; index < SK_ARRAY_COUNT(quads); ++index) { in testQuadAngles() 485 const SkDQuad& q = *quads[index]; in testQuadAngles() 529 const SkDQuad& q = *quads[sIndex]; in testQuadAngles() 560 const QuadPts quads[] = { in DEF_TEST() local 564 for (int index = 0; index < (int) SK_ARRAY_COUNT(quads); index += 2) { in DEF_TEST() 566 quad0.debugSet(quads[index].fPts); in DEF_TEST() 567 quad1.debugSet(quads[index + 1].fPts); in DEF_TEST() 660 SkDQuad quads[SK_ARRAY_COUNT(qPts)]; in DEF_TEST() local 662 quads[index].debugSet(qPts[index].fPts); in DEF_TEST() [all …]
|
/third_party/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 319 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads() argument 330 SkPoint* degQuad = quads->push_back_n(3); in convert_noninflect_cubic_to_quads() 368 SkPoint* pts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads() 377 choppedPts + 0, toleranceSqd, quads, sublevel + 1, preserveFirstTangent, false); in convert_noninflect_cubic_to_quads() 379 choppedPts + 3, toleranceSqd, quads, sublevel + 1, false, preserveLastTangent); in convert_noninflect_cubic_to_quads() 385 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads_with_constraint() argument 395 SkPoint* degQuad = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint() 441 SkPoint* qpts = quads->push_back_n(6); in convert_noninflect_cubic_to_quads_with_constraint() 449 SkPoint* qpts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint() 496 SkPoint* pts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint() [all …]
|
/third_party/skia/src/gpu/ops/ |
D | FillRectOp.cpp | 490 const GrQuadSetEntry quads[], in MakeOp() argument 497 DrawQuad quad{GrQuad::MakeFromRect(quads[0].fRect, viewMatrix), in MakeOp() 498 GrQuad::MakeFromRect(quads[0].fRect, quads[0].fLocalMatrix), in MakeOp() 499 quads[0].fAAFlags}; in MakeOp() 500 paint.setColor4f(quads[0].fColor); in MakeOp() 508 quad = {GrQuad::MakeFromRect(quads[i].fRect, viewMatrix), in MakeOp() 509 GrQuad::MakeFromRect(quads[i].fRect, quads[i].fLocalMatrix), in MakeOp() 510 quads[i].fAAFlags}; in MakeOp() 513 GrQuadUtils::ResolveAAType(aaType, quads[i].fAAFlags, quad.fDevice, in MakeOp() 516 if (!fillRects->addQuad(&quad, quads[i].fColor, resolvedAA)) { in MakeOp() [all …]
|
D | FillRectOp.h | 63 const GrQuadSetEntry quads[], 78 const GrQuadSetEntry quads[],
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 400 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads() argument 411 SkPoint* degQuad = quads->push_back_n(3); in convert_noninflect_cubic_to_quads() 449 SkPoint* pts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads() 458 choppedPts + 0, toleranceSqd, quads, sublevel + 1, preserveFirstTangent, false); in convert_noninflect_cubic_to_quads() 460 choppedPts + 3, toleranceSqd, quads, sublevel + 1, false, preserveLastTangent); in convert_noninflect_cubic_to_quads() 466 SkTArray<SkPoint, true>* quads, in convert_noninflect_cubic_to_quads_with_constraint() argument 476 SkPoint* degQuad = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint() 522 SkPoint* qpts = quads->push_back_n(6); in convert_noninflect_cubic_to_quads_with_constraint() 530 SkPoint* qpts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint() 577 SkPoint* pts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint() [all …]
|
D | GrPathUtils.h | 109 SkTArray<SkPoint, true>* quads); 121 SkTArray<SkPoint, true>* quads);
|
/third_party/skia/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 277 SkPoint quads[5]; in ToCanvas() local 279 SkPath::ConvertConicToQuads(pts[0], pts[1], pts[2], iter.conicWeight(), quads, 1); in ToCanvas() 280 … ctx.call<void>("quadraticCurveTo", quads[1].x(), quads[1].y(), quads[2].x(), quads[2].y()); in ToCanvas() 281 … ctx.call<void>("quadraticCurveTo", quads[3].x(), quads[3].y(), quads[4].x(), quads[4].y()); in ToCanvas()
|
/third_party/flutter/skia/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 290 SkPoint quads[5]; in ToCanvas() local 292 SkPath::ConvertConicToQuads(pts[0], pts[1], pts[2], iter.conicWeight(), quads, 1); in ToCanvas() 293 … ctx.call<void>("quadraticCurveTo", quads[1].x(), quads[1].y(), quads[2].x(), quads[2].y()); in ToCanvas() 294 … ctx.call<void>("quadraticCurveTo", quads[3].x(), quads[3].y(), quads[4].x(), quads[4].y()); in ToCanvas()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/ |
D | tessellation.txt | 371 dEQP-VK.tessellation.user_defined_io.per_patch.vertex_io_array_size_implicit.quads 374 dEQP-VK.tessellation.user_defined_io.per_patch.vertex_io_array_size_shader_builtin.quads 377 dEQP-VK.tessellation.user_defined_io.per_patch.vertex_io_array_size_spec_min.quads 380 dEQP-VK.tessellation.user_defined_io.per_patch_array.vertex_io_array_size_implicit.quads 383 dEQP-VK.tessellation.user_defined_io.per_patch_array.vertex_io_array_size_shader_builtin.quads 386 dEQP-VK.tessellation.user_defined_io.per_patch_array.vertex_io_array_size_spec_min.quads 389 dEQP-VK.tessellation.user_defined_io.per_patch_block.vertex_io_array_size_implicit.quads 392 dEQP-VK.tessellation.user_defined_io.per_patch_block.vertex_io_array_size_shader_builtin.quads 395 dEQP-VK.tessellation.user_defined_io.per_patch_block.vertex_io_array_size_spec_min.quads 398 dEQP-VK.tessellation.user_defined_io.per_patch_block_array.vertex_io_array_size_implicit.quads [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_provoking_vertex.txt | 55 implementation) quads. 64 polygon, even if actually broken into triangles and/or quads. 73 these APIs lack quads so do not have a defined provoking vertex 74 convention for quads. 269 2. How should quads be handled? 275 not support quads. 278 for quads (which no other API supports), instead this extension 280 or not quads respect the provoking vertex or not. 287 quads. However every vendor supporting OpenGL can support the 288 "last vertex" mode for quads. Leaving the quad behavior up [all …]
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_provoking_vertex.txt | 55 implementation) quads. 64 polygon, even if actually broken into triangles and/or quads. 73 these APIs lack quads so do not have a defined provoking vertex 74 convention for quads. 269 2. How should quads be handled? 275 not support quads. 278 for quads (which no other API supports), instead this extension 280 or not quads respect the provoking vertex or not. 287 quads. However every vendor supporting OpenGL can support the 288 "last vertex" mode for quads. Leaving the quad behavior up [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | SGIX_quad_mesh.txt | 51 independent quads only needs to amount of state listed in the spec. 56 Matt: If it is implemented as drawing independent quads, then yes. On 81 define GL state which affects the quads and lines drawn by these 87 Quad meshes efficiently generate a series of quads in a regular grid. 92 mod <breadth> != 0 and j >= <breadth>. The order in which the quads 108 The order in which the quads or lines within a quad mesh or line mesh are
|
/third_party/openGLES/extensions/SGIX/ |
D | SGIX_quad_mesh.txt | 51 independent quads only needs to amount of state listed in the spec. 56 Matt: If it is implemented as drawing independent quads, then yes. On 81 define GL state which affects the quads and lines drawn by these 87 Quad meshes efficiently generate a series of quads in a regular grid. 92 mod <breadth> != 0 and j >= <breadth>. The order in which the quads 108 The order in which the quads or lines within a quad mesh or line mesh are
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_provoking_vertex.txt | 72 implementation) quads. 81 polygon, even if actually broken into triangles and/or quads. 90 these APIs lack quads so do not have a defined provoking vertex 91 convention for quads. 361 2. How should quads be handled? 367 not support quads. 370 for quads (which no other API supports), instead this extension 372 or not quads respect the provoking vertex or not. 379 quads. However every vendor supporting OpenGL can support the 380 "last vertex" mode for quads. Leaving the quad behavior up [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_provoking_vertex.txt | 62 implementation) quads. 71 polygon, even if actually broken into triangles and/or quads. 80 these APIs lack quads so do not have a defined provoking vertex 81 convention for quads. 351 2. How should quads be handled? 357 not support quads. 360 for quads (which no other API supports), instead this extension 362 or not quads respect the provoking vertex or not. 369 quads. However every vendor supporting OpenGL can support the 370 "last vertex" mode for quads. Leaving the quad behavior up [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders/tese/ |
D | patch-input-array.tese | 3 layout(quads) in;
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/tese/ |
D | patch-input-array.tese | 2 layout(quads, ccw, equal_spacing) in;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/tese/ |
D | patch-input-array.tese | 2 layout(quads, ccw, equal_spacing) in;
|