/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
IndexBuffer.java | 53 * @param indexCount The amount of indices 57 public static IndexBuffer createIndexBuffer(int vertexCount, int indexCount){ 59 return new IndexIntBuffer(BufferUtils.createIntBuffer(indexCount)); 61 return new IndexShortBuffer(BufferUtils.createShortBuffer(indexCount));
|
/frameworks/base/opengl/java/android/opengl/ |
Visibility.java | 39 * @param indexCount the number of indices in use. Typically a multiple of 47 * indicesOffset < 0, indicesOffset > indices.length - indexCount 51 int indicesOffset, int indexCount);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrDrawTarget.h | 162 * indexCount. 169 * source is reset and likewise for indexCount. 178 * @param indexCount the number of indices to reserve space for. Can be 0. 181 * @param indices will point to reserved index space if indexCount is 182 * non-zero. Illegal to pass NULL if indexCount > 0. 185 int indexCount, 203 * @param indexCount in: hint about how many indices the caller would 212 int* indexCount) const; 229 * @param indexCount the number of indices in the array. 231 void setIndexSourceToArray(const void* indexArray, int indexCount); [all...] |
GrDrawTarget.cpp | 172 bool GrDrawTarget::reserveIndexSpace(int indexCount, 176 if (indexCount > 0) { 181 acquired = this->onReserveIndexSpace(indexCount, indices); 185 geoSrc.fIndexCount = indexCount; 194 int indexCount, 198 this->willReserveVertexAndIndexSpace(vertexCount, indexCount); 201 if (indexCount) { 207 if (indexCount) { 208 if (!this->reserveIndexSpace(indexCount, indices)) { 219 int32_t* indexCount) const [all...] |
GrInOrderDrawBuffer.h | 71 int* indexCount) const SK_OVERRIDE; 133 virtual bool onReserveIndexSpace(int indexCount, 140 int indexCount) SK_OVERRIDE; 146 int indexCount) SK_OVERRIDE;
|
GrBufferAllocPool.h | 313 * @param indexCount number of indices to allocate space for 318 void* makeSpace(int indexCount, 325 bool appendIndices(int indexCount,
|
GrInOrderDrawBuffer.cpp | 371 size_t indexBytes = (info.indexCount() + info.startIndex()) * sizeof(uint16_t); 570 int indexCount) { 584 !indexCount && 592 int icount = indexCount; 605 int* indexCount) const { 610 if (NULL != indexCount) { 612 if (*indexCount > currIndices && 614 *indexCount <= fIndexPool.preallocatedBufferIndices())) { 618 *indexCount = currIndices; 649 bool GrInOrderDrawBuffer::onReserveIndexSpace(int indexCount, void** indices) [all...] |
GrBufferAllocPool.cpp | 448 void* GrIndexBufferAllocPool::makeSpace(int indexCount, 452 GrAssert(indexCount >= 0); 458 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t), 469 bool GrIndexBufferAllocPool::appendIndices(int indexCount, 473 void* space = makeSpace(indexCount, buffer, startIndex); 475 memcpy(space, indices, sizeof(uint16_t) * indexCount);
|
GrGpu.cpp | 421 bool GrGpu::onReserveIndexSpace(int indexCount, void** indices) { 424 GrAssert(indexCount > 0); 429 *indices = fIndexPool->makeSpace(indexCount, 470 void GrGpu::onSetIndexSourceToArray(const void* indexArray, int indexCount) { 476 fIndexPool->appendIndices(indexCount,
|
/external/skia/src/gpu/ |
GrDrawTarget.h | 162 * indexCount. 169 * source is reset and likewise for indexCount. 178 * @param indexCount the number of indices to reserve space for. Can be 0. 181 * @param indices will point to reserved index space if indexCount is 182 * non-zero. Illegal to pass NULL if indexCount > 0. 185 int indexCount, 203 * @param indexCount in: hint about how many indices the caller would 212 int* indexCount) const; 229 * @param indexCount the number of indices in the array. 231 void setIndexSourceToArray(const void* indexArray, int indexCount); [all...] |
GrDrawTarget.cpp | 172 bool GrDrawTarget::reserveIndexSpace(int indexCount, 176 if (indexCount > 0) { 181 acquired = this->onReserveIndexSpace(indexCount, indices); 185 geoSrc.fIndexCount = indexCount; 194 int indexCount, 198 this->willReserveVertexAndIndexSpace(vertexCount, indexCount); 201 if (indexCount) { 207 if (indexCount) { 208 if (!this->reserveIndexSpace(indexCount, indices)) { 219 int32_t* indexCount) const [all...] |
GrInOrderDrawBuffer.h | 71 int* indexCount) const SK_OVERRIDE; 133 virtual bool onReserveIndexSpace(int indexCount, 140 int indexCount) SK_OVERRIDE; 146 int indexCount) SK_OVERRIDE;
|
GrBufferAllocPool.h | 313 * @param indexCount number of indices to allocate space for 318 void* makeSpace(int indexCount, 325 bool appendIndices(int indexCount,
|
GrInOrderDrawBuffer.cpp | 371 size_t indexBytes = (info.indexCount() + info.startIndex()) * sizeof(uint16_t); 570 int indexCount) { 584 !indexCount && 592 int icount = indexCount; 605 int* indexCount) const { 610 if (NULL != indexCount) { 612 if (*indexCount > currIndices && 614 *indexCount <= fIndexPool.preallocatedBufferIndices())) { 618 *indexCount = currIndices; 649 bool GrInOrderDrawBuffer::onReserveIndexSpace(int indexCount, void** indices) [all...] |
GrBufferAllocPool.cpp | 448 void* GrIndexBufferAllocPool::makeSpace(int indexCount, 452 GrAssert(indexCount >= 0); 458 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t), 469 bool GrIndexBufferAllocPool::appendIndices(int indexCount, 473 void* space = makeSpace(indexCount, buffer, startIndex); 475 memcpy(space, indices, sizeof(uint16_t) * indexCount);
|
GrGpu.cpp | 421 bool GrGpu::onReserveIndexSpace(int indexCount, void** indices) { 424 GrAssert(indexCount > 0); 429 *indices = fIndexPool->makeSpace(indexCount, 470 void GrGpu::onSetIndexSourceToArray(const void* indexArray, int indexCount) { 476 fIndexPool->appendIndices(indexCount,
|
/external/chromium_org/third_party/skia/include/utils/ |
SkMeshUtils.h | 30 size_t indexCount() const { return fIndexCount; }
|
/external/skia/include/utils/ |
SkMeshUtils.h | 30 size_t indexCount() const { return fIndexCount; }
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Grid.java | 56 int indexCount = quadCount * 6; 57 mIndexCount = indexCount; 58 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
|
/external/replicaisland/src/com/replica/replicaisland/ |
Grid.java | 108 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) { 241 int count = indexCount; 242 if (startIndex + indexCount >= mIndexCount) {
|
/external/chromium_org/third_party/icu/source/test/letest/ |
xmlreader.cpp | 181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; 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/ |
xmlreader.cpp | 181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; 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);
|
/frameworks/base/libs/hwui/ |
Patch.h | 50 uint32_t indexCount;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyVisualAttributes.java | 79 final int indexCount = keyAttr.getIndexCount(); 80 for (int i = 0; i < indexCount; i++) {
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
TestView.java | 131 int indexCount = quadCount * 6; 132 mIndexCount = indexCount; 133 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
|