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

12

/frameworks/base/opengl/java/android/opengl/
H A DVisibility.java39 * @param indexCount the number of indices in use. Typically a multiple of
47 * indicesOffset < 0, indicesOffset > indices.length - indexCount
51 int indicesOffset, int indexCount);
49 visibilityTest(float[] ws, int wsOffset, float[] positions, int positionsOffset, char[] indices, int indicesOffset, int indexCount) argument
/frameworks/base/libs/hwui/
H A DVertexBuffer.h81 TYPE* allocIndices(int indexCount) { argument
82 mAllocatedIndexCount = indexCount;
83 mIndexCount = indexCount;
84 mIndices = (void*)new TYPE[indexCount];
H A DPatch.h53 uint32_t indexCount = 0; member in class:android::uirenderer::Patch
H A DSkiaCanvas.cpp135 const uint16_t* indices, int indexCount, const SkPaint& paint) override;
616 const uint16_t* indices, int indexCount, const SkPaint& paint) {
622 (SkColor*)colors, NULL, indices, indexCount, paint);
651 const int indexCount = meshWidth * meshHeight * 6; local
660 storageSize += indexCount * sizeof(uint16_t); // indices[]
716 SkASSERT(indexPtr - indices == indexCount);
723 for (int i = 0; i < indexCount; i++) {
741 indexCount, tmpPaint);
614 drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, const float* verts, const float* texs, const int* colors, const uint16_t* indices, int indexCount, const SkPaint& paint) argument
H A DSkiaCanvasProxy.h71 const uint16_t indices[], int indexCount,
H A DPatch.cpp220 indexCount += 6;
H A DSkiaCanvasProxy.cpp143 int indexCount, const SkPaint& paint) {
153 mCanvas->drawVertices(mode, floatCount, vArray, tArray, cArray, indices, indexCount, paint);
141 onDrawVertices(VertexMode mode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DBakedOpDispatcher.cpp115 uint32_t indexCount = 0; local
171 indexCount += opMesh->indexCount;
187 .setMeshTexturedIndexedQuads(vertices, indexCount)
H A DDisplayListCanvas.h194 const uint16_t* indices, int indexCount, const SkPaint& paint) override
H A DDisplayListOp.h818 uint32_t indexCount = 0; variable
870 indexCount += opMesh->indexCount;
874 &vertices[0], indexCount, mPaint);
H A DRecordingCanvas.h173 const uint16_t* indices, int indexCount, const SkPaint& paint) override
H A DOpenGLRenderer.h178 TextureVertex* vertices, uint32_t indexCount, const SkPaint* paint);
H A DGlopBuilder.cpp226 mOutGlop->mesh.elementCount = patch.indexCount;
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java131 int indexCount = quadCount * 6;
132 mIndexCount = indexCount;
133 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java97 int uvBuffer, int indexBuffer, int indexCount);
96 drawMesh(BasicTexture tex, int x, int y, int xyBuffer, int uvBuffer, int indexBuffer, int indexCount) argument
H A DGLES20Canvas.java717 int indexBuffer, int indexCount) {
745 GLES20.glDrawElements(GLES20.GL_TRIANGLE_STRIP, indexCount, GLES20.GL_UNSIGNED_BYTE, 0);
716 drawMesh(BasicTexture texture, int x, int y, int xyBuffer, int uvBuffer, int indexBuffer, int indexCount) argument
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp87 unsigned short* pIndices, int indexCount) {
93 if ( indexCount < 3 ) {
105 for(int i = 0; i < indexCount; i++) {
139 for (int i = 0; i < indexCount; i += 3) {
530 char[] indices, int indicesOffset, int indexCount);
537 jcharArray indices_ref, jint indicesOffset, jint indexCount) {
549 if (indices.mLength < indexCount) {
550 doThrowIAE(env, "length < offset + indexCount");
560 indices.mData, indexCount);
86 visibilityTest(float* pWS, float* pPositions, int positionsLength, unsigned short* pIndices, int indexCount) argument
534 util_visibilityTest(JNIEnv *env, jclass clazz, jfloatArray ws_ref, jint wsOffset, jfloatArray positions_ref, jint positionsOffset, jcharArray indices_ref, jint indicesOffset, jint indexCount) argument
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h195 const uint16_t* indices, int indexCount, const SkPaint& paint) = 0;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java246 int indexOffset, int indexCount, Paint paint) {
244 drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, Paint paint) argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1613 * @param indexCount number of entries in the indices array (if not null).
1618 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount,
1631 checkRange(indices.length, indexOffset, indexCount);
1635 indices, indexOffset, indexCount, paint.getNativeInstance());
2116 int indexOffset, int indexCount, long nativePaint);
1616 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument
2113 nativeDrawVertices(long nativeCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nativePaint) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp315 jint indexCount, jlong paintHandle) {
319 AutoJavaShortArray indexA(env, jindices, indexIndex + indexCount);
336 indices, indexCount, *paint);
309 drawVertices(JNIEnv* env, jobject, jlong canvasHandle, jint modeHandle, jint vertexCount, jfloatArray jverts, jint vertIndex, jfloatArray jtexs, jint texIndex, jintArray jcolors, jint colorIndex, jshortArray jindices, jint indexIndex, jint indexCount, jlong paintHandle) argument
/frameworks/native/vulkan/libvulkan/
H A Dapi_gen.cpp387 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance);
1038 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) { argument
1039 GetData(commandBuffer).dispatch.CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
1748 VKAPI_ATTR void vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) { argument
1749 vulkan::api::CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver_gen.h138 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance);
H A Dnull_driver.cpp1307 void CmdDrawIndexed(VkCommandBuffer cmdBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java932 int indexCount, long nPaint) {
927 nativeDrawVertices(long nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nPaint) argument

Completed in 430 milliseconds

12