Searched refs:indexCount (Results 1 - 25 of 106) sorted by relevance

12345

/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
H A DIndexBuffer.java53 * @param indexCount The amount of indices
57 public static IndexBuffer createIndexBuffer(int vertexCount, int indexCount){ argument
59 return new IndexIntBuffer(BufferUtils.createIntBuffer(indexCount));
61 return new IndexShortBuffer(BufferUtils.createShortBuffer(indexCount));
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawTarget.h169 * indexCount.
176 * source is reset and likewise for indexCount.
185 * @param indexCount the number of indices to reserve space for. Can be 0.
188 * @param indices will point to reserved index space if indexCount is
189 * non-zero. Illegal to pass NULL if indexCount > 0.
192 int indexCount,
210 * @param indexCount in: hint about how many indices the caller would
219 int* indexCount) const;
236 * @param indexCount the number of indices in the array.
238 void setIndexSourceToArray(const void* indexArray, int indexCount);
764 int indexCount() const { return fIndexCount; } function in class:GrDrawTarget::DrawInfo
823 willReserveVertexAndIndexSpace(int vertexCount, int indexCount) argument
[all...]
H A DGrDrawTarget.cpp171 bool GrDrawTarget::reserveIndexSpace(int indexCount, argument
175 if (indexCount > 0) {
180 acquired = this->onReserveIndexSpace(indexCount, indices);
184 geoSrc.fIndexCount = indexCount;
193 int indexCount,
197 this->willReserveVertexAndIndexSpace(vertexCount, indexCount);
200 if (indexCount) {
206 if (indexCount) {
207 if (!this->reserveIndexSpace(indexCount, indices)) {
218 int32_t* indexCount) cons
192 reserveVertexAndIndexSpace(int vertexCount, int indexCount, void** vertices, void** indices) argument
284 setIndexSourceToArray(const void* indexArray, int indexCount) argument
462 drawIndexed(GrPrimitiveType type, int startVertex, int startIndex, int vertexCount, int indexCount, const SkRect* devBounds) argument
755 AutoReleaseGeometry( GrDrawTarget* target, int vertexCount, int indexCount) argument
771 set(GrDrawTarget* target, int vertexCount, int indexCount) argument
[all...]
H A DGrBufferAllocPool.h308 * @param indexCount number of indices to allocate space for
313 void* makeSpace(int indexCount,
320 bool appendIndices(int indexCount,
H A DGrInOrderDrawBuffer.h71 int* indexCount) const SK_OVERRIDE;
146 virtual bool onReserveIndexSpace(int indexCount,
153 int indexCount) SK_OVERRIDE;
159 int indexCount) SK_OVERRIDE;
H A DGrInOrderDrawBuffer.cpp372 size_t indexBytes = (info.indexCount() + info.startIndex()) * sizeof(uint16_t);
600 int indexCount) {
614 !indexCount &&
622 int icount = indexCount;
635 int* indexCount) const {
640 if (NULL != indexCount) {
642 if (*indexCount > currIndices &&
644 *indexCount <= fIndexPool.preallocatedBufferIndices())) {
648 *indexCount = currIndices;
679 bool GrInOrderDrawBuffer::onReserveIndexSpace(int indexCount, voi argument
599 willReserveVertexAndIndexSpace(int vertexCount, int indexCount) argument
746 onSetIndexSourceToArray(const void* indexArray, int indexCount) argument
[all...]
H A DGrBufferAllocPool.cpp448 void* GrIndexBufferAllocPool::makeSpace(int indexCount, argument
452 SkASSERT(indexCount >= 0);
458 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t),
469 bool GrIndexBufferAllocPool::appendIndices(int indexCount, argument
473 void* space = makeSpace(indexCount, buffer, startIndex);
475 memcpy(space, indices, sizeof(uint16_t) * indexCount);
H A DGrGpu.cpp469 bool GrGpu::onReserveIndexSpace(int indexCount, void** indices) { argument
472 SkASSERT(indexCount > 0);
477 *indices = fIndexPool->makeSpace(indexCount,
518 void GrGpu::onSetIndexSourceToArray(const void* indexArray, int indexCount) { argument
524 fIndexPool->appendIndices(indexCount,
/external/skia/src/gpu/
H A DGrDrawTarget.h169 * indexCount.
176 * source is reset and likewise for indexCount.
185 * @param indexCount the number of indices to reserve space for. Can be 0.
188 * @param indices will point to reserved index space if indexCount is
189 * non-zero. Illegal to pass NULL if indexCount > 0.
192 int indexCount,
210 * @param indexCount in: hint about how many indices the caller would
219 int* indexCount) const;
236 * @param indexCount the number of indices in the array.
238 void setIndexSourceToArray(const void* indexArray, int indexCount);
764 int indexCount() const { return fIndexCount; } function in class:GrDrawTarget::DrawInfo
823 willReserveVertexAndIndexSpace(int vertexCount, int indexCount) argument
[all...]
H A DGrDrawTarget.cpp171 bool GrDrawTarget::reserveIndexSpace(int indexCount, argument
175 if (indexCount > 0) {
180 acquired = this->onReserveIndexSpace(indexCount, indices);
184 geoSrc.fIndexCount = indexCount;
193 int indexCount,
197 this->willReserveVertexAndIndexSpace(vertexCount, indexCount);
200 if (indexCount) {
206 if (indexCount) {
207 if (!this->reserveIndexSpace(indexCount, indices)) {
218 int32_t* indexCount) cons
192 reserveVertexAndIndexSpace(int vertexCount, int indexCount, void** vertices, void** indices) argument
284 setIndexSourceToArray(const void* indexArray, int indexCount) argument
462 drawIndexed(GrPrimitiveType type, int startVertex, int startIndex, int vertexCount, int indexCount, const SkRect* devBounds) argument
755 AutoReleaseGeometry( GrDrawTarget* target, int vertexCount, int indexCount) argument
771 set(GrDrawTarget* target, int vertexCount, int indexCount) argument
[all...]
H A DGrBufferAllocPool.h308 * @param indexCount number of indices to allocate space for
313 void* makeSpace(int indexCount,
320 bool appendIndices(int indexCount,
H A DGrInOrderDrawBuffer.h71 int* indexCount) const SK_OVERRIDE;
146 virtual bool onReserveIndexSpace(int indexCount,
153 int indexCount) SK_OVERRIDE;
159 int indexCount) SK_OVERRIDE;
H A DGrInOrderDrawBuffer.cpp372 size_t indexBytes = (info.indexCount() + info.startIndex()) * sizeof(uint16_t);
600 int indexCount) {
614 !indexCount &&
622 int icount = indexCount;
635 int* indexCount) const {
640 if (NULL != indexCount) {
642 if (*indexCount > currIndices &&
644 *indexCount <= fIndexPool.preallocatedBufferIndices())) {
648 *indexCount = currIndices;
679 bool GrInOrderDrawBuffer::onReserveIndexSpace(int indexCount, voi argument
599 willReserveVertexAndIndexSpace(int vertexCount, int indexCount) argument
746 onSetIndexSourceToArray(const void* indexArray, int indexCount) argument
[all...]
H A DGrBufferAllocPool.cpp448 void* GrIndexBufferAllocPool::makeSpace(int indexCount, argument
452 SkASSERT(indexCount >= 0);
458 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t),
469 bool GrIndexBufferAllocPool::appendIndices(int indexCount, argument
473 void* space = makeSpace(indexCount, buffer, startIndex);
475 memcpy(space, indices, sizeof(uint16_t) * indexCount);
H A DGrGpu.cpp469 bool GrGpu::onReserveIndexSpace(int indexCount, void** indices) { argument
472 SkASSERT(indexCount > 0);
477 *indices = fIndexPool->makeSpace(indexCount,
518 void GrGpu::onSetIndexSourceToArray(const void* indexArray, int indexCount) { argument
524 fIndexPool->appendIndices(indexCount,
/external/chromium_org/third_party/skia/include/utils/
H A DSkMeshUtils.h30 int indexCount() const { return fIndexCount; } function in class:SkMeshIndices
/external/skia/include/utils/
H A DSkMeshUtils.h30 int indexCount() const { return fIndexCount; } function in class:SkMeshIndices
/external/replicaisland/src/com/replica/replicaisland/
H A DGrid.java108 int indexCount = quadCount * 6;
109 mIndexCount = indexCount;
110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
240 public void drawStrip(GL10 gl, boolean useTexture, int startIndex, int indexCount) { argument
241 int count = indexCount;
242 if (startIndex + indexCount >= mIndexCount) {
/external/chromium_org/third_party/icu/source/test/letest/
H A Dxmlreader.cpp181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local
227 expected.indices = (le_int32 *) getHexArray(indices, indexCount);
232 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
233 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
234 id, charCount, glyphCount, indexCount, positionCount);
/external/icu4c/test/letest/
H A Dxmlreader.cpp181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local
227 expected.indices = (le_int32 *) getHexArray(indices, indexCount);
232 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
233 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
234 id, charCount, glyphCount, indexCount, positionCount);
/external/chromium_org/third_party/skia/src/core/
H A DSkBBoxRecord.h64 const uint16_t indices[], int indexCount,
/external/chromium_org/third_party/skia/src/utils/
H A DSkMeshUtils.cpp100 idx.indices(), idx.indexCount(), p);
H A DSkNinePatch.cpp189 const int indexCount = (numXDivs + 1) * (numYDivs + 1) * 2 * 3; local
192 indexCount * sizeof(uint16_t));
207 SkASSERT(n == indexCount);
249 mesh.fIndices, indexCount, p);
/external/icu4c/common/
H A Ducol_swp.cpp310 int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.scriptToLeadByte))); // each entry = 2 * uint16 local
313 4 + (4 * indexCount) + (2 * dataCount),
319 int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.leadByteToScript))); // each entry = uint16 local
322 4 + (2 * indexCount) + (2 * dataCount),
/external/skia/src/core/
H A DSkBBoxRecord.h64 const uint16_t indices[], int indexCount,

Completed in 511 milliseconds

12345