Home
last modified time | relevance | path

Searched refs:indexCount (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/
DVertexBuffer.h82 TYPE* allocIndices(int indexCount) { in allocIndices() argument
83 mAllocatedIndexCount = indexCount; in allocIndices()
84 mIndexCount = indexCount; in allocIndices()
85 mIndices = (void*)new TYPE[indexCount]; in allocIndices()
DPatch.h51 uint32_t indexCount; variable
DPatch.cpp35 Patch::Patch(): vertices(NULL), verticesCount(0), indexCount(0), hasEmptyQuads(false) { in Patch()
245 indexCount += 6; in generateQuad()
DDisplayListOp.h883 uint32_t indexCount = 0; in multiDraw() local
935 indexCount += opMesh->indexCount; in multiDraw()
939 &vertices[0], indexCount, getPaint(renderer)); in multiDraw()
DOpenGLRenderer.h171 TextureVertex* vertices, uint32_t indexCount, const SkPaint* paint);
DOpenGLRenderer.cpp2298 GL_TRIANGLES, mesh->indexCount, false, ignoreTransform,
2311 TextureVertex* vertices, uint32_t indexCount, const SkPaint* paint) {
2322 GL_TRIANGLES, indexCount, false, true, 0, kModelViewMode_Translate, false);
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java131 int indexCount = quadCount * 6; in Grid() local
132 mIndexCount = indexCount; in Grid()
133 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount) in Grid()
/frameworks/base/core/jni/android/graphics/
DSkiaCanvas.cpp109 const uint16_t* indices, int indexCount, const SkPaint& paint);
547 const uint16_t* indices, int indexCount, const SkPaint& paint) { in drawVertices() argument
553 (SkColor*)colors, NULL, indices, indexCount, paint); in drawVertices()
580 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() local
589 storageSize += indexCount * sizeof(uint16_t); // indices[] in drawBitmapMesh()
645 SkASSERT(indexPtr - indices == indexCount); in drawBitmapMesh()
652 for (int i = 0; i < indexCount; i++) { in drawBitmapMesh()
670 indexCount, tmpPaint); in drawBitmapMesh()
/frameworks/base/opengl/java/android/opengl/
DVisibility.java51 int indicesOffset, int indexCount); in visibilityTest() argument
/frameworks/base/core/jni/android/opengl/
Dutil.cpp86 unsigned short* pIndices, int indexCount) { in visibilityTest() argument
92 if ( indexCount < 3 ) { in visibilityTest()
104 for(int i = 0; i < indexCount; i++) { in visibilityTest()
138 for (int i = 0; i < indexCount; i += 3) { in visibilityTest()
442 jcharArray indices_ref, jint indicesOffset, jint indexCount) { in util_visibilityTest() argument
454 if (indices.mLength < indexCount) { in util_visibilityTest()
465 indices.mData, indexCount); in util_visibilityTest()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java97 int uvBuffer, int indexBuffer, int indexCount); in drawMesh() argument
DGLES20Canvas.java717 int indexBuffer, int indexCount) { in drawMesh() argument
745 GLES20.glDrawElements(GLES20.GL_TRIANGLE_STRIP, indexCount, GLES20.GL_UNSIGNED_BYTE, 0); in drawMesh()
/frameworks/base/include/private/graphics/
DCanvas.h110 const uint16_t* indices, int indexCount, const SkPaint& paint) = 0;
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1619 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, in drawVertices() argument
1629 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
1633 indices, indexOffset, indexCount, paint.mNativePaint); in drawVertices()
2078 int indexOffset, int indexCount, long nativePaint); in nativeDrawVertices() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp287 jint indexCount, jlong paintHandle) { in drawVertices() argument
291 AutoJavaShortArray indexA(env, jindices, indexIndex + indexCount); in drawVertices()
308 indices, indexCount, *paint); in drawVertices()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java838 int indexCount, long nPaint) { in nativeDrawVertices() argument
/frameworks/base/core/java/android/view/
DGLES20Canvas.java996 int indexOffset, int indexCount, Paint paint) { in drawVertices() argument