/external/skia/src/gpu/batches/ |
D | GrAAStrokeRectBatch.cpp | 142 size_t vertexStride, 198 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 201 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr) : in onPrepareDraws() 202 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorCoverageAttr)); in onPrepareDraws() 212 void* vertices = helper.init(target, kTriangles_GrPrimitiveType, vertexStride, in onPrepareDraws() 223 i * verticesPerInstance * vertexStride, in onPrepareDraws() 224 vertexStride, in onPrepareDraws() 374 size_t vertexStride, in generateAAStrokeRectGeometry() argument 390 SkPoint* fan1Pos = reinterpret_cast<SkPoint*>(verts + outerVertexNum * vertexStride); in generateAAStrokeRectGeometry() 391 SkPoint* fan2Pos = reinterpret_cast<SkPoint*>(verts + 2 * outerVertexNum * vertexStride); in generateAAStrokeRectGeometry() [all …]
|
D | GrAAFillRectBatch.cpp | 77 size_t vertexStride, in generate_aa_fill_rect_geometry() argument 85 SkPoint* fan1Pos = reinterpret_cast<SkPoint*>(verts + 4 * vertexStride); in generate_aa_fill_rect_geometry() 91 set_inset_fan(fan0Pos, vertexStride, devRect, -SK_ScalarHalf, -SK_ScalarHalf); in generate_aa_fill_rect_geometry() 92 set_inset_fan(fan1Pos, vertexStride, devRect, inset, inset); in generate_aa_fill_rect_geometry() 107 rect.fRight, rect.fBottom, vertexStride); in generate_aa_fill_rect_geometry() 108 viewMatrix.mapPointsWithStride(fan0Pos, vertexStride, 4); in generate_aa_fill_rect_geometry() 114 *((SkPoint*)((intptr_t)fan1Pos + 0 * vertexStride)) = in generate_aa_fill_rect_geometry() 115 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) + vec[0] + vec[1]; in generate_aa_fill_rect_geometry() 116 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) -= vec[0] + vec[1]; in generate_aa_fill_rect_geometry() 118 *((SkPoint*)((intptr_t)fan1Pos + 1 * vertexStride)) = in generate_aa_fill_rect_geometry() [all …]
|
D | GrDrawAtlasBatch.cpp | 22 size_t vertexStride = sizeof(SkPoint) + sizeof(SkPoint) + in initBatchTracker() local 27 currVertex += vertexStride; in initBatchTracker() 64 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 65 SkASSERT(vertexStride == sizeof(SkPoint) + sizeof(SkPoint) in onPrepareDraws() 70 void* verts = helper.init(target, vertexStride, numQuads); in onPrepareDraws() 100 size_t vertexStride = 2*sizeof(SkPoint); in GrDrawAtlasBatch() local 104 vertexStride += sizeof(GrColor); in GrDrawAtlasBatch() 109 int allocSize = static_cast<int>(4*vertexStride*spriteCount); in GrDrawAtlasBatch() 132 *(reinterpret_cast<GrColor*>(currVertex+vertexStride+sizeof(SkPoint))) = grColor; in GrDrawAtlasBatch() 133 *(reinterpret_cast<GrColor*>(currVertex+2*vertexStride+sizeof(SkPoint))) = grColor; in GrDrawAtlasBatch() [all …]
|
D | GrAALinearizingConvexPathRenderer.cpp | 65 size_t vertexStride, in extract_verts() argument 73 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i); in extract_verts() 83 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor; in extract_verts() 85 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; in extract_verts() 86 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = in extract_verts() 163 size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const { in draw() argument 170 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, in draw() 176 memcpy(verts, vertices, vertexCount * vertexStride); in draw() 206 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 209 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr) : in onPrepareDraws() [all …]
|
D | GrNinePatch.cpp | 96 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 102 void* vertices = helper.init(target, kTriangles_GrPrimitiveType, vertexStride, in onPrepareDraws() 112 i * kRectsPerInstance * kVertsPerRect * vertexStride; in onPrepareDraws() 122 dstR.fRight, dstR.fBottom, vertexStride); in onPrepareDraws() 125 geo.fViewMatrix.mapPointsWithStride(positions, vertexStride, kVertsPerRect); in onPrepareDraws() 130 coords->setRectFan(srcR.fLeft, srcR.fTop, srcR.fRight, srcR.fBottom, vertexStride); in onPrepareDraws() 136 vertColor = (GrColor*) ((intptr_t) vertColor + vertexStride); in onPrepareDraws() 138 verts += kVertsPerRect * vertexStride; in onPrepareDraws()
|
D | GrNonAAFillRectBatch.cpp | 82 size_t vertexStride, in tesselate() argument 90 rect.fRight, rect.fBottom, vertexStride); in tesselate() 93 viewMatrix.mapPointsWithStride(positions, vertexStride, in tesselate() 103 i * vertexStride); in tesselate() 112 vertColor = (GrColor*) ((intptr_t) vertColor + vertexStride); in tesselate() 151 static void Tesselate(intptr_t vertices, size_t vertexStride, const Geometry& geo, in Tesselate() argument 153 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, &geo.fLocalQuad); in Tesselate() 202 static void Tesselate(intptr_t vertices, size_t vertexStride, const Geometry& geo, in Tesselate() argument 206 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, &quad); in Tesselate() 208 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, nullptr); in Tesselate()
|
D | GrVertexBatch.cpp | 20 size_t vertexStride, const GrIndexBuffer* indexBuffer, in init() argument 30 … void* vertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init() 50 void* GrVertexBatch::QuadHelper::init(Target* target, size_t vertexStride, in init() argument 58 return this->INHERITED::init(target, kTriangles_GrPrimitiveType, vertexStride, in init()
|
D | GrTInstanceBatch.h | 101 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 107 void* vertices = helper.init(target, kTriangles_GrPrimitiveType, vertexStride, in onPrepareDraws() 117 i * Impl::kVertsPerInstance * vertexStride; in onPrepareDraws() 118 Impl::Tesselate(verts, vertexStride, fGeoData[i], fOverrides); in onPrepareDraws()
|
D | GrAtlasTextBatch.cpp | 116 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 117 SkASSERT(vertexStride == GrAtlasTextBlob::GetVertexStride(maskFormat)); in onPrepareDraws() 124 void* vertices = target->makeVertexSpace(vertexStride, in onPrepareDraws() 153 &typeface, &scaler, &desc, vertexStride, args.fViewMatrix, args.fX, in onPrepareDraws() 164 rect.growToInclude(vertex, vertexStride, kVerticesPerGlyph * subRunGlyphCount); in onPrepareDraws()
|
D | GrAADistanceFieldPathRenderer.cpp | 215 size_t vertexStride = dfProcessor->getVertexStride(); in onPrepareDraws() local 216 SkASSERT(vertexStride == 2 * sizeof(SkPoint) + sizeof(GrColor)); in onPrepareDraws() 219 void* vertices = target->makeVertexSpace(vertexStride, in onPrepareDraws() 281 offset += i * kVerticesPerQuad * vertexStride; in onPrepareDraws() 288 vertexStride, in onPrepareDraws() 449 size_t vertexStride, in writePathVertices() argument 471 positions->setRectFan(r.left(), r.top(), r.right(), r.bottom(), vertexStride); in writePathVertices() 475 GrColor* colorPtr = (GrColor*)(offset + sizeof(SkPoint) + i * vertexStride); in writePathVertices() 488 vertexStride); in writePathVertices()
|
D | GrVertexBatch.h | 37 void* init(Target*, GrPrimitiveType, size_t vertexStride, 57 void* init(Target* batchTarget, size_t vertexStride, int quadsToDraw);
|
D | GrAAConvexPathRenderer.cpp | 693 size_t vertexStride, in extract_verts() argument 700 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i); in extract_verts() 710 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor; in extract_verts() 712 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; in extract_verts() 713 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = in extract_verts() 798 size_t vertexStride = gp->getVertexStride(); in prepareLinesOnlyDraws() local 801 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr) : in prepareLinesOnlyDraws() 802 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorCoverageAttr)); in prepareLinesOnlyDraws() 820 void* verts = target->makeVertexSpace(vertexStride, tess.numPts(), &vertexBuffer, in prepareLinesOnlyDraws() 836 extract_verts(tess, verts, vertexStride, args.fColor, idxs, canTweakAlphaForCoverage); in prepareLinesOnlyDraws() [all …]
|
D | GrDrawVerticesBatch.cpp | 102 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 104 SkASSERT(vertexStride == sizeof(SkPoint) + (hasLocalCoords ? sizeof(SkPoint) : 0) in onPrepareDraws() 112 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in onPrepareDraws() 154 verts = (void*)((intptr_t)verts + vertexStride); in onPrepareDraws()
|
D | GrNonAAStrokeRectBatch.cpp | 122 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local 124 SkASSERT(vertexStride == sizeof(GrDefaultGeoProcFactory::PositionAttr)); in onPrepareDraws() 136 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, in onPrepareDraws()
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/ |
D | btCPUVertexBufferDescriptor.java | 63 …btCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride) { in SwigConstructbtCPUVertexBufferDescriptor() argument 65 …eturn SoftbodyJNI.new_btCPUVertexBufferDescriptor__SWIG_0(basePointer, vertexOffset, vertexStride); in SwigConstructbtCPUVertexBufferDescriptor() 68 …btCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride) { in btCPUVertexBufferDescriptor() argument 69 …escriptor.SwigConstructbtCPUVertexBufferDescriptor(basePointer, vertexOffset, vertexStride), true); in btCPUVertexBufferDescriptor() 72 …ferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride, int normalOffs… in SwigConstructbtCPUVertexBufferDescriptor() argument 74 …NI.new_btCPUVertexBufferDescriptor__SWIG_1(basePointer, vertexOffset, vertexStride, normalOffset, … in SwigConstructbtCPUVertexBufferDescriptor() 77 …ferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride, int normalOffs… in btCPUVertexBufferDescriptor() argument 78 …r.SwigConstructbtCPUVertexBufferDescriptor(basePointer, vertexOffset, vertexStride, normalOffset, … in btCPUVertexBufferDescriptor()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
D | btTriangleIndexVertexArray.cpp | 18 …t* triangleIndexBase,int triangleIndexStride,int numVertices,btScalar* vertexBase,int vertexStride) in btTriangleIndexVertexArray() argument 28 mesh.m_vertexStride = vertexStride; in btTriangleIndexVertexArray() 39 …(unsigned char **vertexbase, int& numverts,PHY_ScalarType& type, int& vertexStride,unsigned char *… in getLockedVertexIndexBase() argument 50 vertexStride = mesh.m_vertexStride; in getLockedVertexIndexBase() 59 … unsigned char **vertexbase, int& numverts,PHY_ScalarType& type, int& vertexStride,const unsigned … in getLockedReadOnlyVertexIndexBase() argument 68 vertexStride = mesh.m_vertexStride; in getLockedReadOnlyVertexIndexBase()
|
D | btTriangleIndexVertexArray.h | 88 …* triangleIndexBase,int triangleIndexStride,int numVertices,btScalar* vertexBase,int vertexStride); in ATTRIBUTE_ALIGNED16() 97 …(unsigned char **vertexbase, int& numverts,PHY_ScalarType& type, int& vertexStride,unsigned char *… in ATTRIBUTE_ALIGNED16() 99 … unsigned char **vertexbase, int& numverts,PHY_ScalarType& type, int& vertexStride,const unsigned … in ATTRIBUTE_ALIGNED16()
|
D | btTriangleIndexVertexMaterialArray.cpp | 21 int numVertices,btScalar* vertexBase,int vertexStride, in btTriangleIndexVertexMaterialArray() argument 24 …xArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride) in btTriangleIndexVertexMaterialArray()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/ |
D | btSoftBodySolverVertexBuffer.h | 117 btCPUVertexBufferDescriptor( float *basePointer, int vertexOffset, int vertexStride ) in btCPUVertexBufferDescriptor() argument 121 m_vertexStride = vertexStride; in btCPUVertexBufferDescriptor() 130 …btCPUVertexBufferDescriptor( float *basePointer, int vertexOffset, int vertexStride, int normalOff… in btCPUVertexBufferDescriptor() argument 135 m_vertexStride = vertexStride; in btCPUVertexBufferDescriptor()
|
D | btDefaultSoftBodySolver.cpp | 97 const int vertexStride = cpuVertexBuffer->getVertexStride(); in copySoftBodyToVertexBuffer() local 106 vertexPointer += vertexStride; in copySoftBodyToVertexBuffer()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextBlob_regenInBatch.cpp | 22 inline void regen_vertices(intptr_t vertex, const GrGlyph* glyph, size_t vertexStride, in regen_vertices() argument 62 intptr_t texCoordOffset = vertexStride - sizeof(SkIPoint16); in regen_vertices() 81 vertex += vertexStride; in regen_vertices() 100 vertex += vertexStride; in regen_vertices() 119 vertex += vertexStride; in regen_vertices() 148 int glyphCount, size_t vertexStride, in regenInBatch() argument 216 vertex += vertexStride * glyphIdx * GrAtlasTextBatch::kVerticesPerGlyph; in regenInBatch() 217 regen_vertices<regenPos, regenCol, regenTexCoords>(vertex, glyph, vertexStride, in regenInBatch() 252 *glyphCount, vertexStride, color, transX, transY 259 const SkDescriptor** desc, size_t vertexStride, in regenInBatch() argument
|
D | GrAtlasTextBlob.cpp | 94 size_t vertexStride = GetVertexStride(format); in appendGlyph() local 109 vertex += vertexStride; in appendGlyph() 116 vertex += vertexStride; in appendGlyph() 123 vertex += vertexStride; in appendGlyph() 134 vertex += vertexStride; in appendGlyph() 139 vertex += vertexStride; in appendGlyph() 144 vertex += vertexStride; in appendGlyph() 150 subRun->appendVertices(vertexStride); in appendGlyph()
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
D | btTriangleIndexVertexArray.java | 202 …IGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_u… in getLockedVertexIndexBase() argument 203 …rts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_… in getLockedVertexIndexBase() 206 …IGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_u… in getLockedVertexIndexBase() argument 207 …rts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_… in getLockedVertexIndexBase() 210 …IGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_u… in getLockedReadOnlyVertexIndexBase() argument 211 …rts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_… in getLockedReadOnlyVertexIndexBase() 214 …IGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_u… in getLockedReadOnlyVertexIndexBase() argument 215 …rts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_… in getLockedReadOnlyVertexIndexBase()
|
D | btTriangleIndexVertexMaterialArray.java | 65 …gleIndexStride, int numVertices, java.nio.FloatBuffer vertexBase, int vertexStride, int numMateria… in SwigConstructbtTriangleIndexVertexMaterialArray() argument 70 …les, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride, numMaterials, … in SwigConstructbtTriangleIndexVertexMaterialArray() 73 …gleIndexStride, int numVertices, java.nio.FloatBuffer vertexBase, int vertexStride, int numMateria… in btTriangleIndexVertexMaterialArray() argument 74 …les, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride, numMaterials, … in btTriangleIndexVertexMaterialArray()
|
/external/skia/gm/ |
D | beziereffects.cpp | 76 size_t vertexStride = this->geometryProcessor()->getVertexStride(); in generateGeometry() local 77 SkASSERT(vertexStride == sizeof(Vertex)); in generateGeometry() 78 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(target, vertexStride, 1)); in generateGeometry() 463 size_t vertexStride = this->geometryProcessor()->getVertexStride(); in generateGeometry() local 464 SkASSERT(vertexStride == sizeof(Vertex)); in generateGeometry() 465 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(target, vertexStride, 1)); in generateGeometry()
|