/cts/tests/tests/graphics/src/android/graphics/cts/ |
Canvas_VertexModeTest.java | 41 float[] verts = new float[10]; local 51 verts, 64 verts, 77 verts,
|
CanvasTest.java | 1397 final float[] verts = new float[2008]; local 1415 final float[] verts = new float[10]; local [all...] |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
ColorBuffer.cpp | 335 GLfloat verts[] = { -1.0f, -1.0f, 0.0f, local 357 s_gl.glVertexPointer(3, GL_FLOAT, 0, verts);
|
/external/quake/quake/src/QW/client/ |
gl_mesh.c | 289 trivertx_t *verts;
local 353 verts = Hunk_Alloc (paliashdr->numposes * paliashdr->poseverts
355 paliashdr->posedata = (byte *)verts - (byte *)paliashdr;
358 *verts++ = poseverts[i][vertexorder[j]];
|
r_draw.c | 708 mvertex_t verts[2][100]; //FIXME: do real number local 743 verts[0][i] = r_pcurrentvertbase[r_pedge->v[0]]; 748 verts[0][i] = r_pcurrentvertbase[r_pedge->v[1]]; 756 lastdist = DotProduct (verts[vertpage][lastvert].position, 765 dist = DotProduct (verts[vertpage][i].position, pclip->normal) - 771 verts[newpage][newverts].position[0] = 772 verts[vertpage][i].position[0] + 773 ((verts[vertpage][lastvert].position[0] - 774 verts[vertpage][i].position[0]) * frac); 775 verts[newpage][newverts].position[1] [all...] |
gl_rmain.c | 299 trivertx_t *verts; local 305 verts = (trivertx_t *)((byte *)paliashdr + paliashdr->posedata); 306 verts += posenum * paliashdr->poseverts; 341 l = shadedots[verts->lightnormalindex] * shadelight; 345 *pVertex++ = verts->v[0]; 346 *pVertex++ = verts->v[1]; 347 *pVertex++ = verts->v[2]; 348 verts++; 375 l = shadedots[verts->lightnormalindex] * shadelight; 377 glVertex3f (verts->v[0], verts->v[1], verts->v[2]) 396 trivertx_t *verts; local [all...] |
gl_warp.c | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) 43 v = verts; 54 void SubdividePolygon (int numverts, float *verts) 70 BoundPoly (numverts, verts, mins, maxs); 82 v = verts + i; 89 VectorCopy (verts, v); 92 v = verts; 127 for (i=0 ; i<numverts ; i++, verts+= 3) 129 VectorCopy (verts, poly->verts[i]) 148 vec3_t verts[64]; local 903 vec3_t verts[MAX_CLIP_VERTS]; local [all...] |
gl_model.h | 125 float verts[4][VERTEXSIZE]; // variable sized (xyz s1t1 s2t2)
member in struct:glpoly_s
|
/external/skia/src/gpu/ |
GrAARectRenderer.cpp | 144 intptr_t verts = reinterpret_cast<intptr_t>(geo.vertices()); local 146 GrPoint* fan0Pos = reinterpret_cast<GrPoint*>(verts); 147 GrPoint* fan1Pos = reinterpret_cast<GrPoint*>(verts + 4 * vsize); 152 verts += sizeof(GrPoint); 154 *reinterpret_cast<GrColor*>(verts + i * vsize) = 0; 164 verts += 4 * vsize; 166 *reinterpret_cast<GrColor*>(verts + i * vsize) = innerColor; 212 intptr_t verts = reinterpret_cast<intptr_t>(geo.vertices()); local 217 GrPoint* fan0Pos = reinterpret_cast<GrPoint*>(verts); 218 GrPoint* fan1Pos = reinterpret_cast<GrPoint*>(verts + 4 * vsize) [all...] |
GrAAConvexPathRenderer.cpp | 303 QuadVertex* verts, 315 verts[v + 0].fPos = sega.endPt(); 316 verts[v + 1].fPos = verts[v + 0].fPos + sega.endNorm(); 317 verts[v + 2].fPos = verts[v + 0].fPos + segb.fMid; 318 verts[v + 3].fPos = verts[v + 0].fPos + segb.fNorms[0]; 319 verts[v + 0].fUV.set(0,0); 320 verts[v + 1].fUV.set(0,-SK_Scalar1) 469 QuadVertex *verts; local [all...] |
GrAAHairLinePathRenderer.cpp | 163 // trade off of fill vs cpu time on verts 357 const SkMatrix* toSrc, Vertex verts[kVertsPerQuad]) { 384 Vertex& a0 = verts[0]; 385 Vertex& a1 = verts[1]; 386 Vertex& b0 = verts[2]; 387 Vertex& c0 = verts[3]; 388 Vertex& c1 = verts[4]; 427 toSrc->mapPointsWithStride(&verts[0].fPos, sizeof(Vertex), kVertsPerQuad); 429 DevToUV.apply<kVertsPerQuad, sizeof(Vertex), sizeof(GrPoint)>(verts); 523 Vertex* verts = reinterpret_cast<Vertex*>(arg->vertices()) local [all...] |
/external/quake/quake/src/WinQuake/ |
gl_mesh.cpp | 302 trivertx_t *verts; local 360 verts = (trivertx_t*) Hunk_Alloc (paliashdr->numposes * paliashdr->poseverts 362 paliashdr->posedata = (byte *)verts - (byte *)paliashdr; 365 *verts++ = poseverts[i][vertexorder[j]];
|
r_draw.cpp | 708 mvertex_t verts[2][100]; //FIXME: do real number
local 743 verts[0][i] = r_pcurrentvertbase[r_pedge->v[0]];
748 verts[0][i] = r_pcurrentvertbase[r_pedge->v[1]];
756 lastdist = DotProduct (verts[vertpage][lastvert].position,
765 dist = DotProduct (verts[vertpage][i].position, pclip->normal) -
771 verts[newpage][newverts].position[0] =
772 verts[vertpage][i].position[0] +
773 ((verts[vertpage][lastvert].position[0] -
774 verts[vertpage][i].position[0]) * frac);
775 verts[newpage][newverts].position[1] = [all...] |
gl_warp.cpp | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) 43 v = verts; 54 void SubdividePolygon (int numverts, float *verts) 70 BoundPoly (numverts, verts, mins, maxs); 82 v = verts + i; 89 VectorCopy (verts, v); 92 v = verts; 127 for (i=0 ; i<numverts ; i++, verts+= 3) 129 VectorCopy (verts, poly->verts[i]) 148 vec3_t verts[64]; local 952 vec3_t verts[MAX_CLIP_VERTS]; local [all...] |
gl_model.h | 121 float verts[4][VERTEXSIZE]; // variable sized (xyz s1t1 s2t2) member in struct:glpoly_s
|
gl_rmain.cpp | 329 trivertx_t *v, *verts; local 342 verts = (trivertx_t *)((byte *)paliashdr + paliashdr->posedata); 343 verts += posenum * paliashdr->poseverts; 386 l = shadedots[verts->lightnormalindex] * shadelight; 391 *pPos++ = verts->v[0]; 392 *pPos++ = verts->v[1]; 393 *pPos++ = verts->v[2]; 394 verts++; 416 l = shadedots[verts->lightnormalindex] * shadelight; 418 glVertex3f (verts->v[0], verts->v[1], verts->v[2]) 445 trivertx_t *v, *verts; local 596 trivertx_t *verts, *v; local [all...] |
/external/skia/legacy/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/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/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
OBJLoader.java | 67 protected final ArrayList<Vector3f> verts = new ArrayList<Vector3f>(); field in class:OBJLoader 163 verts.clear(); 260 vx.v = verts.get(v - 1); 357 verts.add(readVector3());
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
PlatformGraphicsContextSkia.cpp | 404 SkPoint* verts = (SkPoint*)storage.get(); local 407 verts[i].set(x, y); 423 canvas->drawPoints(SkCanvas::kPoints_PointMode, count, verts, paint);
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
BufferUtils.java | 343 Vector3f[] verts = new Vector3f[buff.limit() / 3]; local 344 for (int x = 0; x < verts.length; x++) { 346 verts[x] = v; 348 return verts; 548 Vector2f[] verts = new Vector2f[buff.limit() / 2]; local 549 for (int x = 0; x < verts.length; x++) { 551 verts[x] = v; 553 return verts; [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
CurvesHelper.java | 456 Vector3f[] verts = new Vector3f[vertices.length / 3];
local 457 for (int j = 0; j < verts.length; ++j) {
463 verts[j] = new Vector3f(temp[0], temp[1], temp[2]);
465 verts[j] = new Vector3f(temp[0], temp[2], -temp[1]);
469 vertexBuffers[geomIndex] = BufferUtils.createFloatBuffer(verts.length * curvePoints.length);
471 FloatBuffer buffer = BufferUtils.createFloatBuffer(verts);
483 int bevelCurveEdgesAmount = verts.length - 1;
487 int pointOffset = i / 3 * verts.length;
489 for (int index = 0; index < verts.length - 1; ++index) {
492 indexBuffer.put(verts.length + index + pointOffset); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
SkeletonControl.java | 339 int verts = bufLength / 3; local 343 for (int vert = verts - 1; vert >= 0; vert--) { 452 int verts = bufLength / 3; local 458 for (int vert = verts - 1; vert >= 0; vert--) {
|
/frameworks/base/core/jni/android/graphics/ |
Canvas.cpp | 607 storageSize += ptCount * sizeof(SkPoint); // storage for verts 613 SkPoint* verts; local 616 verts = (SkPoint*)(vertA.ptr() + vertIndex); 619 verts = texs + ptCount; 620 indices = (uint16_t*)(verts + ptCount); 625 verts[i].set(SkFloatToFixed(src[0]), SkFloatToFixed(src[1])); 699 canvas->drawVertices(SkCanvas::kTriangles_VertexMode, ptCount, verts, 719 SkPoint* verts; local 722 verts = (SkPoint*)(vertA.ptr() + vertIndex); 727 int count = ptCount; // for verts [all...] |
/external/skia/legacy/src/core/ |
SkPicturePlayback.cpp | 697 const SkPoint* verts = (const SkPoint*)fReader.skip( local 716 canvas.drawVertices(vmode, vCount, verts, texs, colors, NULL, [all...] |