/external/skia/samplecode/ |
vertexdump.cpp | 10 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]); 12 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { 13 verts[0].set(107, 189); 15 verts[1].set(116, 189); 17 verts[2].set(203, 189); 19 verts[3].set(212, 189); 21 verts[4].set(107, 198); 23 verts[5].set(116, 198); 25 verts[6].set(203, 198); 27 verts[7].set(212, 198) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pt_decompose.h | 2 char *verts = (char *) vertices; \
|
draw_pipe.c | 178 verts + stride * (i0), \ 179 verts + stride * (i1), \ 180 verts + stride * (i2) ); \ 187 verts + stride * (i0), \ 188 verts + stride * (i1) ); \ 193 do_point( draw, verts + stride * (i0) ); \ 230 draw->pipeline.verts = (char *)vert_info->verts; 262 vert_info->verts, 268 draw->pipeline.verts = NULL 321 char *verts = ((char*)vert_info->verts) + local [all...] |
draw_pipe_util.c | 61 /* This is only used for temporary verts. 125 if (draw->pipeline.verts) 128 char *verts = draw->pipeline.verts; local 132 ((struct vertex_header *)verts)->vertex_id = UNDEFINED_VERTEX_ID; 133 verts += stride;
|
draw_pt_fetch_shade_pipeline.c | 186 output_verts->verts = 191 (const float (*)[4])input_verts->verts->data, 192 ( float (*)[4])output_verts->verts->data, 218 fetched_vert_info.verts = 221 if (!fetched_vert_info.verts) { 228 fetch( fpme->fetch, fetch_info, (char *)fetched_vert_info.verts ); 236 * the pipeline verts. 245 FREE(vert_info->verts); 258 FREE(vert_info->verts); 291 FREE(vert_info->verts); [all...] |
/external/mesa3d/src/mesa/swrast_setup/ |
ss_context.h | 39 SWvertex *verts; member in struct:__anon17141
|
ss_triangle.c | 118 SWvertex *verts = swsetup->verts; local 119 SWvertex *v0 = &verts[e0]; 120 SWvertex *v1 = &verts[e1]; 121 SWvertex *v2 = &verts[e2]; 216 SWvertex *verts = SWSETUP_CONTEXT(ctx)->verts; local 222 _swrast_Point( ctx, &verts[VB->Elts[i]] ); 227 _swrast_Point( ctx, &verts[i] ); 233 SWvertex *verts = SWSETUP_CONTEXT(ctx)->verts local [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/generators/ |
hybrid.py | 40 verts=set([u,v]) 42 [verts.update(G.neighbors(w)) for w in verts.copy()] 43 G2=G.subgraph(list(verts)) 84 verts=set([u,v]) 86 [verts.update(G.neighbors(w)) for w in verts.copy()] 87 G2=G.subgraph(verts)
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Canvas_VertexModeTest.java | 41 float[] verts = new float[10]; local 51 verts, 64 verts, 77 verts,
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
filters.h | 41 unsigned int verts; /* How many are vertex shaders */ member in struct:pp_filter_t 49 /* name inner shaders verts init run */
|
pp_program.c | 63 static const float verts[4][2][4] = { local 83 PIPE_USAGE_STATIC, sizeof(verts)); 84 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(verts), verts);
|
postprocess.h | 60 unsigned int *verts; member in struct:pp_queue_t
|
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 353 QuadVertex* verts, 366 // Check whether adding the verts for this segment to the current draw would cause index 375 verts += *v; 383 verts[*v + 0].fPos = sega.endPt(); 384 verts[*v + 1].fPos = verts[*v + 0].fPos + sega.endNorm(); 385 verts[*v + 2].fPos = verts[*v + 0].fPos + segb.fMid; 386 verts[*v + 3].fPos = verts[*v + 0].fPos + segb.fNorms[0] 707 intptr_t verts = reinterpret_cast<intptr_t>(vertices); local 828 void* verts = batchTarget->makeVertSpace(vertexStride, tess.numPts(), local 917 QuadVertex* verts = reinterpret_cast<QuadVertex*>(batchTarget->makeVertSpace( variable [all...] |
GrOvalRenderer.cpp | 715 CircleVertex* verts = reinterpret_cast<CircleVertex*>(helper.init(batchTarget, vertexStride, variable 717 if (!verts) { 731 verts[0].fPos = SkPoint::Make(bounds.fLeft, bounds.fTop); 732 verts[0].fOffset = SkPoint::Make(-1, -1); 733 verts[0].fOuterRadius = outerRadius; 734 verts[0].fInnerRadius = innerRadius; 736 verts[1].fPos = SkPoint::Make(bounds.fLeft, bounds.fBottom); 737 verts[1].fOffset = SkPoint::Make(-1, 1); 738 verts[1].fOuterRadius = outerRadius; 739 verts[1].fInnerRadius = innerRadius 939 EllipseVertex* verts = reinterpret_cast<EllipseVertex*>( variable 1207 DIEllipseVertex* verts = reinterpret_cast<DIEllipseVertex*>( variable 1578 CircleVertex* verts = reinterpret_cast<CircleVertex*>(helper.init(batchTarget, variable 1760 EllipseVertex* verts = reinterpret_cast<EllipseVertex*>( variable [all...] |
GrAARectRenderer.cpp | 214 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + offset; local 216 SkPoint* fan0Pos = reinterpret_cast<SkPoint*>(verts); 217 SkPoint* fan1Pos = reinterpret_cast<SkPoint*>(verts + 4 * vertexStride); 263 // Make verts point to vertex color and then set all the color and coverage vertex attrs 265 verts += sizeof(SkPoint); 268 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = 0; 270 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; 271 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = 0; 283 verts += 4 * vertexStride; 290 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor 670 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + offset; local [all...] |
GrAAHairLinePathRenderer.cpp | 208 // trade off of fill vs cpu time on verts 445 static void set_uv_quad(const SkPoint qpts[3], BezierVertex verts[kQuadNumVertices]) { 448 DevToUV.apply<kQuadNumVertices, sizeof(BezierVertex), sizeof(SkPoint)>(verts); 452 const SkMatrix* toSrc, BezierVertex verts[kQuadNumVertices]) { 476 BezierVertex& a0 = verts[0]; 477 BezierVertex& a1 = verts[1]; 478 BezierVertex& b0 = verts[2]; 479 BezierVertex& c0 = verts[3]; 480 BezierVertex& c1 = verts[4]; 519 toSrc->mapPointsWithStride(&verts[0].fPos, sizeof(BezierVertex), kQuadNumVertices) 654 VertexType* verts = reinterpret_cast<VertexType*>(vertices); local 875 LineVertex* verts = reinterpret_cast<LineVertex*>( local 916 BezierVertex* verts = reinterpret_cast<BezierVertex*>(vertices); local 941 GrVertices verts; local 962 GrVertices verts; local [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.c | 1504 struct vertex verts[4]; local 1591 struct vertex verts[4]; local 1761 struct vertex verts[4]; local 1999 } verts[4]; local 2110 struct vertex verts[4]; local 2364 struct vertex verts[4]; local 2633 struct vertex verts[4]; local 3240 struct vertex verts[4]; local 3613 struct vertex verts[4]; local 3852 struct vertex verts[4]; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_blit.c | 282 float verts[12]; local 290 verts[0] = dst_x_offset; 291 verts[1] = dst_y_offset + reg_height; 292 verts[2] = texcoords[0]; 293 verts[3] = texcoords[3]; 295 verts[4] = dst_x_offset + reg_width; 296 verts[5] = dst_y_offset + reg_height; 297 verts[6] = texcoords[1]; 298 verts[7] = texcoords[3]; 300 verts[8] = dst_x_offset + reg_width [all...] |
/external/skia/include/utils/ |
SkBoundaryPatch.h | 41 bool evalPatch(SkPoint verts[], int rows, int cols);
|
SkMeshUtils.h | 46 const SkPoint verts[], const SkColor colors[],
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 74 static void fillRow(SkPoint verts[], SkPoint texs[], 79 verts->set(vx, vy); verts++; 89 verts->set(vx, vy); verts++; 92 verts->set(bounds.fRight, vy); verts++; 188 // number of celss * 2 (tris per cell) * 3 (verts per tri) 190 // allocate 2 times, one for verts, one for texs, plus indices 193 SkPoint* verts = (SkPoint*)storage.get() local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_blit.c | 407 float verts[12]; local 415 verts[0] = dst_x_offset; 416 verts[1] = dst_y_offset + reg_height; 417 verts[2] = texcoords[0]; 418 verts[3] = texcoords[3]; 420 verts[4] = dst_x_offset + reg_width; 421 verts[5] = dst_y_offset + reg_height; 422 verts[6] = texcoords[1]; 423 verts[7] = texcoords[3]; 425 verts[8] = dst_x_offset + reg_width [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
Wedge.java | 32 private final static int VERTS = 6; 48 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 6 * 4); 52 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4); 56 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 8 * 2); 65 float[] verts = { local 74 coords = verts.clone(); 76 float[] verts = { local 85 coords = verts.clone(); 88 for (int i = 0; i < VERTS; i++) { 94 for (int i = 0; i < VERTS; i++) [all...] |
/external/skia/experimental/StrokePathRenderer/ |
GrStrokePathRenderer.cpp | 118 SkPoint* verts = reinterpret_cast<SkPoint*>(arg.vertices()); 126 SkPoint *firstPt = verts, *lastPt = NULL; 221 *verts++ = pts[0]; // Use current point directly 236 *verts++ = l1a; 237 *verts++ = l2a; 238 lastPt = verts; 239 *verts++ = l1b; 240 *verts++ = l2b;
|
/external/skia/gm/ |
beziereffects.cpp | 76 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(batchTarget, vertexStride, 1)); variable 77 if (!verts) { 81 verts[0].fPosition.setRectFan(fGeometry.fBounds.fLeft, fGeometry.fBounds.fTop, 85 verts[v].fKLM[0] = eval_line(verts[v].fPosition, fKlmEqs + 0, fSign); 86 verts[v].fKLM[1] = eval_line(verts[v].fPosition, fKlmEqs + 3, fSign); 87 verts[v].fKLM[2] = eval_line(verts[v].fPosition, fKlmEqs + 6, 1.f); 471 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(batchTarget, vertexStride, 1)) variable [all...] |