/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/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/ |
ChainShape.java | 55 float[] verts = new float[vertices.length * 2]; local 57 verts[i] = vertices[j].x; 58 verts[i + 1] = vertices[j].y; 60 jniCreateLoop(addr, verts, verts.length / 2); 64 private native void jniCreateLoop (long addr, float[] verts, int numVertices); /* 68 verticesOut[i] = b2Vec2(verts[i<<1], verts[(i<<1)+1]); 83 float[] verts = new float[vertices.length * 2]; local 85 verts[i] = vertices[j].x 140 private static float[] verts = new float[2]; field in class:ChainShape [all...] |
PolygonShape.java | 50 float[] verts = new float[vertices.length * 2]; local 52 verts[i] = vertices[j].x; 53 verts[i + 1] = vertices[j].y; 55 jniSet(addr, verts, 0, verts.length); 70 private native void jniSet (long addr, float[] verts, int offset, int len); /* 75 verticesOut[i] = b2Vec2(verts[(i<<1) + offset], verts[(i<<1) + offset + 1]); 117 private static float[] verts = new float[2]; field in class:PolygonShape 123 jniGetVertex(addr, index, verts); [all...] |
/external/opencv3/samples/python2/ |
stereo_match.py | 24 def write_ply(fn, verts, colors): 25 verts = verts.reshape(-1, 3) 27 verts = np.hstack([verts, colors]) 29 f.write(ply_header % dict(vert_num=len(verts))) 30 np.savetxt(f, verts, '%f %f %f %d %d %d')
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/ |
com.badlogic.gdx.physics.box2d.ChainShape.cpp | 17 float* verts = (float*)env->GetPrimitiveArrayCritical(obj_verts, 0); local 25 verticesOut[i] = b2Vec2(verts[i<<1], verts[(i<<1)+1]); 29 env->ReleasePrimitiveArrayCritical(obj_verts, verts, 0); 34 float* verts = (float*)env->GetPrimitiveArrayCritical(obj_verts, 0); local 42 verticesOut[i] = b2Vec2(verts[i<<1], verts[(i<<1)+1]); 46 env->ReleasePrimitiveArrayCritical(obj_verts, verts, 0); 84 float* verts = (float*)env->GetPrimitiveArrayCritical(obj_verts, 0); local 91 verts[0] = v.x [all...] |
com.badlogic.gdx.physics.box2d.PolygonShape.cpp | 18 float* verts = (float*)env->GetPrimitiveArrayCritical(obj_verts, 0); local 27 verticesOut[i] = b2Vec2(verts[(i<<1) + offset], verts[(i<<1) + offset + 1]); 32 env->ReleasePrimitiveArrayCritical(obj_verts, verts, 0); 70 float* verts = (float*)env->GetPrimitiveArrayCritical(obj_verts, 0); local 77 verts[0] = v.x; 78 verts[1] = v.y; 80 env->ReleasePrimitiveArrayCritical(obj_verts, verts, 0);
|
/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;
|
/external/mesa3d/src/mesa/swrast_setup/ |
ss_context.h | 39 SWvertex *verts; member in struct:__anon19827
|
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...] |
/external/skia/src/gpu/batches/ |
GrAAConvexPathRenderer.cpp | 356 QuadVertex* verts, 369 // Check whether adding the verts for this segment to the current draw would cause index 378 verts += *v; 386 verts[*v + 0].fPos = sega.endPt(); 387 verts[*v + 1].fPos = verts[*v + 0].fPos + sega.endNorm(); 388 verts[*v + 2].fPos = verts[*v + 0].fPos + segb.fMid; 389 verts[*v + 3].fPos = verts[*v + 0].fPos + segb.fNorms[0] 697 intptr_t verts = reinterpret_cast<intptr_t>(vertices); local 820 void* verts = target->makeVertexSpace(vertexStride, tess.numPts(), &vertexBuffer, local 907 QuadVertex* verts = reinterpret_cast<QuadVertex*>(target->makeVertexSpace( variable [all...] |
GrNonAAStrokeRectBatch.cpp | 19 could use an indices array, and then only send 8 verts, but not sure that 22 static void init_stroke_rect_strip(SkPoint verts[10], const SkRect& rect, SkScalar width) { 28 verts[0].set(rect.fLeft + rad, rect.fTop + rad); 29 verts[1].set(rect.fLeft - rad, rect.fTop - rad); 30 verts[2].set(rect.fRight - rad, rect.fTop + rad); 31 verts[3].set(rect.fRight + rad, rect.fTop - rad); 32 verts[4].set(rect.fRight - rad, rect.fBottom - rad); 33 verts[5].set(rect.fRight + rad, rect.fBottom + rad); 34 verts[6].set(rect.fLeft + rad, rect.fBottom - rad); 35 verts[7].set(rect.fLeft - rad, rect.fBottom + rad) 136 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, variable [all...] |
/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);
|
/external/skia/src/gpu/ |
GrTessellator.h | 29 // for all three vertices of a triangle). The 'verts' out parameter is set to point to the resultant 32 WindingVertex** verts);
|
GrOvalRenderer.cpp | 681 CircleVertex* verts = reinterpret_cast<CircleVertex*>(helper.init(target, vertexStride, variable 683 if (!verts) { 698 verts[0].fPos = SkPoint::Make(bounds.fLeft, bounds.fTop); 699 verts[0].fColor = color; 700 verts[0].fOffset = SkPoint::Make(-1, -1); 701 verts[0].fOuterRadius = outerRadius; 702 verts[0].fInnerRadius = innerRadius; 704 verts[1].fPos = SkPoint::Make(bounds.fLeft, bounds.fBottom); 705 verts[1].fColor = color; 706 verts[1].fOffset = SkPoint::Make(-1, 1) 894 EllipseVertex* verts = reinterpret_cast<EllipseVertex*>( variable 1144 DIEllipseVertex* verts = reinterpret_cast<DIEllipseVertex*>( variable 1437 CircleVertex* verts = reinterpret_cast<CircleVertex*>(helper.init(target, variable 1616 EllipseVertex* verts = reinterpret_cast<EllipseVertex*>( variable [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/opencv3/modules/viz/src/vtk/ |
vtkXYZReader.cpp | 89 vtkSmartPointer<vtkCellArray> verts = vtkSmartPointer<vtkCellArray>::New(); local 97 verts->InsertNextCell(1, &id); 104 output->SetVerts(verts);
|
/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/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btConvexHull.cpp | 482 int4 HullLibrary::FindSimplex(btVector3 *verts,int verts_count,btAlignedObjectArray<int> &allow) 486 int p0 = maxdirsterid(verts,verts_count, basis[0],allow); 487 int p1 = maxdirsterid(verts,verts_count,-basis[0],allow); 488 basis[0] = verts[p0]-verts[p1]; 500 int p2 = maxdirsterid(verts,verts_count,basis[1],allow); 503 p2 = maxdirsterid(verts,verts_count,-basis[1],allow); 507 basis[1] = verts[p2] - verts[p0]; 509 int p3 = maxdirsterid(verts,verts_count,basis[2],allow) [all...] |
/external/skia/include/utils/ |
SkBoundaryPatch.h | 41 bool evalPatch(SkPoint verts[], int rows, int cols);
|
/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...] |