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

1 2 3

  /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/
GrInOrderDrawBuffer.h 90 int* indexCount) const;
120 int indexCount);
127 virtual bool onReserveIndexSpace(int indexCount, void** indices);
133 int indexCount);
GrDrawTarget.h 329 * if indexCount > 0, *indices will be the array
343 * @param indexCount the number of indices to reserve space for. Can be 0.
344 * @param indices will point to reserved index space if indexCount is
345 * non-zero. Illegal to pass NULL if indexCount > 0.
348 bool reserveIndexSpace(int indexCount, void** indices);
363 * @param indexCount in: hint about how many indices the caller would
373 int* indexCount) const;
392 * @param indexCount the number of indices in the array.
394 void setIndexSourceToArray(const void* indexArray, int indexCount);
453 * @param indexCount the number of index elements to read. The index coun
    [all...]
GrBufferAllocPool.h 313 * @param indexCount number of indices to allocate space for
318 void* makeSpace(int indexCount,
325 bool appendIndices(int indexCount,
GrDrawTarget.cpp 550 bool GrDrawTarget::reserveIndexSpace(int indexCount,
554 if (indexCount > 0) {
559 acquired = this->onReserveIndexSpace(indexCount, indices);
563 geoSrc.fIndexCount = indexCount;
573 int32_t* indexCount) const {
577 if (NULL != indexCount) {
578 *indexCount = -1;
641 int indexCount) {
645 geoSrc.fIndexCount = indexCount;
646 this->onSetIndexSourceToArray(indexArray, indexCount);
    [all...]
GrInOrderDrawBuffer.cpp 192 int indexCount) {
194 if (!vertexCount || !indexCount) {
207 draw.fIndexCount = indexCount;
245 size_t indexBytes = (indexCount + startIndex) * sizeof(uint16_t);
423 int* indexCount) const {
428 if (NULL != indexCount) {
430 if (*indexCount > currIndices &&
432 *indexCount <= fIndexPool.preallocatedBufferIndices())) {
436 *indexCount = currIndices;
466 bool GrInOrderDrawBuffer::onReserveIndexSpace(int indexCount, void** indices)
    [all...]
GrGpu.h 384 virtual bool onReserveIndexSpace(int indexCount, void** indices);
390 int indexCount);
425 uint32_t indexCount) = 0;
451 // called to program the vertex data, indexCount will be 0 if drawing non-
457 int indexCount) = 0;
528 int indexCount);
GrBufferAllocPool.cpp 434 void* GrIndexBufferAllocPool::makeSpace(int indexCount,
438 GrAssert(indexCount >= 0);
444 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t),
455 bool GrIndexBufferAllocPool::appendIndices(int indexCount,
459 void* space = makeSpace(indexCount, buffer, startIndex);
461 memcpy(space, indices, sizeof(uint16_t) * indexCount);
GrGpu.cpp 775 int indexCount) {
785 fStats.fIndexCnt += indexCount;
791 setupGeometry(&sVertex, &sIndex, vertexCount, indexCount);
794 vertexCount, indexCount);
873 bool GrGpu::onReserveIndexSpace(int indexCount, void** indices) {
876 GrAssert(indexCount > 0);
881 *indices = fIndexPool->makeSpace(indexCount,
    [all...]
  /external/skia/include/utils/
SkMeshUtils.h 30 size_t indexCount() const { return fIndexCount; }
SkNWayCanvas.h 68 const uint16_t indices[], int indexCount,
SkDeferredCanvas.h 133 const uint16_t indices[], int indexCount,
270 int indexCount, const SkPaint& paint)
  /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);
  /external/skia/src/gpu/gl/
GrGpuGLShaders.h 36 int indexCount);
  /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++) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLCanvas.java 87 int uvBuffer, int indexBuffer, int indexCount);
  /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/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);
SkProxyCanvas.cpp 139 const uint16_t indices[], int indexCount,
142 xmode, indices, indexCount, paint);
  /external/webkit/Source/WebCore/platform/graphics/android/context/
RecordingContextCanvasProxy.h 91 const uint16_t indices[], int indexCount,
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
GLCanvasStub.java 57 int uvBuffer, int indexBuffer, int indexCount) {}

Completed in 545 milliseconds

1 2 3