Home
last modified time | relevance | path

Searched refs:verts (Results 1 – 25 of 145) sorted by relevance

123456

/third_party/flutter/skia/src/gpu/ops/
DGrShadowRRectOp.cpp279 void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const { in fillInCircleVerts()
296 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
297 (*verts)->fColor = color; in fillInCircleVerts()
298 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
299 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
300 (*verts)++; in fillInCircleVerts()
302 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
303 (*verts)->fColor = color; in fillInCircleVerts()
304 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
305 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dpa_avx.cpp353 bool PaTriList0(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
354 bool PaTriList1(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
355 bool PaTriList2(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
357 bool PaTriList0_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
358 bool PaTriList1_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
359 bool PaTriList2_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
361 void PaTriListSingle0(PA_STATE_OPT& pa, uint32_t slot, uint32_t primIndex, simd4scalar verts[]);
363 bool PaTriStrip0(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
364 bool PaTriStrip1(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
366 bool PaTriStrip0_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
[all …]
/third_party/libxml2/result/
Dsvg1.sax17 SAX.startElement(polyline, verts=' 69,18 82,8 99,3 118,5 135,12 149,21 156,13 165,9 177,13 183,28 1…
27 SAX.startElement(polyline, verts=' 142,79 136,74 138,82 133,78 133,84 127,78 128,85 124,80 125,87 1…
37 SAX.startElement(polyline, verts=' 127,101 132,100 137,99 144,101 143,105 135,110 127,101 127,101 1…
47 SAX.startElement(polyline, verts=' 178,229 157,248 139,296 126,349 137,356 158,357 183,342 212,332 …
57 SAX.startElement(polyline, verts=' 56,229 48,241 48,250 57,281 63,325 71,338 81,315 76,321 79,311 8…
61 SAX.startElement(polyline, verts=' 74,363 79,368 81,368 85,362 89,363 92,370 96,373 101,372 108,361…
65 SAX.startElement(polyline, verts=' 212,250 219,251 228,258 236,270 235,287 225,304 205,332 177,343 …
69 SAX.startElement(polyline, verts=' 151,205 151,238 149,252 141,268 128,282 121,301 130,300 126,313 …
73 SAX.startElement(polyline, verts=' 78,127 90,142 95,155 108,164 125,167 139,175 150,206 152,191 141…
77 SAX.startElement(polyline, verts=' 21,58 35,63 38,68 32,69 42,74 40,79 47,80 54,83 45,94 34,81 32,7…
[all …]
Dsvg1.sax217 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 69,...', 337)
27 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 142...', 190)
37 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 127...', 71)
47 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 178...', 128)
57 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 56,...', 273)
61 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 74,...', 203)
65 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 212...', 448)
69 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 151...', 208)
73 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 78,...', 106)
77 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 21,...', 90)
[all …]
/third_party/skia/src/gpu/ops/
DShadowRRectOp.cpp268 void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const { in fillInCircleVerts()
285 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
286 (*verts)->fColor = color; in fillInCircleVerts()
287 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
288 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
289 (*verts)++; in fillInCircleVerts()
291 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
292 (*verts)->fColor = color; in fillInCircleVerts()
293 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
294 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
[all …]
/third_party/libxml2/result/noent/
Dsvg1.sax217 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 69,...', 337)
27 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 142...', 190)
37 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 127...', 71)
47 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 178...', 128)
57 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 56,...', 273)
61 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 74,...', 203)
65 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 212...', 448)
69 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 151...', 208)
73 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 78,...', 106)
77 SAX.startElementNs(polyline, NULL, NULL, 0, 1, 0, verts=' 21,...', 90)
[all …]
/third_party/skia/samplecode/
Dvertexdump.cpp9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument
12 verts[0].set(107, 189); in setup_vertexbug()
14 verts[1].set(116, 189); in setup_vertexbug()
16 verts[2].set(203, 189); in setup_vertexbug()
18 verts[3].set(212, 189); in setup_vertexbug()
20 verts[4].set(107, 198); in setup_vertexbug()
22 verts[5].set(116, 198); in setup_vertexbug()
24 verts[6].set(203, 198); in setup_vertexbug()
26 verts[7].set(212, 198); in setup_vertexbug()
[all …]
/third_party/flutter/skia/samplecode/
Dvertexdump.cpp9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument
12 verts[0].set(107, 189); in setup_vertexbug()
14 verts[1].set(116, 189); in setup_vertexbug()
16 verts[2].set(203, 189); in setup_vertexbug()
18 verts[3].set(212, 189); in setup_vertexbug()
20 verts[4].set(107, 198); in setup_vertexbug()
22 verts[5].set(116, 198); in setup_vertexbug()
24 verts[6].set(203, 198); in setup_vertexbug()
26 verts[7].set(212, 198); in setup_vertexbug()
[all …]
/third_party/skia/tests/
DShadowTest.cpp22 void check_result(skiatest::Reporter* reporter, sk_sp<SkVertices> verts, in check_result() argument
24 if (expectSuccess != SkToBool(verts)) { in check_result()
28 if (SkToBool(verts)) { in check_result()
29 if (kDont_ExpectVerts == expectVerts && verts->priv().vertexCount()) { in check_result()
31 } else if (kDo_ExpectVerts == expectVerts && !verts->priv().vertexCount()) { in check_result()
40 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true); in tessellate_shadow() local
41 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
43 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false); in tessellate_shadow()
44 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
46 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, true, false); in tessellate_shadow()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw.c429 struct st_util_vertex *verts; in st_draw_quad() local
435 &vb.buffer_offset, &vb.buffer.resource, (void **) &verts); in st_draw_quad()
441 verts[0].x = x0; in st_draw_quad()
442 verts[0].y = y1; in st_draw_quad()
443 verts[0].z = z; in st_draw_quad()
444 verts[0].r = color[0]; in st_draw_quad()
445 verts[0].g = color[1]; in st_draw_quad()
446 verts[0].b = color[2]; in st_draw_quad()
447 verts[0].a = color[3]; in st_draw_quad()
448 verts[0].s = s0; in st_draw_quad()
[all …]
Dst_cb_bitmap.c666 struct st_util_vertex *verts; in st_DrawAtlasBitmaps() local
690 &vb.buffer_offset, &vb.buffer.resource, (void **) &verts); in st_DrawAtlasBitmaps()
692 if (unlikely(!verts)) { in st_DrawAtlasBitmaps()
714 verts->x = clip_x0; in st_DrawAtlasBitmaps()
715 verts->y = clip_y0; in st_DrawAtlasBitmaps()
716 verts->z = z; in st_DrawAtlasBitmaps()
717 verts->r = color[0]; in st_DrawAtlasBitmaps()
718 verts->g = color[1]; in st_DrawAtlasBitmaps()
719 verts->b = color[2]; in st_DrawAtlasBitmaps()
720 verts->a = color[3]; in st_DrawAtlasBitmaps()
[all …]
/third_party/boost/libs/graph/test/
Dtest_direction.hpp20 Graph const& g, VertexSet const& verts, boost::mpl::true_) in test_outdirected_graph() argument
31 OutSet outs(verts.size()); in test_outdirected_graph()
32 for (size_t i = 0; i < verts.size(); ++i) in test_outdirected_graph()
34 outs[i] = out_edges(verts[i], g); in test_outdirected_graph()
46 BOOST_ASSERT(has_target(g, *outs[1].first, verts[0])); in test_outdirected_graph()
47 BOOST_ASSERT(has_target(g, *outs[2].first, verts[1])); in test_outdirected_graph()
52 BOOST_ASSERT(has_target(g, *outs[5].first, verts[3])); in test_outdirected_graph()
67 Graph const& g, VertexSet const& verts, boost::mpl::true_) in test_indirected_graph() argument
78 InSet ins(verts.size()); in test_indirected_graph()
79 for (size_t i = 0; i < verts.size(); ++i) in test_indirected_graph()
[all …]
Dtest_destruction.hpp26 Graph& g, VertexSet const& verts, boost::mpl::true_, boost::mpl::false_) in destroy_graph() argument
34 remove_vertex(verts[0], g); in destroy_graph()
65 void disconnect_graph(Graph& g, VertexSet const& verts, boost::mpl::false_) in disconnect_graph() argument
75 Edge e = edge(verts[5], verts[3], g).first; in disconnect_graph()
80 remove_edge(verts[3], verts[2], g); in disconnect_graph()
84 clear_vertex(verts[0], g); in disconnect_graph()
88 remove_edge(verts[5], verts[0], g); in disconnect_graph()
Dgursoy_atun_layout_test.cpp67 std::map< int, std::map< int, vertex_descriptor > > verts; in main() local
73 verts[i][j] = add_vertex(graph); in main()
80 verts[i][j], verts[i - 1][j], random_edge_weight(), graph); in main()
83 verts[i][j], verts[i][j - 1], random_edge_weight(), graph); in main()
87 add_edge(verts[0][j], verts[grid_size-1][j], random_edge_weight(), in main()
90 add_edge(verts[i][0], verts[i][grid_size-1], random_edge_weight(), in main()
Dtest_graph.hpp127 std::vector< Vertex > verts; in test_graph() local
131 verts.push_back(*rng.first); in test_graph()
135 connect_graph(g, verts, is_labeled); in test_graph()
140 test_properties(g, verts); in test_graph()
143 test_outdirected_graph(g, verts, is_directed); in test_graph()
144 test_indirected_graph(g, verts, is_bidirectional); in test_graph()
145 test_undirected_graph(g, verts, is_undirected); in test_graph()
148 disconnect_graph(g, verts, is_labeled); in test_graph()
149 destroy_graph(g, verts, can_remove_vertex, is_labeled); in test_graph()
Dtest_construction.hpp96 void connect_graph(Graph& g, VertexSet const& verts, boost::mpl::false_) in connect_graph() argument
107 add_edge(verts[e.first], verts[e.second], g); in connect_graph()
111 BOOST_ASSERT(edge(verts[5], verts[3], g).second == true); in connect_graph()
112 BOOST_ASSERT(edge(verts[5], verts[0], g).second == false); in connect_graph()
116 void connect_graph(Graph& g, VertexSet const& verts, boost::mpl::true_) in connect_graph() argument
Dtest_properties.hpp41 void test_vertex_bundle(Graph& g, VertexSet const& verts, boost::mpl::true_) in test_vertex_bundle() argument
50 Vertex v = verts[5]; in test_vertex_bundle()
82 void test_edge_bundle(Graph& g, VertexSet const& verts, boost::mpl::true_) in test_edge_bundle() argument
92 Edge e = boost::edge(verts[5], verts[3], g).first; in test_edge_bundle()
124 void test_properties(Graph& g, VertexSet const& verts) in test_properties() argument
133 test_vertex_bundle(g, verts, vertex_bundled); in test_properties()
134 test_edge_bundle(g, verts, edge_bundled); in test_properties()
/third_party/boost/libs/graph/example/
Dtransitive_closure.cpp25 std::vector< vertex_t > verts(4); in main() local
27 verts[i] = add_vertex(Index(i, Name('a' + i)), G); in main()
28 add_edge(verts[1], verts[2], G); in main()
29 add_edge(verts[1], verts[3], G); in main()
30 add_edge(verts[2], verts[1], G); in main()
31 add_edge(verts[3], verts[2], G); in main()
32 add_edge(verts[3], verts[0], G); in main()
/third_party/flutter/skia/tests/
DShadowTest.cpp21 void check_result(skiatest::Reporter* reporter, sk_sp<SkVertices> verts, in check_result() argument
23 if (expectSuccess != SkToBool(verts)) { in check_result()
27 if (SkToBool(verts)) { in check_result()
28 if (kDont_ExpectVerts == expectVerts && verts->vertexCount()) { in check_result()
30 } else if (kDo_ExpectVerts == expectVerts && !verts->vertexCount()) { in check_result()
39 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true); in tessellate_shadow() local
40 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
42 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false); in tessellate_shadow()
43 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
45 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, true); in tessellate_shadow()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe.c183 verts + stride * (i0), \
184 verts + stride * (i1), \
185 verts + stride * (i2) ); \
192 verts + stride * (i0), \
193 verts + stride * (i1) ); \
198 do_point( draw, verts + stride * (i0) ); \
236 draw->pipeline.verts = (char *)vert_info->verts; in draw_pipeline_run()
268 vert_info->verts, in draw_pipeline_run()
275 draw->pipeline.verts = NULL; in draw_pipeline_run()
287 verts + stride * (i0), \
[all …]
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.c1684 struct vertex verts[4]; in meta_clear() local
1729 verts[i].r = ctx->Color.ClearColor.f[0]; in meta_clear()
1730 verts[i].g = ctx->Color.ClearColor.f[1]; in meta_clear()
1731 verts[i].b = ctx->Color.ClearColor.f[2]; in meta_clear()
1732 verts[i].a = ctx->Color.ClearColor.f[3]; in meta_clear()
1781 verts[0].x = x0; in meta_clear()
1782 verts[0].y = y0; in meta_clear()
1783 verts[0].z = z; in meta_clear()
1784 verts[1].x = x1; in meta_clear()
1785 verts[1].y = y0; in meta_clear()
[all …]
Dmeta_generate_mipmap.c151 struct vertex verts[4]; in _mesa_meta_GenerateMipmap() local
253 memset(verts, 0, sizeof(verts)); in _mesa_meta_GenerateMipmap()
256 verts[0].x = -1.0F; in _mesa_meta_GenerateMipmap()
257 verts[0].y = -1.0F; in _mesa_meta_GenerateMipmap()
258 verts[1].x = 1.0F; in _mesa_meta_GenerateMipmap()
259 verts[1].y = -1.0F; in _mesa_meta_GenerateMipmap()
260 verts[2].x = 1.0F; in _mesa_meta_GenerateMipmap()
261 verts[2].y = 1.0F; in _mesa_meta_GenerateMipmap()
262 verts[3].x = -1.0F; in _mesa_meta_GenerateMipmap()
263 verts[3].y = 1.0F; in _mesa_meta_GenerateMipmap()
[all …]
Dmeta_blit.c235 struct vertex verts[4]; in blitframebuffer_texture() local
255 memset(verts, 0, sizeof(verts)); in blitframebuffer_texture()
258 verts[0].x = -1.0F * flipX; in blitframebuffer_texture()
259 verts[0].y = -1.0F * flipY; in blitframebuffer_texture()
260 verts[1].x = 1.0F * flipX; in blitframebuffer_texture()
261 verts[1].y = -1.0F * flipY; in blitframebuffer_texture()
262 verts[2].x = 1.0F * flipX; in blitframebuffer_texture()
263 verts[2].y = 1.0F * flipY; in blitframebuffer_texture()
264 verts[3].x = -1.0F * flipX; in blitframebuffer_texture()
265 verts[3].y = 1.0F * flipY; in blitframebuffer_texture()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_blit.c265 float verts[12]; in emit_draw_packet() local
273 verts[0] = dst_x_offset; in emit_draw_packet()
274 verts[1] = dst_y_offset + reg_height; in emit_draw_packet()
275 verts[2] = texcoords[0]; in emit_draw_packet()
276 verts[3] = texcoords[3]; in emit_draw_packet()
278 verts[4] = dst_x_offset + reg_width; in emit_draw_packet()
279 verts[5] = dst_y_offset + reg_height; in emit_draw_packet()
280 verts[6] = texcoords[1]; in emit_draw_packet()
281 verts[7] = texcoords[3]; in emit_draw_packet()
283 verts[8] = dst_x_offset + reg_width; in emit_draw_packet()
[all …]
/third_party/mesa3d/src/mesa/swrast_setup/
Dss_triangle.c120 SWvertex *verts = swsetup->verts; in _swsetup_render_tri() local
121 SWvertex *v0 = &verts[e0]; in _swsetup_render_tri()
122 SWvertex *v1 = &verts[e1]; in _swsetup_render_tri()
123 SWvertex *v2 = &verts[e2]; in _swsetup_render_tri()
218 SWvertex *verts = SWSETUP_CONTEXT(ctx)->verts; in swsetup_points() local
224 _swrast_Point( ctx, &verts[VB->Elts[i]] ); in swsetup_points()
229 _swrast_Point( ctx, &verts[i] ); in swsetup_points()
235 SWvertex *verts = SWSETUP_CONTEXT(ctx)->verts; in swsetup_line() local
236 _swrast_Line( ctx, &verts[v0], &verts[v1] ); in swsetup_line()

123456