/external/skia/samplecode/ |
D | vertexdump.cpp | 3 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]); 5 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument 6 verts[0].set(SkFloatToScalar(107), SkFloatToScalar(189)); in setup_vertexbug() 8 verts[1].set(SkFloatToScalar(116), SkFloatToScalar(189)); in setup_vertexbug() 10 verts[2].set(SkFloatToScalar(203), SkFloatToScalar(189)); in setup_vertexbug() 12 verts[3].set(SkFloatToScalar(212), SkFloatToScalar(189)); in setup_vertexbug() 14 verts[4].set(SkFloatToScalar(107), SkFloatToScalar(198)); in setup_vertexbug() 16 verts[5].set(SkFloatToScalar(116), SkFloatToScalar(198)); in setup_vertexbug() 18 verts[6].set(SkFloatToScalar(203), SkFloatToScalar(198)); in setup_vertexbug() 20 verts[7].set(SkFloatToScalar(212), SkFloatToScalar(198)); in setup_vertexbug() [all …]
|
D | SamplePatch.cpp | 157 SkPoint* verts = vertStorage.get(); in draw() local 160 memcpy(verts, edge0, (nu + 1) * sizeof(SkPoint)); in draw() 162 SkPoint* r = verts; in draw() 172 SkPoint* last = verts + nv * (nu + 1); in draw() 188 r = verts; in draw()
|
/external/skia/src/utils/ |
D | SkNinePatch.cpp | 81 static void fillRow(SkPoint verts[], SkPoint texs[], in fillRow() argument 86 verts->set(vx, vy); verts++; in fillRow() 96 verts->set(vx, vy); verts++; in fillRow() 99 verts->set(bounds.fRight, vy); verts++; in fillRow() 200 SkPoint* verts = (SkPoint*)storage.get(); in DrawMesh() local 201 SkPoint* texs = verts + vCount; in DrawMesh() 204 mesh.fVerts = verts; in DrawMesh() 219 fillRow(verts, texs, vy, 0, bounds, xDivs, numXDivs, in DrawMesh() 221 verts += numXDivs + 2; in DrawMesh() 230 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs, in DrawMesh() [all …]
|
D | SkMeshUtils.cpp | 82 int rows, int cols, const SkPoint verts[], in Draw() argument 92 rows * cols, verts, idx.tex(), colors, NULL, in Draw()
|
D | SkBoundaryPatch.cpp | 37 bool SkBoundaryPatch::evalPatch(SkPoint verts[], int rows, int cols) { in evalPatch() argument 48 *verts++ = this->eval(x * invR, yy); in evalPatch()
|
/external/quake/quake/src/QW/client/ |
D | r_draw.c | 708 mvertex_t verts[2][100]; //FIXME: do real number in R_RenderPoly() local 743 verts[0][i] = r_pcurrentvertbase[r_pedge->v[0]]; in R_RenderPoly() 748 verts[0][i] = r_pcurrentvertbase[r_pedge->v[1]]; in R_RenderPoly() 756 lastdist = DotProduct (verts[vertpage][lastvert].position, in R_RenderPoly() 765 dist = DotProduct (verts[vertpage][i].position, pclip->normal) - in R_RenderPoly() 771 verts[newpage][newverts].position[0] = in R_RenderPoly() 772 verts[vertpage][i].position[0] + in R_RenderPoly() 773 ((verts[vertpage][lastvert].position[0] - in R_RenderPoly() 774 verts[vertpage][i].position[0]) * frac); in R_RenderPoly() 775 verts[newpage][newverts].position[1] = in R_RenderPoly() [all …]
|
D | gl_warp.c | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) in BoundPoly() argument 43 v = verts; in BoundPoly() 54 void SubdividePolygon (int numverts, float *verts) in SubdividePolygon() argument 70 BoundPoly (numverts, verts, mins, maxs); in SubdividePolygon() 82 v = verts + i; in SubdividePolygon() 89 VectorCopy (verts, v); in SubdividePolygon() 92 v = verts; in SubdividePolygon() 127 for (i=0 ; i<numverts ; i++, verts+= 3) in SubdividePolygon() 129 VectorCopy (verts, poly->verts[i]); in SubdividePolygon() 130 s = DotProduct (verts, warpface->texinfo->vecs[0]); in SubdividePolygon() [all …]
|
D | gl_rmain.c | 299 trivertx_t *verts; in GL_DrawAliasFrame() local 305 verts = (trivertx_t *)((byte *)paliashdr + paliashdr->posedata); in GL_DrawAliasFrame() 306 verts += posenum * paliashdr->poseverts; in GL_DrawAliasFrame() 341 l = shadedots[verts->lightnormalindex] * shadelight; in GL_DrawAliasFrame() 345 *pVertex++ = verts->v[0]; in GL_DrawAliasFrame() 346 *pVertex++ = verts->v[1]; in GL_DrawAliasFrame() 347 *pVertex++ = verts->v[2]; in GL_DrawAliasFrame() 348 verts++; in GL_DrawAliasFrame() 375 l = shadedots[verts->lightnormalindex] * shadelight; in GL_DrawAliasFrame() 377 glVertex3f (verts->v[0], verts->v[1], verts->v[2]); in GL_DrawAliasFrame() [all …]
|
D | gl_rsurf.c | 335 v = p->verts[0]; in R_DrawSequentialPoly() 346 v = p->verts[0]; in R_DrawSequentialPoly() 460 v = p->verts[0]; in R_DrawSequentialPoly() 475 v = p->verts[0]; in R_DrawSequentialPoly() 486 v = p->verts[0]; in R_DrawSequentialPoly() 562 v = p->verts[0]; in R_DrawSequentialPoly() 611 v = p->verts[0]; in DrawGLWaterPoly() 638 v = p->verts[0]; in DrawGLWaterPolyLightmap() 667 v = p->verts[0]; in DrawGLPoly() 755 v = p->verts[0]; in R_BlendLightmaps() [all …]
|
D | gl_mesh.c | 289 trivertx_t *verts; in GL_MakeAliasModelDisplayLists() local 353 verts = Hunk_Alloc (paliashdr->numposes * paliashdr->poseverts in GL_MakeAliasModelDisplayLists() 355 paliashdr->posedata = (byte *)verts - (byte *)paliashdr; in GL_MakeAliasModelDisplayLists() 358 *verts++ = poseverts[i][vertexorder[j]]; in GL_MakeAliasModelDisplayLists()
|
D | gl_model.h | 125 float verts[4][VERTEXSIZE]; // variable sized (xyz s1t1 s2t2) member
|
/external/quake/quake/src/WinQuake/ |
D | r_draw.cpp | 708 mvertex_t verts[2][100]; //FIXME: do real number in R_RenderPoly() local 743 verts[0][i] = r_pcurrentvertbase[r_pedge->v[0]]; in R_RenderPoly() 748 verts[0][i] = r_pcurrentvertbase[r_pedge->v[1]]; in R_RenderPoly() 756 lastdist = DotProduct (verts[vertpage][lastvert].position, in R_RenderPoly() 765 dist = DotProduct (verts[vertpage][i].position, pclip->normal) - in R_RenderPoly() 771 verts[newpage][newverts].position[0] = in R_RenderPoly() 772 verts[vertpage][i].position[0] + in R_RenderPoly() 773 ((verts[vertpage][lastvert].position[0] - in R_RenderPoly() 774 verts[vertpage][i].position[0]) * frac); in R_RenderPoly() 775 verts[newpage][newverts].position[1] = in R_RenderPoly() [all …]
|
D | gl_warp.cpp | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) in BoundPoly() argument 43 v = verts; in BoundPoly() 54 void SubdividePolygon (int numverts, float *verts) in SubdividePolygon() argument 70 BoundPoly (numverts, verts, mins, maxs); in SubdividePolygon() 82 v = verts + i; in SubdividePolygon() 89 VectorCopy (verts, v); in SubdividePolygon() 92 v = verts; in SubdividePolygon() 127 for (i=0 ; i<numverts ; i++, verts+= 3) in SubdividePolygon() 129 VectorCopy (verts, poly->verts[i]); in SubdividePolygon() 130 s = DotProduct (verts, warpface->texinfo->vecs[0]); in SubdividePolygon() [all …]
|
D | 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]); in R_DrawSequentialPoly() 462 glTexCoordPointer(2, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][5]); in R_DrawSequentialPoly() 463 glVertexPointer(3, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][0]); in R_DrawSequentialPoly() 470 v = p->verts[0]; in R_DrawSequentialPoly() 486 glVertexPointer(3, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][0]); in R_DrawSequentialPoly() 487 glTexCoordPointer(2, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][3]); in R_DrawSequentialPoly() 491 v = p->verts[0]; in R_DrawSequentialPoly() 503 glTexCoordPointer(2, GL_FLOAT, VERTEXSIZE*sizeof(float), &p->verts[0][5]); in R_DrawSequentialPoly() [all …]
|
D | gl_rmain.cpp | 329 trivertx_t *v, *verts; in GL_DrawAliasFrame() local 342 verts = (trivertx_t *)((byte *)paliashdr + paliashdr->posedata); in GL_DrawAliasFrame() 343 verts += posenum * paliashdr->poseverts; in GL_DrawAliasFrame() 386 l = shadedots[verts->lightnormalindex] * shadelight; in GL_DrawAliasFrame() 391 *pPos++ = verts->v[0]; in GL_DrawAliasFrame() 392 *pPos++ = verts->v[1]; in GL_DrawAliasFrame() 393 *pPos++ = verts->v[2]; in GL_DrawAliasFrame() 394 verts++; in GL_DrawAliasFrame() 416 l = shadedots[verts->lightnormalindex] * shadelight; in GL_DrawAliasFrame() 418 glVertex3f (verts->v[0], verts->v[1], verts->v[2]); in GL_DrawAliasFrame() [all …]
|
D | gl_mesh.cpp | 302 trivertx_t *verts; in GL_MakeAliasModelDisplayLists() local 360 verts = (trivertx_t*) Hunk_Alloc (paliashdr->numposes * paliashdr->poseverts in GL_MakeAliasModelDisplayLists() 362 paliashdr->posedata = (byte *)verts - (byte *)paliashdr; in GL_MakeAliasModelDisplayLists() 365 *verts++ = poseverts[i][vertexorder[j]]; in GL_MakeAliasModelDisplayLists()
|
D | gl_model.h | 121 float verts[4][VERTEXSIZE]; // variable sized (xyz s1t1 s2t2) member
|
/external/skia/gpu/src/ |
D | GrContext.cpp | 270 GrPoint* verts = (GrPoint*) arg.vertices(); in createAndLockTexture() local 271 verts[0].setIRectFan(0, 0, in createAndLockTexture() 275 verts[1].setIRectFan(0, 0, 1, 1, 2*sizeof(GrPoint)); in createAndLockTexture() 664 static void setStrokeRectStrip(GrPoint verts[10], GrRect rect, in setStrokeRectStrip() 669 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in setStrokeRectStrip() 670 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in setStrokeRectStrip() 671 verts[2].set(rect.fRight - rad, rect.fTop + rad); in setStrokeRectStrip() 672 verts[3].set(rect.fRight + rad, rect.fTop - rad); in setStrokeRectStrip() 673 verts[4].set(rect.fRight - rad, rect.fBottom - rad); in setStrokeRectStrip() 674 verts[5].set(rect.fRight + rad, rect.fBottom + rad); in setStrokeRectStrip() [all …]
|
/external/skia/include/utils/ |
D | SkBoundaryPatch.h | 29 bool evalPatch(SkPoint verts[], int rows, int cols);
|
D | SkMeshUtils.h | 39 const SkPoint verts[], const SkColor colors[],
|
/external/skia/src/core/ |
D | SkDevice.cpp | 215 const SkPoint verts[], const SkPoint textures[], in drawVertices() argument 219 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode, in drawVertices()
|
/external/skia/include/gpu/ |
D | SkGpuDevice.h | 107 const SkPoint verts[], const SkPoint texs[],
|
/external/skia/include/core/ |
D | SkDevice.h | 227 const SkPoint verts[], const SkPoint texs[],
|
/external/skia/include/pdf/ |
D | SkPDFDevice.h | 112 int vertexCount, const SkPoint verts[],
|
/external/skia/src/pipe/ |
D | SkGPipeRead.cpp | 269 const SkPoint* verts = skip<SkPoint>(reader, vertexCount); in drawVertices_rp() local 291 canvas->drawVertices(mode, vertexCount, verts, texs, colors, xfer, in drawVertices_rp()
|