HomeSort by relevance Sort by last modified time
    Searched refs:indexCount (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /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/skia/src/gpu/
GrDrawTarget.cpp 163 bool GrDrawTarget::reserveIndexSpace(int indexCount,
167 if (indexCount > 0) {
172 acquired = this->onReserveIndexSpace(indexCount, indices);
176 geoSrc.fIndexCount = indexCount;
186 int indexCount,
189 this->willReserveVertexAndIndexSpace(GrDrawState::VertexSize(vertexLayout), vertexCount, indexCount);
192 if (indexCount) {
198 if (indexCount) {
199 if (!this->reserveIndexSpace(indexCount, indices)) {
211 int32_t* indexCount) const
    [all...]
GrDrawTarget.h 221 * indexCount.
228 * source is reset and likewise for indexCount.
238 * @param indexCount the number of indices to reserve space for. Can be 0.
241 * @param indices will point to reserved index space if indexCount is
242 * non-zero. Illegal to pass NULL if indexCount > 0.
246 int indexCount,
264 * @param indexCount in: hint about how many indices the caller would
274 int* indexCount) const;
293 * @param indexCount the number of indices in the array.
295 void setIndexSourceToArray(const void* indexArray, int indexCount);
    [all...]
GrInOrderDrawBuffer.h 87 int* indexCount) const SK_OVERRIDE;
139 virtual bool onReserveIndexSpace(int indexCount,
146 int indexCount) SK_OVERRIDE;
153 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 342 size_t indexBytes = (info.indexCount() + info.startIndex()) * sizeof(uint16_t);
507 int indexCount) {
522 !indexCount &&
531 int icount = indexCount;
546 int* indexCount) const {
551 if (NULL != indexCount) {
553 if (*indexCount > currIndices &&
555 *indexCount <= fIndexPool.preallocatedBufferIndices())) {
559 *indexCount = currIndices;
589 bool GrInOrderDrawBuffer::onReserveIndexSpace(int indexCount, void** indices)
    [all...]
GrBufferAllocPool.cpp 435 void* GrIndexBufferAllocPool::makeSpace(int indexCount,
439 GrAssert(indexCount >= 0);
445 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t),
456 bool GrIndexBufferAllocPool::appendIndices(int indexCount,
460 void* space = makeSpace(indexCount, buffer, startIndex);
462 memcpy(space, indices, sizeof(uint16_t) * indexCount);
GrGpu.cpp 453 bool GrGpu::onReserveIndexSpace(int indexCount, void** indices) {
456 GrAssert(indexCount > 0);
461 *indices = fIndexPool->makeSpace(indexCount,
502 void GrGpu::onSetIndexSourceToArray(const void* indexArray, int indexCount) {
508 fIndexPool->appendIndices(indexCount,
  /external/skia/include/utils/
SkMeshUtils.h 30 size_t indexCount() const { return fIndexCount; }
SkNWayCanvas.h 71 const uint16_t indices[], int indexCount,
  /external/skia/legacy/include/utils/
SkMeshUtils.h 30 size_t indexCount() const { return fIndexCount; }
SkNWayCanvas.h 68 const uint16_t indices[], int indexCount,
  /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/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);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyVisualAttributes.java 78 final int indexCount = keyAttr.getIndexCount();
79 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)
  /external/icu4c/common/
ucol_swp.cpp 310 int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.scriptToLeadByte))); // each entry = 2 * uint16
313 4 + (4 * indexCount) + (2 * dataCount),
319 int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.leadByteToScript))); // each entry = uint16
322 4 + (2 * indexCount) + (2 * dataCount),
  /external/skia/legacy/src/utils/
SkMeshUtils.cpp 100 idx.indices(), idx.indexCount(), p);
SkNinePatch.cpp 189 const int indexCount = (numXDivs + 1) * (numYDivs + 1) * 2 * 3;
192 indexCount * sizeof(uint16_t));
207 SkASSERT(n == indexCount);
249 mesh.fIndices, indexCount, p);
  /external/skia/src/core/
SkBBoxRecord.h 63 const uint16_t indices[], int indexCount,
  /external/skia/src/utils/
SkMeshUtils.cpp 100 idx.indices(), idx.indexCount(), p);
SkNinePatch.cpp 189 const int indexCount = (numXDivs + 1) * (numYDivs + 1) * 2 * 3;
192 indexCount * sizeof(uint16_t));
207 SkASSERT(n == indexCount);
249 mesh.fIndices, indexCount, p);
  /external/webkit/Source/WebCore/platform/graphics/android/context/
RecordingContextCanvasProxy.h 91 const uint16_t indices[], int indexCount,

Completed in 509 milliseconds

1 2 3 4