/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | PQTorus.java | 142 int vertCount = radialSamples * steps; in updateGeometry() local 144 FloatBuffer fpb = createVector3Buffer(vertCount); in updateGeometry() 145 FloatBuffer fnb = createVector3Buffer(vertCount); in updateGeometry() 146 FloatBuffer ftb = createVector2Buffer(vertCount); in updateGeometry() 198 ShortBuffer sib = createShortBuffer(6 * vertCount); in updateGeometry() 199 for (int i = 0; i < vertCount; i++) { in updateGeometry() 212 ind += vertCount; in updateGeometry() 214 } else if (ind >= vertCount) { in updateGeometry() 215 ind -= vertCount; in updateGeometry()
|
D | Sphere.java | 74 protected int vertCount; field in Sphere 148 vertCount = (zSamples - 2) * (radialSamples + 1) + 2; in setGeometryData() 150 FloatBuffer posBuf = BufferUtils.createVector3Buffer(vertCount); in setGeometryData() 153 FloatBuffer normBuf = BufferUtils.createVector3Buffer(vertCount); in setGeometryData() 156 FloatBuffer texBuf = BufferUtils.createVector2Buffer(vertCount); in setGeometryData() 345 idxBuf.put((short) (vertCount - 2)); in setIndexData() 350 idxBuf.put((short) (vertCount - 2)); in setIndexData() 360 idxBuf.put((short) (vertCount - 1)); in setIndexData() 363 idxBuf.put((short) (vertCount - 1)); in setIndexData()
|
D | Cylinder.java | 228 int vertCount = axisSamples * (radialSamples + 1) + (closed ? 2 : 0); in updateGeometry() local 230 setBuffer(Type.Position, 3, createVector3Buffer(getFloatBuffer(Type.Position), vertCount)); in updateGeometry() 233 setBuffer(Type.Normal, 3, createVector3Buffer(getFloatBuffer(Type.Normal), vertCount)); in updateGeometry() 236 setBuffer(Type.TexCoord, 2, createVector2Buffer(vertCount)); in updateGeometry() 370 ib.put(index++, vertCount - 2); in updateGeometry() 375 ib.put(index++, vertCount - 2); in updateGeometry() 379 ib.put(index++, inverted ? vertCount - 1 : i3++); in updateGeometry() 380 ib.put(index++, inverted ? i3++ : vertCount - 1); in updateGeometry()
|
D | Dome.java | 188 int vertCount = ((planes - 1) * (radialSamples + 1)) + 1; in updateGeometry() local 201 FloatBuffer vb = BufferUtils.createVector3Buffer(vertCount); in updateGeometry() 202 FloatBuffer nb = BufferUtils.createVector3Buffer(vertCount); in updateGeometry() 203 FloatBuffer tb = BufferUtils.createVector2Buffer(vertCount); in updateGeometry() 309 ib.put((short) (vertCount - 1)); in updateGeometry() 312 ib.put((short) (vertCount - 1)); in updateGeometry()
|
D | Torus.java | 117 int vertCount = (circleSamples + 1) * (radialSamples + 1); in setGeometryData() local 118 FloatBuffer fpb = BufferUtils.createVector3Buffer(vertCount); in setGeometryData() 122 FloatBuffer fnb = BufferUtils.createVector3Buffer(vertCount); in setGeometryData() 126 FloatBuffer ftb = BufferUtils.createVector2Buffer(vertCount); in setGeometryData()
|
/external/skia/experimental/AndroidPathRenderer/ |
D | GrAndroidPathRenderer.cpp | 56 int vertCount = vertices.getSize(); in onDrawPath() local 57 GrDrawTarget::AutoReleaseGeometry geo(target, vertCount, 0); in onDrawPath() 70 for (int i = 0; i < vertCount; ++i) { in onDrawPath() 81 size_t copySize = vsize*vertCount; in onDrawPath() 86 target->drawNonIndexed(kTriangleStrip_GrPrimitiveType, 0, vertCount); in onDrawPath()
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
D | BitmapTextPage.java | 134 int vertCount = pageQuads.size() * 4; in assemble() local 149 fpb = BufferUtils.ensureLargeEnough(fpb, vertCount * 3); in assemble() 150 fpb.limit(vertCount * 3); in assemble() 154 ftb = BufferUtils.ensureLargeEnough(ftb, vertCount * 2); in assemble() 155 ftb.limit(vertCount * 2); in assemble() 159 bcb = BufferUtils.ensureLargeEnough(bcb, vertCount * 4); in assemble() 160 bcb.limit(vertCount * 4); in assemble()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
D | OptimizedErode.java | 75 int vertCount = 0; in filter() local 93 vertCount++; in filter() 107 …retval[idx] = 0.5f * (vertAvg / (vertCount > 0 ? vertCount : 1) + horizAvg / (horizCount > 0 ? hor… in filter()
|
/external/skia/src/gpu/ |
D | GrResourceProvider.h | 46 int vertCount, in refOrCreateInstancedIndexBuffer() argument 51 return this->createInstancedIndexBuffer(pattern, patternSize, reps, vertCount, key); in refOrCreateInstancedIndexBuffer() 78 int vertCount,
|
D | GrResourceProvider.cpp | 25 int vertCount, in createInstancedIndexBuffer() argument 40 uint16_t baseVert = (uint16_t)(i * vertCount); in createInstancedIndexBuffer()
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
D | MeshLoader.java | 101 private int vertCount; field in MeshLoader 133 vertCount = 0; in startDocument() 290 vertCount = parseInt(vertexcount); in startSharedGeom() 298 vertCount = parseInt(vertexcount); in startGeometry() 325 for (int v = 0; v < vertCount; v++) { in endBoneAssigns() 373 weightsFloatData = BufferUtils.createFloatBuffer(vertCount * 4); in startBoneAssigns() 374 indicesData = BufferUtils.createByteBuffer(vertCount * 4); in startBoneAssigns() 377 weightsFloatData = FloatBuffer.allocate(vertCount * 4); in startBoneAssigns() 378 indicesData = ByteBuffer.allocate(vertCount * 4); in startBoneAssigns() 395 fb = BufferUtils.createFloatBuffer(vertCount * 3); in startVertexBuffer() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | Mesh.java | 176 private int vertCount = -1; field in Mesh 244 clone.vertCount = -1; in deepClone() 690 vertCount = pb.getData().capacity() / pb.getNumComponents(); in updateCounts() 695 elementCount = computeNumElements(vertCount); in updateCounts() 742 return vertCount; in getVertexCount() 1025 return new VirtualIndexBuffer(vertCount, mode); in getIndicesAsList() 1272 out.write(vertCount, "vertCount", -1); in write() 1288 vertCount = in.readInt("vertCount", -1); in read()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
D | FloatToFixed.java | 116 int vertCount = mesh.getVertexCount(); in compressIndexBuffer() local 119 if (vb.getFormat() == Format.UnsignedInt && vertCount <= 0xffff){ in compressIndexBuffer() 120 if (vertCount <= 256) in compressIndexBuffer() 124 }else if (vb.getFormat() == Format.UnsignedShort && vertCount <= 0xff){ in compressIndexBuffer()
|
/external/skia/samplecode/ |
D | SamplePatch.cpp | 152 int row, vertCount = (nu + 1) * (nv + 1); in draw() local 153 SkAutoTMalloc<SkPoint> vertStorage(vertCount); in draw()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
D | ArmatureModifier.java | 358 private int endBoneAssigns(int vertCount, FloatBuffer weightsFloatData) { in endBoneAssigns() argument 361 for (int v = 0; v < vertCount; ++v) { in endBoneAssigns()
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
D | OGLESShaderRenderer.java | 2420 public void drawTriangleArray(Mesh.Mode mode, int count, int vertCount) { in drawTriangleArray() argument 2426 logger.info("GLES20.glDrawArrays(" + vertCount + ")"); in drawTriangleArray() 2429 GLES20.glDrawArrays(convertElementMode(mode), 0, vertCount); in drawTriangleArray() local 2467 int vertCount = mesh.getVertexCount(); in drawTriangleList() local 2535 …indexBuf.capacity ({0}), vertCount ({1})", new Object[]{indexBuf.getData().capacity(), vertCount}); in drawTriangleList() 2774 int vertCount = mesh.getVertexCount(); in drawTriangleList_Array() local 2808 …indexBuf.capacity ({0}), vertCount ({1})", new Object[]{indexBuf.getData().capacity(), vertCount}); in drawTriangleList_Array()
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
D | LwjglRenderer.java | 2213 public void drawTriangleArray(Mesh.Mode mode, int count, int vertCount) { in drawTriangleArray() argument 2216 vertCount, count); in drawTriangleArray() local 2218 glDrawArrays(convertElementMode(mode), 0, vertCount); in drawTriangleArray() local 2242 int vertCount = mesh.getVertexCount(); in drawTriangleList() local 2273 vertCount, in drawTriangleList() 2291 vertCount, in drawTriangleList() local
|
D | LwjglGL1Renderer.java | 904 public void drawTriangleArray(Mesh.Mode mode, int count, int vertCount) { in drawTriangleArray() argument 909 glDrawArrays(convertElementMode(mode), 0, vertCount); in drawTriangleArray() local
|