Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DVertexBuffer.h81 TYPE* allocIndices(int indexCount) { in allocIndices() argument
82 mAllocatedIndexCount = indexCount; in allocIndices()
83 mIndexCount = indexCount; in allocIndices()
84 mIndices = (void*)new TYPE[indexCount]; in allocIndices()
DSkiaCanvas.cpp135 const uint16_t* indices, int indexCount, const SkPaint& paint) override;
616 const uint16_t* indices, int indexCount, const SkPaint& paint) { in drawVertices() argument
622 (SkColor*)colors, NULL, indices, indexCount, paint); in drawVertices()
651 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() local
660 storageSize += indexCount * sizeof(uint16_t); // indices[] in drawBitmapMesh()
716 SkASSERT(indexPtr - indices == indexCount); in drawBitmapMesh()
723 for (int i = 0; i < indexCount; i++) { in drawBitmapMesh()
741 indexCount, tmpPaint); in drawBitmapMesh()
DPatch.h53 uint32_t indexCount = 0; variable
DSkiaCanvasProxy.h71 const uint16_t indices[], int indexCount,
DSkiaCanvasProxy.cpp143 int indexCount, const SkPaint& paint) { in onDrawVertices() argument
153 mCanvas->drawVertices(mode, floatCount, vArray, tArray, cArray, indices, indexCount, paint); in onDrawVertices()
DPatch.cpp220 indexCount += 6; in generateQuad()
DBakedOpDispatcher.cpp115 uint32_t indexCount = 0; in onMergedPatchOps() local
171 indexCount += opMesh->indexCount; in onMergedPatchOps()
187 .setMeshTexturedIndexedQuads(vertices, indexCount) in onMergedPatchOps()
DDisplayListOp.h818 uint32_t indexCount = 0; in multiDraw() local
870 indexCount += opMesh->indexCount; in multiDraw()
874 &vertices[0], indexCount, mPaint); in multiDraw()
DDisplayListCanvas.h194 const uint16_t* indices, int indexCount, const SkPaint& paint) override in drawVertices() argument
DRecordingCanvas.h173 const uint16_t* indices, int indexCount, const SkPaint& paint) override in drawVertices() argument
DOpenGLRenderer.h178 TextureVertex* vertices, uint32_t indexCount, const SkPaint* paint);
DGlopBuilder.cpp226 mOutGlop->mesh.elementCount = patch.indexCount; in setMeshPatchQuads()
/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/opengl/java/android/opengl/
DVisibility.java51 int indicesOffset, int indexCount); in visibilityTest() argument
/frameworks/base/core/jni/android/opengl/
Dutil.cpp87 unsigned short* pIndices, int indexCount) { in visibilityTest() argument
93 if ( indexCount < 3 ) { in visibilityTest()
105 for(int i = 0; i < indexCount; i++) { in visibilityTest()
139 for (int i = 0; i < indexCount; i += 3) { in visibilityTest()
537 jcharArray indices_ref, jint indicesOffset, jint indexCount) { in util_visibilityTest() argument
549 if (indices.mLength < indexCount) { in util_visibilityTest()
560 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/graphics/java/android/graphics/
DCanvas.java1618 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, in drawVertices() argument
1631 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
1635 indices, indexOffset, indexCount, paint.getNativeInstance()); in drawVertices()
2116 int indexOffset, int indexCount, long nativePaint); in nativeDrawVertices() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp315 jint indexCount, jlong paintHandle) { in drawVertices() argument
319 AutoJavaShortArray indexA(env, jindices, indexIndex + indexCount); in drawVertices()
336 indices, indexCount, *paint); in drawVertices()
/frameworks/base/libs/hwui/hwui/
DCanvas.h195 const uint16_t* indices, int indexCount, const SkPaint& paint) = 0;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java246 int indexOffset, int indexCount, Paint paint) { in drawVertices() argument
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp387 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc…
1038 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc… in CmdDrawIndexed() argument
1039 …GetData(commandBuffer).dispatch.CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstInde… in CmdDrawIndexed()
1748 VKAPI_ATTR void vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t insta… in vkCmdDrawIndexed() argument
1749 …vulkan::api::CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, fi… in vkCmdDrawIndexed()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h138 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc…
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java932 int indexCount, long nPaint) { in nativeDrawVertices() argument
/frameworks/native/vulkan/include/vulkan/
Dvulkan.h2218 uint32_t indexCount; member
2340 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexed)(VkCommandBuffer commandBuffer, uint32_t indexCount, …
2957 uint32_t indexCount,

12