Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DVertexBuffer.h80 TYPE* allocIndices(int indexCount) { in allocIndices() argument
81 mAllocatedIndexCount = indexCount; in allocIndices()
82 mIndexCount = indexCount; in allocIndices()
83 mIndices = (void*)new TYPE[indexCount]; in allocIndices()
DSkiaCanvas.cpp601 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() local
606 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, ptCount, indexCount, flags); in drawBitmapMesh()
660 SkASSERT(indexPtr - indices == indexCount); in drawBitmapMesh()
666 for (int i = 0; i < indexCount; i++) { in drawBitmapMesh()
/frameworks/native/libs/renderengine/
DMesh.cpp26 size_t indexCount) in Mesh() argument
34 mIndexCount(indexCount) { in Mesh()
63 mIndices.resize(indexCount); in Mesh()
/frameworks/av/media/libstagefright/renderfright/
DMesh.cpp26 size_t indexCount) in Mesh() argument
34 mIndexCount(indexCount) { in Mesh()
63 mIndices.resize(indexCount); in Mesh()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DMesh.h134 size_t cropCoordsSize, size_t shadowColorSize, size_t shadowParamsSize, size_t indexCount);
183 Builder& setIndices(size_t indexCount) { in setIndices() argument
184 mIndexCount = indexCount; in setIndices()
/frameworks/native/libs/renderengine/include/renderengine/
DMesh.h134 size_t cropCoordsSize, size_t shadowColorSize, size_t shadowParamsSize, size_t indexCount);
183 Builder& setIndices(size_t indexCount) { in setIndices() argument
184 mIndexCount = indexCount; in setIndices()
/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/av/media/libstagefright/renderfright/gl/
DGLSkiaShadowPort.h77 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount,
DGLSkiaShadowPort.cpp488 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount, in fillIndicesForGeometry() argument
492 for (int i = 0; i < indexCount; ++i) { in fillIndicesForGeometry()
497 for (int i = 0; i < indexCount; ++i) { in fillIndicesForGeometry()
/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.h77 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount,
DGLSkiaShadowPort.cpp488 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount, in fillIndicesForGeometry() argument
492 for (int i = 0; i < indexCount; ++i) { in fillIndicesForGeometry()
497 for (int i = 0; i < indexCount; ++i) { in fillIndicesForGeometry()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp70 unsigned short* pIndices, int indexCount) { in visibilityTest() argument
73 if ( indexCount < 3 ) { in visibilityTest()
85 for(int i = 0; i < indexCount; i++) { in visibilityTest()
120 for (int i = 0; i < indexCount; i += 3) { in visibilityTest()
518 jcharArray indices_ref, jint indicesOffset, jint indexCount) { in util_visibilityTest() argument
530 if (indices.mLength < indexCount) { in util_visibilityTest()
541 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/
DBaseRecordingCanvas.java597 int indexCount, @NonNull Paint paint) { in drawVertices() argument
606 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
610 indices, indexOffset, indexCount, paint.getNativeInstance()); in drawVertices()
716 short[] indices, int indexOffset, int indexCount, long nativePaint); in nDrawVertices() argument
DBaseCanvas.java656 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, in drawVertices() argument
666 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
671 indices, indexOffset, indexCount, paint.getNativeInstance()); in drawVertices()
805 short[] indices, int indexOffset, int indexCount, long nativePaint); in nDrawVertices() argument
DCanvas.java2313 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount,
2316 colors, colorOffset, indices, indexOffset, indexCount, paint);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java250 int indexOffset, int indexCount, Paint paint) { in drawVertices() argument
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp389 jint indexCount, jlong paintHandle) { in drawVertices() argument
396 AutoJavaShortArray indexA(env, jindices, indexIndex + indexCount); in drawVertices()
429 reinterpret_cast<const SkColor*>(colors), indexCount, indices) in drawVertices()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h140 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc…
Dnull_driver.cpp1396 void CmdDrawIndexed(VkCommandBuffer cmdBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_… in CmdDrawIndexed() argument
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp502 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc…
1357 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc… in CmdDrawIndexed() argument
1358 …GetData(commandBuffer).dispatch.CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstInde… in CmdDrawIndexed()
2405 VKAPI_ATTR void vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t insta… in vkCmdDrawIndexed() argument
2406 …vulkan::api::CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, fi… in vkCmdDrawIndexed()
/frameworks/base/core/java/android/view/
DView.java6471 final int indexCount = t.getIndexCount();
6472 for (int j = 0; j < indexCount; ++j) {
6481 final int indexCount = t.getIndexCount();
6482 final String[] attributes = new String[(attrsCount + indexCount) * 2];
6496 for (int j = 0; j < indexCount; ++j) {