Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dpa_avx.cpp281 bool PaTriList0(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
282 bool PaTriList1(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
283 bool PaTriList2(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
285 bool PaTriList0_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
286 bool PaTriList1_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
287 bool PaTriList2_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
289 void PaTriListSingle0(PA_STATE_OPT& pa, uint32_t slot, uint32_t primIndex, simd4scalar verts[]);
291 bool PaTriStrip0(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
292 bool PaTriStrip1(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
294 bool PaTriStrip0_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
[all …]
/external/skqp/src/gpu/ops/
DGrShadowRRectOp.cpp281 void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const { in fillInCircleVerts()
298 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
299 (*verts)->fColor = color; in fillInCircleVerts()
300 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
301 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
302 (*verts)++; in fillInCircleVerts()
304 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
305 (*verts)->fColor = color; in fillInCircleVerts()
306 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
307 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
[all …]
DGrStrokeRectOp.cpp58 static void init_nonaa_stroke_rect_strip(SkPoint verts[10], const SkRect& rect, SkScalar width) { in init_nonaa_stroke_rect_strip()
61 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
62 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
63 verts[2].set(rect.fRight - rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
64 verts[3].set(rect.fRight + rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
65 verts[4].set(rect.fRight - rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
66 verts[5].set(rect.fRight + rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
67 verts[6].set(rect.fLeft + rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
68 verts[7].set(rect.fLeft - rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
69 verts[8] = verts[0]; in init_nonaa_stroke_rect_strip()
[all …]
DGrDrawVerticesOp.cpp232 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile() local
233 if (!verts) { in drawVolatile()
254 verts, in drawVolatile()
307 void* verts = vertexBuffer ? vertexBuffer->map() : nullptr; in drawNonVolatile() local
308 if (!verts) { in drawNonVolatile()
332 verts, in drawNonVolatile()
354 void* verts, in fillBuffers() argument
393 V* v = (V*)verts; in fillBuffers()
403 verts = v + vertexCount; in fillBuffers()
426 mesh.fViewMatrix.mapPoints(((SkPoint*)verts), &positions[j], 1); in fillBuffers()
[all …]
/external/skia/src/gpu/ops/
DGrShadowRRectOp.cpp282 void fillInCircleVerts(const Geometry& args, bool isStroked, CircleVertex** verts) const { in fillInCircleVerts()
299 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
300 (*verts)->fColor = color; in fillInCircleVerts()
301 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
302 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
303 (*verts)++; in fillInCircleVerts()
305 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
306 (*verts)->fColor = color; in fillInCircleVerts()
307 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
308 (*verts)->fDistanceCorrection = distanceCorrection; in fillInCircleVerts()
[all …]
DGrStrokeRectOp.cpp59 static void init_nonaa_stroke_rect_strip(SkPoint verts[10], const SkRect& rect, SkScalar width) { in init_nonaa_stroke_rect_strip()
62 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
63 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
64 verts[2].set(rect.fRight - rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
65 verts[3].set(rect.fRight + rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
66 verts[4].set(rect.fRight - rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
67 verts[5].set(rect.fRight + rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
68 verts[6].set(rect.fLeft + rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
69 verts[7].set(rect.fLeft - rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
70 verts[8] = verts[0]; in init_nonaa_stroke_rect_strip()
[all …]
DGrDrawVerticesOp.cpp59 void* verts,
293 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile() local
294 if (!verts) { in drawVolatile()
314 verts, in drawVolatile()
362 void* verts = vertexBuffer ? vertexBuffer->map() : nullptr; in drawNonVolatile() local
363 if (!verts) { in drawNonVolatile()
384 verts, in drawNonVolatile()
405 void* verts, in fillBuffers() argument
441 V* v = (V*)verts; in fillBuffers()
451 verts = v + vertexCount; in fillBuffers()
[all …]
/external/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 …]
/external/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 …]
/external/skqp/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 …]
/external/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 …]
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c358 struct st_util_vertex *verts; in st_draw_quad() local
364 &vb.buffer_offset, &vb.buffer.resource, (void **) &verts); in st_draw_quad()
370 verts[0].x = x0; in st_draw_quad()
371 verts[0].y = y1; in st_draw_quad()
372 verts[0].z = z; in st_draw_quad()
373 verts[0].r = color[0]; in st_draw_quad()
374 verts[0].g = color[1]; in st_draw_quad()
375 verts[0].b = color[2]; in st_draw_quad()
376 verts[0].a = color[3]; in st_draw_quad()
377 verts[0].s = s0; in st_draw_quad()
[all …]
Dst_cb_bitmap.c674 struct st_util_vertex *verts; in st_DrawAtlasBitmaps() local
698 &vb.buffer_offset, &vb.buffer.resource, (void **) &verts); in st_DrawAtlasBitmaps()
700 if (unlikely(!verts)) { in st_DrawAtlasBitmaps()
722 verts->x = clip_x0; in st_DrawAtlasBitmaps()
723 verts->y = clip_y0; in st_DrawAtlasBitmaps()
724 verts->z = z; in st_DrawAtlasBitmaps()
725 verts->r = color[0]; in st_DrawAtlasBitmaps()
726 verts->g = color[1]; in st_DrawAtlasBitmaps()
727 verts->b = color[2]; in st_DrawAtlasBitmaps()
728 verts->a = color[3]; in st_DrawAtlasBitmaps()
[all …]
/external/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, false); in tessellate_shadow()
[all …]
/external/skqp/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, false); in tessellate_shadow()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe.c179 verts + stride * (i0), \
180 verts + stride * (i1), \
181 verts + stride * (i2) ); \
188 verts + stride * (i0), \
189 verts + stride * (i1) ); \
194 do_point( draw, verts + stride * (i0) ); \
232 draw->pipeline.verts = (char *)vert_info->verts; in draw_pipeline_run()
264 vert_info->verts, in draw_pipeline_run()
271 draw->pipeline.verts = NULL; in draw_pipeline_run()
283 verts + stride * (i0), \
[all …]
Ddraw_pipe_util.c125 if (draw->pipeline.verts) in draw_reset_vertex_ids()
128 char *verts = draw->pipeline.verts; in draw_reset_vertex_ids() local
132 ((struct vertex_header *)verts)->vertex_id = UNDEFINED_VERTEX_ID; in draw_reset_vertex_ids()
133 verts += stride; in draw_reset_vertex_ids()
Ddraw_pt_fetch_shade_pipeline.c214 output_verts->verts = in draw_vertex_shader_run()
219 (const float (*)[4])input_verts->verts->data, in draw_vertex_shader_run()
220 ( float (*)[4])output_verts->verts->data, in draw_vertex_shader_run()
252 fetched_vert_info.verts = in fetch_pipeline_generic()
255 if (!fetched_vert_info.verts) { in fetch_pipeline_generic()
268 fetch( fpme->fetch, fetch_info, (char *)fetched_vert_info.verts ); in fetch_pipeline_generic()
285 FREE(vert_info->verts); in fetch_pipeline_generic()
299 FREE(vert_info->verts); in fetch_pipeline_generic()
308 FREE(vert_info->verts); in fetch_pipeline_generic()
318 FREE(vert_info->verts); in fetch_pipeline_generic()
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1717 struct vertex verts[4]; in meta_clear() local
1816 verts[0].x = x0; in meta_clear()
1817 verts[0].y = y0; in meta_clear()
1818 verts[0].z = z; in meta_clear()
1819 verts[1].x = x1; in meta_clear()
1820 verts[1].y = y0; in meta_clear()
1821 verts[1].z = z; in meta_clear()
1822 verts[2].x = x1; in meta_clear()
1823 verts[2].y = y1; in meta_clear()
1824 verts[2].z = z; in meta_clear()
[all …]
Dmeta_generate_mipmap.c151 struct vertex verts[4]; in _mesa_meta_GenerateMipmap() local
254 memset(verts, 0, sizeof(verts)); in _mesa_meta_GenerateMipmap()
257 verts[0].x = -1.0F; in _mesa_meta_GenerateMipmap()
258 verts[0].y = -1.0F; in _mesa_meta_GenerateMipmap()
259 verts[1].x = 1.0F; in _mesa_meta_GenerateMipmap()
260 verts[1].y = -1.0F; in _mesa_meta_GenerateMipmap()
261 verts[2].x = 1.0F; in _mesa_meta_GenerateMipmap()
262 verts[2].y = 1.0F; in _mesa_meta_GenerateMipmap()
263 verts[3].x = -1.0F; in _mesa_meta_GenerateMipmap()
264 verts[3].y = 1.0F; in _mesa_meta_GenerateMipmap()
[all …]
Dmeta_blit.c759 struct vertex verts[4]; in blitframebuffer_texture() local
781 memset(verts, 0, sizeof(verts)); in blitframebuffer_texture()
784 verts[0].x = -1.0F * flipX; in blitframebuffer_texture()
785 verts[0].y = -1.0F * flipY; in blitframebuffer_texture()
786 verts[1].x = 1.0F * flipX; in blitframebuffer_texture()
787 verts[1].y = -1.0F * flipY; in blitframebuffer_texture()
788 verts[2].x = 1.0F * flipX; in blitframebuffer_texture()
789 verts[2].y = 1.0F * flipY; in blitframebuffer_texture()
790 verts[3].x = -1.0F * flipX; in blitframebuffer_texture()
791 verts[3].y = 1.0F * flipY; in blitframebuffer_texture()
[all …]
/external/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()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_blit.c274 float verts[12]; in emit_draw_packet() local
282 verts[0] = dst_x_offset; in emit_draw_packet()
283 verts[1] = dst_y_offset + reg_height; in emit_draw_packet()
284 verts[2] = texcoords[0]; in emit_draw_packet()
285 verts[3] = texcoords[3]; in emit_draw_packet()
287 verts[4] = dst_x_offset + reg_width; in emit_draw_packet()
288 verts[5] = dst_y_offset + reg_height; in emit_draw_packet()
289 verts[6] = texcoords[1]; in emit_draw_packet()
290 verts[7] = texcoords[3]; in emit_draw_packet()
292 verts[8] = dst_x_offset + reg_width; in emit_draw_packet()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_blit.c426 float verts[12]; in emit_draw_packet() local
434 verts[0] = dst_x_offset; in emit_draw_packet()
435 verts[1] = dst_y_offset + reg_height; in emit_draw_packet()
436 verts[2] = texcoords[0]; in emit_draw_packet()
437 verts[3] = texcoords[3]; in emit_draw_packet()
439 verts[4] = dst_x_offset + reg_width; in emit_draw_packet()
440 verts[5] = dst_y_offset + reg_height; in emit_draw_packet()
441 verts[6] = texcoords[1]; in emit_draw_packet()
442 verts[7] = texcoords[3]; in emit_draw_packet()
444 verts[8] = dst_x_offset + reg_width; in emit_draw_packet()
[all …]

1234