/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...] |
/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/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,
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
TriangleRenderer.java | 121 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4); 125 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4); 128 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2); 140 for (int i = 0; i < VERTS; i++) { 146 for(int i = 0; i < VERTS; i++) { 157 gl.glDrawElements(GL10.GL_TRIANGLE_STRIP, VERTS, 161 private final static int VERTS = 3;
|
/external/skia/include/utils/ |
SkMeshUtils.h | 46 const SkPoint verts[], const SkColor colors[],
|
SkBoundaryPatch.h | 41 bool evalPatch(SkPoint verts[], int rows, int cols);
|
/external/skia/legacy/include/utils/ |
SkMeshUtils.h | 46 const SkPoint verts[], const SkColor colors[],
|
SkBoundaryPatch.h | 36 bool evalPatch(SkPoint verts[], int rows, int cols);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
StaticTriangleRenderer.java | 218 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4); 222 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4); 226 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2); 238 for (int i = 0; i < VERTS; i++) { 244 for (int i = 0; i < VERTS; i++) { 250 for(int i = 0; i < VERTS; i++) { 264 glDrawElements(GL_TRIANGLE_STRIP, VERTS, 268 private final static int VERTS = 3;
|
TriangleRenderer.java | 186 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4); 190 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4); 194 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2); 206 for (int i = 0; i < VERTS; i++) { 212 for (int i = 0; i < VERTS; i++) { 218 for(int i = 0; i < VERTS; i++) { 232 gl.glDrawElements(GL10.GL_TRIANGLE_STRIP, VERTS, 236 private final static int VERTS = 3;
|
/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...] |
/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_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_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...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 292 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4); 296 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4); 300 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2); 304 for (int i = 0; i < VERTS; i++) { 310 for (int i = 0; i < VERTS; i++) { 316 for(int i = 0; i < VERTS; i++) { 330 gl.glDrawElements(GL10.GL_TRIANGLE_STRIP, VERTS, 342 private final static int VERTS = 3;
|
/external/skia/include/core/ |
SkTrace.h | 32 "verts", SkStringPrintf("%i", vert - base).c_str());
|
/external/skia/legacy/include/core/ |
SkTrace.h | 32 "verts", SkStringPrintf("%i", vert - base).c_str());
|