/external/skia/src/gpu/ |
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...] |
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...] |
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...] |
GrContext.cpp | 316 GrPoint* verts = (GrPoint*) arg.vertices(); local 317 verts[0].setIRectFan(0, 0, texture->width(), texture->height(), 2 * sizeof(GrPoint)); 318 verts[1].setIRectFan(0, 0, 1, 1, 2 * sizeof(GrPoint)); 606 could use an indices array, and then only send 8 verts, but not sure that 609 static void setStrokeRectStrip(GrPoint verts[10], GrRect rect, 614 verts[0].set(rect.fLeft + rad, rect.fTop + rad); 615 verts[1].set(rect.fLeft - rad, rect.fTop - rad); 616 verts[2].set(rect.fRight - rad, rect.fTop + rad); 617 verts[3].set(rect.fRight + rad, rect.fTop - rad); 618 verts[4].set(rect.fRight - rad, rect.fBottom - rad) 1017 CircleVertex* verts = reinterpret_cast<CircleVertex*>(geo.vertices()); local [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/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/legacy/include/utils/ |
SkBoundaryPatch.h | 36 bool evalPatch(SkPoint verts[], int rows, int cols);
|
SkMeshUtils.h | 46 const SkPoint verts[], const SkColor colors[],
|
/external/quake/quake/src/QW/client/ |
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_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_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_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]];
|
gl_rsurf.c | 335 v = p->verts[0]; 346 v = p->verts[0]; 460 v = p->verts[0]; 475 v = p->verts[0]; 486 v = p->verts[0]; 562 v = p->verts[0]; 611 v = p->verts[0]; 638 v = p->verts[0]; 667 v = p->verts[0]; 755 v = p->verts[0] [all...] |
/external/quake/quake/src/WinQuake/ |
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_rsurf.cpp | 332 v = p->verts[0]; 343 v = p->verts[0]; 459 glTexCoordPointer(2, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][3]); 462 glTexCoordPointer(2, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][5]); 463 glVertexPointer(3, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][0]); 470 v = p->verts[0]; 486 glVertexPointer(3, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][0]); 487 glTexCoordPointer(2, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][3]); 491 v = p->verts[0]; 503 glTexCoordPointer(2, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][5]) [all...] |
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...] |
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]];
|
/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...] |
SkBoundaryPatch.cpp | 44 bool SkBoundaryPatch::evalPatch(SkPoint verts[], int rows, int cols) { 55 *verts++ = this->eval(x * invR, yy);
|
SkMeshUtils.cpp | 89 int rows, int cols, const SkPoint verts[], 99 rows * cols, verts, idx.tex(), colors, NULL,
|
/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...] |
SkBoundaryPatch.cpp | 46 bool SkBoundaryPatch::evalPatch(SkPoint verts[], int rows, int cols) { 57 *verts++ = this->eval(x * invR, yy);
|
SkMeshUtils.cpp | 89 int rows, int cols, const SkPoint verts[], 99 rows * cols, verts, idx.tex(), colors, NULL,
|