/external/skia/src/gpu/ |
D | GrAARectRenderer.cpp | 112 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 114 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr) : in generateGeometry() 115 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorCoverageAttr)); in generateGeometry() 121 void* vertices = helper.init(batchTarget, kTriangles_GrPrimitiveType, vertexStride, in generateGeometry() 132 i * kVertsPerAAFillRect * vertexStride, in generateGeometry() 133 vertexStride, in generateGeometry() 208 size_t vertexStride, in generateAAFillRectGeometry() argument 217 SkPoint* fan1Pos = reinterpret_cast<SkPoint*>(verts + 4 * vertexStride); in generateAAFillRectGeometry() 223 set_inset_fan(fan0Pos, vertexStride, devRect, -SK_ScalarHalf, -SK_ScalarHalf); in generateAAFillRectGeometry() 224 set_inset_fan(fan1Pos, vertexStride, devRect, inset, inset); in generateAAFillRectGeometry() [all …]
|
D | GrRectBatch.cpp | 117 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 119 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorLocalCoordAttr) : in generateGeometry() 120 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr)); in generateGeometry() 122 void* vertices = helper.init(batchTarget, vertexStride, instanceCount); in generateGeometry() 132 intptr_t offset = GrTCast<intptr_t>(vertices) + kVerticesPerQuad * i * vertexStride; in generateGeometry() 136 geom.fRect.fRight, geom.fRect.fBottom, vertexStride); in generateGeometry() 137 geom.fViewMatrix.mapPointsWithStride(positions, vertexStride, kVerticesPerQuad); in generateGeometry() 144 vertexStride); in generateGeometry() 146 geom.fLocalMatrix.mapPointsWithStride(coords, vertexStride, kVerticesPerQuad); in generateGeometry() 154 vertColor = (GrColor*) ((intptr_t) vertColor + vertexStride); in generateGeometry()
|
D | GrBatch.cpp | 50 size_t vertexStride, const GrIndexBuffer* indexBuffer, in init() argument 60 void* vertices = batchTarget->makeVertSpace(vertexStride, vertexCount, in init() 76 void* GrBatch::QuadHelper::init(GrBatchTarget* batchTarget, size_t vertexStride, int quadsToDraw) { in init() argument 83 return this->INHERITED::init(batchTarget, kTriangles_GrPrimitiveType, vertexStride, in init()
|
D | GrAtlasTextContext.cpp | 1271 size_t vertexStride = get_vertex_stride(format); in bmpAppendGlyph() local 1279 this->appendGlyphCommon(blob, &run, subRun, r, color, vertexStride, kA8_GrMaskFormat == format, in bmpAppendGlyph() 1342 size_t vertexStride = get_vertex_stride_df(kA8_GrMaskFormat, subRun->fUseLCDText); in dfAppendGlyph() local 1345 this->appendGlyphCommon(blob, &run, subRun, glyphRect, color, vertexStride, useColorVerts, in dfAppendGlyph() 1368 size_t vertexStride, bool useVertexColor, in appendGlyphCommon() argument 1382 vertex += vertexStride; in appendGlyphCommon() 1389 vertex += vertexStride; in appendGlyphCommon() 1396 vertex += vertexStride; in appendGlyphCommon() 1407 vertex += vertexStride; in appendGlyphCommon() 1412 vertex += vertexStride; in appendGlyphCommon() [all …]
|
D | GrAAConvexPathRenderer.cpp | 703 size_t vertexStride, in extract_verts() argument 710 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i); in extract_verts() 721 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor; in extract_verts() 723 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; in extract_verts() 724 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = in extract_verts() 806 size_t vertexStride = gp->getVertexStride(); in generateGeometryLinesOnly() local 809 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr) : in generateGeometryLinesOnly() 810 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorCoverageAttr)); in generateGeometryLinesOnly() 828 void* verts = batchTarget->makeVertSpace(vertexStride, tess.numPts(), in generateGeometryLinesOnly() 845 extract_verts(tess, verts, vertexStride, args.fColor, idxs, canTweakAlphaForCoverage); in generateGeometryLinesOnly() [all …]
|
D | GrAADistanceFieldPathRenderer.cpp | 207 size_t vertexStride = dfProcessor->getVertexStride(); in generateGeometry() local 208 SkASSERT(vertexStride == 2 * sizeof(SkPoint)); in generateGeometry() 211 void* vertices = batchTarget->makeVertSpace(vertexStride, in generateGeometry() 273 offset += i * kVerticesPerQuad * vertexStride; in generateGeometry() 280 vertexStride, in generateGeometry() 458 size_t vertexStride, in writePathVertices() argument 483 positions->setRectFan(r.left(), r.top(), r.right(), r.bottom(), vertexStride); in writePathVertices() 491 vertexStride); in writePathVertices()
|
D | GrBatch.h | 120 void* init(GrBatchTarget* batchTarget, GrPrimitiveType, size_t vertexStride, 143 void* init(GrBatchTarget* batchTarget, size_t vertexStride, int quadsToDraw);
|
D | GrBatchTarget.h | 125 void putBackVertices(size_t vertices, size_t vertexStride) { in putBackVertices() argument 126 fVertexPool->putBack(vertices * vertexStride); in putBackVertices()
|
D | GrOvalRenderer.cpp | 712 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 713 SkASSERT(vertexStride == sizeof(CircleVertex)); in generateGeometry() 715 CircleVertex* verts = reinterpret_cast<CircleVertex*>(helper.init(batchTarget, vertexStride, in generateGeometry() 937 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 938 SkASSERT(vertexStride == sizeof(EllipseVertex)); in generateGeometry() 940 helper.init(batchTarget, vertexStride, instanceCount)); in generateGeometry() 1204 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 1205 SkASSERT(vertexStride == sizeof(DIEllipseVertex)); in generateGeometry() 1208 helper.init(batchTarget, vertexStride, instanceCount)); in generateGeometry() 1569 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local [all …]
|
D | GrDefaultPathRenderer.cpp | 261 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 262 SkASSERT(vertexStride == sizeof(SkPoint)); in generateGeometry() 321 void* verts = batchTarget->makeVertSpace(vertexStride, maxVertices, in generateGeometry() 378 batchTarget->putBackVertices((size_t)(maxVertices - vertexOffset), (size_t)vertexStride); in generateGeometry()
|
D | GrContext.cpp | 456 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 458 SkASSERT(vertexStride == sizeof(GrDefaultGeoProcFactory::PositionAttr)); in generateGeometry() 470 void* verts = batchTarget->makeVertSpace(vertexStride, vertexCount, in generateGeometry() 803 size_t vertexStride = gp->getVertexStride(); in generateGeometry() local 805 SkASSERT(vertexStride == sizeof(SkPoint) + (this->hasLocalCoords() ? sizeof(SkPoint) : 0) in generateGeometry() 813 void* verts = batchTarget->makeVertSpace(vertexStride, this->vertexCount(), in generateGeometry() 854 verts = (void*)((intptr_t)verts + vertexStride); in generateGeometry()
|
D | GrAAHairLinePathRenderer.cpp | 873 size_t vertexStride = lineGP->getVertexStride(); in generateGeometry() local 876 batchTarget->makeVertSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex)); in generateGeometry() 905 size_t vertexStride = sizeof(BezierVertex); in generateGeometry() local 907 void *vertices = batchTarget->makeVertSpace(vertexStride, vertexCount, in generateGeometry()
|
D | GrAtlasTextContext.h | 271 size_t vertexStride, bool useVertexColor,
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
D | MeshCollisionShape.java | 53 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in MeshCollisionShape 73 this.vertexStride = bulletMesh.vertexStride; in createCollisionMesh() 92 capsule.write(vertexStride, "vertexStride", 0); in write() 104 vertexStride = capsule.readInt("vertexStride", 0); in read() 116 bulletMesh.vertexStride = vertexStride; in createShape() 121 …Array(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride); in createShape()
|
D | GImpactCollisionShape.java | 54 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in GImpactCollisionShape 75 this.vertexStride = bulletMesh.vertexStride; in createCollisionMesh() 95 capsule.write(vertexStride, "vertexStride", 0); in write() 108 vertexStride = capsule.readInt("vertexStride", 0); in read() 120 bulletMesh.vertexStride = vertexStride; in createShape() 125 …Array(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride); in createShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
D | GImpactCollisionShape.java | 56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in GImpactCollisionShape 78 vertexStride = 12; //3 verts * 4 bytes per. in createCollisionMesh() 114 capsule.write(vertexStride, "vertexStride", 0); in write() 127 vertexStride = capsule.readInt("vertexStride", 0); in read() 150 …VertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexS… in createShape()
|
D | MeshCollisionShape.java | 56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in MeshCollisionShape 75 vertexStride = 12; //3 verts * 4 bytes per. in createCollisionMesh() 110 capsule.write(vertexStride, "vertexStride", 0); in write() 122 vertexStride = capsule.readInt("vertexStride", 0); in read() 143 …VertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexS… in createShape()
|
/external/jmonkeyengine/engine/src/bullet-native/ |
D | com_jme3_bullet_util_NativeMeshUtil.cpp | 49 …e, jobject vertexIndexBase, jint numTriangles, jint numVertices, jint vertexStride, jint triangleI… in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray() argument 53 …ndexVertexArray(numTriangles, triangles, triangleIndexStride, numVertices, vertices, vertexStride); in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
D | NativeMeshUtil.java | 51 int vertexStride = 12; //3 verts * 4 bytes per. in getTriangleIndexVertexArray() local 72 …VertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexS… in getTriangleIndexVertexArray()
|
/external/skia/gm/ |
D | beziereffects.cpp | 74 size_t vertexStride = this->geometryProcessor()->getVertexStride(); in onGenerateGeometry() local 75 SkASSERT(vertexStride == sizeof(Vertex)); in onGenerateGeometry() 76 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(batchTarget, vertexStride, 1)); in onGenerateGeometry() 469 size_t vertexStride = this->geometryProcessor()->getVertexStride(); in onGenerateGeometry() local 470 SkASSERT(vertexStride == sizeof(Vertex)); in onGenerateGeometry() 471 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(batchTarget, vertexStride, 1)); in onGenerateGeometry()
|
D | convexpolyeffect.cpp | 59 size_t vertexStride = this->geometryProcessor()->getVertexStride(); in onGenerateGeometry() local 60 SkASSERT(vertexStride == sizeof(SkPoint)); in onGenerateGeometry() 62 SkPoint* verts = reinterpret_cast<SkPoint*>(helper.init(batchTarget, vertexStride, 1)); in onGenerateGeometry()
|
/external/skia/src/gpu/effects/ |
D | GrDashingEffect.cpp | 187 DashCap cap, const size_t vertexStride) { in setup_dashed_rect() argument 191 SkASSERT(vertexStride == sizeof(DashCircleVertex)); in setup_dashed_rect() 207 SkASSERT(kNonRound_DashCap == cap && vertexStride == sizeof(DashLineVertex)); in setup_dashed_rect()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
D | Converter.java | 238 jBulletIndexedMesh.vertexStride = 12; //3 verts * 4 bytes per. in convert()
|