/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
H A D | btTriangleIndexVertexArray.cpp | 18 btTriangleIndexVertexArray::btTriangleIndexVertexArray(int numTriangles,int* triangleIndexBase,int triangleIndexStride,int numVertices,btScalar* vertexBase,int vertexStride) argument 28 mesh.m_vertexStride = vertexStride; 39 void btTriangleIndexVertexArray::getLockedVertexIndexBase(unsigned char **vertexbase, int& numverts,PHY_ScalarType& type, int& vertexStride,unsigned char **indexbase,int & indexstride,int& numfaces,PHY_ScalarType& indicestype,int subpart) argument 50 vertexStride = mesh.m_vertexStride; 59 void btTriangleIndexVertexArray::getLockedReadOnlyVertexIndexBase(const unsigned char **vertexbase, int& numverts,PHY_ScalarType& type, int& vertexStride,const unsigned char **indexbase,int & indexstride,int& numfaces,PHY_ScalarType& indicestype,int subpart) const 68 vertexStride = mesh.m_vertexStride;
|
H A D | btTriangleIndexVertexMaterialArray.cpp | 21 int numVertices,btScalar* vertexBase,int vertexStride, 24 btTriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride) 20 btTriangleIndexVertexMaterialArray(int numTriangles,int* triangleIndexBase,int triangleIndexStride, int numVertices,btScalar* vertexBase,int vertexStride, int numMaterials, unsigned char* materialBase, int materialStride, int* triangleMaterialsBase, int materialIndexStride) argument
|
/external/skia/src/gpu/batches/ |
H A D | GrTInstanceBatch.h | 39 * Tesselate(intptr_t vertices, size_t vertexStride, const Geometry& geo, 101 size_t vertexStride = gp->getVertexStride(); variable 107 void* vertices = helper.init(target, kTriangles_GrPrimitiveType, vertexStride, 117 i * Impl::kVertsPerInstance * vertexStride; 118 Impl::Tesselate(verts, vertexStride, fGeoData[i], fOverrides);
|
H A D | GrVertexBatch.cpp | 20 size_t vertexStride, const GrIndexBuffer* indexBuffer, 30 void* vertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); 50 void* GrVertexBatch::QuadHelper::init(Target* target, size_t vertexStride, argument 58 return this->INHERITED::init(target, kTriangles_GrPrimitiveType, vertexStride, 19 init(Target* target, GrPrimitiveType primType, size_t vertexStride, const GrIndexBuffer* indexBuffer, int verticesPerInstance, int indicesPerInstance, int instancesToDraw) argument
|
H A D | GrNinePatch.cpp | 96 size_t vertexStride = gp->getVertexStride(); variable 102 void* vertices = helper.init(target, kTriangles_GrPrimitiveType, vertexStride, 112 i * kRectsPerInstance * kVertsPerRect * vertexStride; 122 dstR.fRight, dstR.fBottom, vertexStride); 125 geo.fViewMatrix.mapPointsWithStride(positions, vertexStride, kVertsPerRect); 130 coords->setRectFan(srcR.fLeft, srcR.fTop, srcR.fRight, srcR.fBottom, vertexStride); 136 vertColor = (GrColor*) ((intptr_t) vertColor + vertexStride); 138 verts += kVertsPerRect * vertexStride;
|
H A D | GrAALinearizingConvexPathRenderer.cpp | 65 size_t vertexStride, 73 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i); 83 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor; 85 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; 86 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = 163 size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const { 170 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, 176 memcpy(verts, vertices, vertexCount * vertexStride); 206 size_t vertexStride = gp->getVertexStride(); variable 209 vertexStride 63 extract_verts(const GrAAConvexTessellator& tess, void* vertices, size_t vertexStride, GrColor color, uint16_t firstIndex, uint16_t* idxs, bool tweakAlphaForCoverage) argument 162 draw(GrVertexBatch::Target* target, const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const argument [all...] |
H A D | GrAtlasTextBatch.cpp | 116 size_t vertexStride = gp->getVertexStride(); local 117 SkASSERT(vertexStride == GrAtlasTextBlob::GetVertexStride(maskFormat)); 124 void* vertices = target->makeVertexSpace(vertexStride, 153 &typeface, &scaler, &desc, vertexStride, args.fViewMatrix, args.fX, 164 rect.growToInclude(vertex, vertexStride, kVerticesPerGlyph * subRunGlyphCount);
|
H A D | GrDrawAtlasBatch.cpp | 22 size_t vertexStride = sizeof(SkPoint) + sizeof(SkPoint) + local 27 currVertex += vertexStride; 64 size_t vertexStride = gp->getVertexStride(); local 65 SkASSERT(vertexStride == sizeof(SkPoint) + sizeof(SkPoint) 70 void* verts = helper.init(target, vertexStride, numQuads); 100 size_t vertexStride = 2*sizeof(SkPoint); local 104 vertexStride += sizeof(GrColor); 109 int allocSize = static_cast<int>(4*vertexStride*spriteCount); 132 *(reinterpret_cast<GrColor*>(currVertex+vertexStride+sizeof(SkPoint))) = grColor; 133 *(reinterpret_cast<GrColor*>(currVertex+2*vertexStride [all...] |
H A D | GrDrawVerticesBatch.cpp | 102 size_t vertexStride = gp->getVertexStride(); local 104 SkASSERT(vertexStride == sizeof(SkPoint) + (hasLocalCoords ? sizeof(SkPoint) : 0) 112 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); 154 verts = (void*)((intptr_t)verts + vertexStride);
|
H A D | GrNonAAFillRectBatch.cpp | 82 size_t vertexStride, 90 rect.fRight, rect.fBottom, vertexStride); 93 viewMatrix.mapPointsWithStride(positions, vertexStride, 103 i * vertexStride); 112 vertColor = (GrColor*) ((intptr_t) vertColor + vertexStride); 151 static void Tesselate(intptr_t vertices, size_t vertexStride, const Geometry& geo, argument 153 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, &geo.fLocalQuad); 202 static void Tesselate(intptr_t vertices, size_t vertexStride, const Geometry& geo, argument 206 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, &quad); 208 tesselate(vertices, vertexStride, ge 81 tesselate(intptr_t vertices, size_t vertexStride, GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const GrQuad* localQuad) argument [all...] |
H A D | GrNonAAStrokeRectBatch.cpp | 122 size_t vertexStride = gp->getVertexStride(); variable 124 SkASSERT(vertexStride == sizeof(GrDefaultGeoProcFactory::PositionAttr)); 136 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer,
|
H A D | GrAAFillRectBatch.cpp | 77 size_t vertexStride, 85 SkPoint* fan1Pos = reinterpret_cast<SkPoint*>(verts + 4 * vertexStride); 91 set_inset_fan(fan0Pos, vertexStride, devRect, -SK_ScalarHalf, -SK_ScalarHalf); 92 set_inset_fan(fan1Pos, vertexStride, devRect, inset, inset); 107 rect.fRight, rect.fBottom, vertexStride); 108 viewMatrix.mapPointsWithStride(fan0Pos, vertexStride, 4); 114 *((SkPoint*)((intptr_t)fan1Pos + 0 * vertexStride)) = 115 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) + vec[0] + vec[1]; 116 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) -= vec[0] + vec[1]; 118 *((SkPoint*)((intptr_t)fan1Pos + 1 * vertexStride)) 76 generate_aa_fill_rect_geometry(intptr_t verts, size_t vertexStride, GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect& devRect, const GrXPOverridesForBatch& overrides, const SkMatrix* localMatrix) argument 250 Tesselate(intptr_t vertices, size_t vertexStride, const Geometry& geo, const GrXPOverridesForBatch& overrides) argument 298 Tesselate(intptr_t vertices, size_t vertexStride, const Geometry& geo, const GrXPOverridesForBatch& overrides) argument [all...] |
H A D | GrDefaultPathRenderer.cpp | 269 size_t vertexStride = gp->getVertexStride(); variable 270 SkASSERT(vertexStride == sizeof(SkPoint)); 319 void* verts = target->makeVertexSpace(vertexStride, maxVertices, 376 target->putBackVertices((size_t)(maxVertices - vertexOffset), (size_t)vertexStride);
|
H A D | GrAAConvexPathRenderer.cpp | 693 size_t vertexStride, 700 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i); 710 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor; 712 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; 713 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = 798 size_t vertexStride = gp->getVertexStride(); local 801 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr) : 802 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorCoverageAttr)); 820 void* verts = target->makeVertexSpace(vertexStride, tess.numPts(), &vertexBuffer, 836 extract_verts(tess, verts, vertexStride, arg 691 extract_verts(const GrAAConvexTessellator& tess, void* vertices, size_t vertexStride, GrColor color, uint16_t* idxs, bool tweakAlphaForCoverage) argument 906 size_t vertexStride = quadProcessor->getVertexStride(); variable [all...] |
H A D | GrAADistanceFieldPathRenderer.cpp | 215 size_t vertexStride = dfProcessor->getVertexStride(); variable 216 SkASSERT(vertexStride == 2 * sizeof(SkPoint) + sizeof(GrColor)); 219 void* vertices = target->makeVertexSpace(vertexStride, 281 offset += i * kVerticesPerQuad * vertexStride; 288 vertexStride, 449 size_t vertexStride, 471 positions->setRectFan(r.left(), r.top(), r.right(), r.bottom(), vertexStride); 475 GrColor* colorPtr = (GrColor*)(offset + sizeof(SkPoint) + i * vertexStride); 488 vertexStride); 443 writePathVertices(GrDrawBatch::Target* target, GrBatchAtlas* atlas, const GrPipeline* pipeline, const GrGeometryProcessor* gp, intptr_t offset, GrColor color, size_t vertexStride, const SkMatrix& viewMatrix, const SkPath& path, const PathData* pathData) const argument
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/ |
H A D | btDefaultSoftBodySolver.cpp | 97 const int vertexStride = cpuVertexBuffer->getVertexStride(); local 106 vertexPointer += vertexStride;
|
H A D | btSoftBodySolverVertexBuffer.h | 115 * vertexStride is the stride in floats between vertices. 117 btCPUVertexBufferDescriptor( float *basePointer, int vertexOffset, int vertexStride ) 121 m_vertexStride = vertexStride; 128 * vertexStride is the stride in floats between vertices. 130 btCPUVertexBufferDescriptor( float *basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride ) argument 135 m_vertexStride = vertexStride;
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/ |
H A D | btCPUVertexBufferDescriptor.java | 63 static private long SwigConstructbtCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride) { argument 65 return SoftbodyJNI.new_btCPUVertexBufferDescriptor__SWIG_0(basePointer, vertexOffset, vertexStride); 68 public btCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride) { argument 69 this(btCPUVertexBufferDescriptor.SwigConstructbtCPUVertexBufferDescriptor(basePointer, vertexOffset, vertexStride), true); 72 static private long SwigConstructbtCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride) { argument 74 return SoftbodyJNI.new_btCPUVertexBufferDescriptor__SWIG_1(basePointer, vertexOffset, vertexStride, normalOffset, normalStride); 77 public btCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride) { argument 78 this(btCPUVertexBufferDescriptor.SwigConstructbtCPUVertexBufferDescriptor(basePointer, vertexOffset, vertexStride, normalOffset, normalStride), true);
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
H A D | btTriangleIndexVertexMaterialArray.java | 65 static private long SwigConstructbtTriangleIndexVertexMaterialArray(int numTriangles, java.nio.IntBuffer triangleIndexBase, int triangleIndexStride, int numVertices, java.nio.FloatBuffer vertexBase, int vertexStride, int numMaterials, java.nio.ByteBuffer materialBase, int materialStride, java.nio.IntBuffer triangleMaterialsBase, int materialIndexStride) { argument 70 return CollisionJNI.new_btTriangleIndexVertexMaterialArray__SWIG_1(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride, numMaterials, materialBase, materialStride, triangleMaterialsBase, materialIndexStride); 73 public btTriangleIndexVertexMaterialArray(int numTriangles, java.nio.IntBuffer triangleIndexBase, int triangleIndexStride, int numVertices, java.nio.FloatBuffer vertexBase, int vertexStride, int numMaterials, java.nio.ByteBuffer materialBase, int materialStride, java.nio.IntBuffer triangleMaterialsBase, int materialIndexStride) { argument 74 this(btTriangleIndexVertexMaterialArray.SwigConstructbtTriangleIndexVertexMaterialArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride, numMaterials, materialBase, materialStride, triangleMaterialsBase, materialIndexStride), true);
|
H A D | btTriangleIndexVertexArray.java | 202 public void getLockedVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype, int subpart) { argument 203 CollisionJNI.btTriangleIndexVertexArray_getLockedVertexIndexBase__SWIG_0(swigCPtr, this, SWIGTYPE_p_p_unsigned_char.getCPtr(vertexbase), SWIGTYPE_p_int.getCPtr(numverts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_unsigned_char.getCPtr(indexbase), SWIGTYPE_p_int.getCPtr(indexstride), SWIGTYPE_p_int.getCPtr(numfaces), SWIGTYPE_p_PHY_ScalarType.getCPtr(indicestype), subpart); 206 public void getLockedVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype) { argument 207 CollisionJNI.btTriangleIndexVertexArray_getLockedVertexIndexBase__SWIG_1(swigCPtr, this, SWIGTYPE_p_p_unsigned_char.getCPtr(vertexbase), SWIGTYPE_p_int.getCPtr(numverts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_unsigned_char.getCPtr(indexbase), SWIGTYPE_p_int.getCPtr(indexstride), SWIGTYPE_p_int.getCPtr(numfaces), SWIGTYPE_p_PHY_ScalarType.getCPtr(indicestype)); 210 public void getLockedReadOnlyVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype, int subpart) { argument 211 CollisionJNI.btTriangleIndexVertexArray_getLockedReadOnlyVertexIndexBase__SWIG_0(swigCPtr, this, SWIGTYPE_p_p_unsigned_char.getCPtr(vertexbase), SWIGTYPE_p_int.getCPtr(numverts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_unsigned_char.getCPtr(indexbase), SWIGTYPE_p_int.getCPtr(indexstride), SWIGTYPE_p_int.getCPtr(numfaces), SWIGTYPE_p_PHY_ScalarType.getCPtr(indicestype), subpart); 214 public void getLockedReadOnlyVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype) { argument 215 CollisionJNI.btTriangleIndexVertexArray_getLockedReadOnlyVertexIndexBase__SWIG_1(swigCPtr, this, SWIGTYPE_p_p_unsigned_char.getCPtr(vertexbase), SWIGTYPE_p_int.getCPtr(numverts), SWIGTYPE_p_PHY_ScalarType.getCPtr(type), SWIGTYPE_p_int.getCPtr(vertexStride), SWIGTYPE_p_p_unsigned_char.getCPtr(indexbase), SWIGTYPE_p_int.getCPtr(indexstride), SWIGTYPE_p_int.getCPtr(numfaces), SWIGTYPE_p_PHY_ScalarType.getCPtr(indicestype));
|
/external/skia/gm/ |
H A D | convexpolyeffect.cpp | 68 size_t vertexStride = this->geometryProcessor()->getVertexStride(); variable 69 SkASSERT(vertexStride == sizeof(SkPoint)); 71 SkPoint* verts = reinterpret_cast<SkPoint*>(helper.init(target, vertexStride, 1));
|
H A D | beziereffects.cpp | 76 size_t vertexStride = this->geometryProcessor()->getVertexStride(); variable 77 SkASSERT(vertexStride == sizeof(Vertex)); 78 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(target, vertexStride, 1)); 463 size_t vertexStride = this->geometryProcessor()->getVertexStride(); variable 464 SkASSERT(vertexStride == sizeof(Vertex)); 465 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(target, vertexStride, 1));
|
/external/skia/src/gpu/ |
H A D | GrBatchFlushState.h | 185 void putBackVertices(int vertices, size_t vertexStride) { argument 186 this->state()->putBackVertexSpace(vertices * vertexStride);
|
/external/skia/src/gpu/text/ |
H A D | GrAtlasTextBlob_regenInBatch.cpp | 22 inline void regen_vertices(intptr_t vertex, const GrGlyph* glyph, size_t vertexStride, argument 60 // vertices, hence vertexStride - sizeof(SkIPoint16) 62 intptr_t texCoordOffset = vertexStride - sizeof(SkIPoint16); 81 vertex += vertexStride; 100 vertex += vertexStride; 119 vertex += vertexStride; 148 int glyphCount, size_t vertexStride, 216 vertex += vertexStride * glyphIdx * GrAtlasTextBatch::kVerticesPerGlyph; 217 regen_vertices<regenPos, regenCol, regenTexCoords>(vertex, glyph, vertexStride, 252 *glyphCount, vertexStride, colo 141 regenInBatch(GrDrawBatch::Target* target, GrBatchFontCache* fontCache, GrBlobRegenHelper *helper, Run* run, Run::SubRunInfo* info, SkGlyphCache** cache, SkTypeface** typeface, GrFontScaler** scaler, const SkDescriptor** desc, int glyphCount, size_t vertexStride, GrColor color, SkScalar transX, SkScalar transY) const argument 254 regenInBatch(GrDrawBatch::Target* target, GrBatchFontCache* fontCache, GrBlobRegenHelper *helper, int runIndex, int subRunIndex, SkGlyphCache** cache, SkTypeface** typeface, GrFontScaler** scaler, const SkDescriptor** desc, size_t vertexStride, const SkMatrix& viewMatrix, SkScalar x, SkScalar y, GrColor color, void** vertices, size_t* byteCount, int* glyphCount) argument [all...] |
H A D | GrAtlasTextBlob.cpp | 94 size_t vertexStride = GetVertexStride(format); local 109 vertex += vertexStride; 116 vertex += vertexStride; 123 vertex += vertexStride; 134 vertex += vertexStride; 139 vertex += vertexStride; 144 vertex += vertexStride; 150 subRun->appendVertices(vertexStride);
|