Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DMesh.cpp79 size_t indexCount = mBufferData->indexCount(); in validate() local
82 if (indexCount < min_vcount_for_mode(mMode)) { in validate()
84 modeToStr(mMode), min_vcount_for_mode(mMode), indexCount); in validate()
86 size_t isize = sm.mul(sizeof(uint16_t), indexCount); in validate()
101 LOG_ALWAYS_FATAL_IF(indexCount != 0); in validate()
DMesh.h112 std::vector<uint8_t> indexData, int32_t indexCount, int32_t indexOffset) in MeshBufferData() argument
115 , mIndexCount(indexCount) in MeshBufferData()
153 int32_t indexCount() const { return mIndexCount; } in indexCount() function
213 if (d.indexCount() != 0) { in makeSkMesh()
215 d.vertexOffset(), d.refIndexBuffer(), d.indexCount(), in makeSkMesh()
241 int32_t indexCount, int32_t indexOffset, const SkRect& bounds) in Mesh() argument
246 indexCount, indexOffset)) in Mesh()
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.cpp686 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() local
691 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, ptCount, indexCount, flags); in drawBitmapMesh()
745 LOG_FATAL_IF((indexPtr - indices) != indexCount); in drawBitmapMesh()
751 for (int i = 0; i < indexCount; i++) { in drawBitmapMesh()
DRecordingCanvas.cpp556 cpuMesh.indexCount(), cpuMesh.indexOffset(), in draw()
/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/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/libs/hwui/jni/
Dandroid_graphics_Mesh.cpp52 jobject indexBuffer, jboolean isIndexDirect, jint indexCount, in makeIndexed() argument
56 auto indexBufferSize = indexCount * gIndexByteSize; in makeIndexed()
68 vertexOffset, std::move(iBuf), indexCount, indexOffset, skRect); in makeIndexed()
Dandroid_graphics_Canvas.cpp429 jint indexCount, jlong paintHandle) { in drawVertices() argument
436 AutoJavaShortArray indexA(env, jindices, indexIndex + indexCount); in drawVertices()
469 reinterpret_cast<const SkColor*>(colors), indexCount, indices) in drawVertices()
/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/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/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.java598 int indexCount, @NonNull Paint paint) { in drawVertices() argument
607 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
611 indices, indexOffset, indexCount, paint.getNativeInstance()); in drawVertices()
732 short[] indices, int indexOffset, int indexCount, long nativePaint); in nDrawVertices() argument
DBaseCanvas.java657 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, in drawVertices() argument
667 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
672 indices, indexOffset, indexCount, paint.getNativeInstance()); in drawVertices()
830 short[] indices, int indexOffset, int indexCount, long nativePaint); in nDrawVertices() argument
DMesh.java374 boolean isIndexDirect, int indexCount, int indexOffset, float left, float top, in nativeMakeIndexed() argument
DCanvas.java2383 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount,
2386 colors, colorOffset, indices, indexOffset, indexCount, paint);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java254 int indexOffset, int indexCount, Paint paint) { in drawVertices() argument
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h140 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc…
Dnull_driver.cpp1419 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…
1358 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc… in CmdDrawIndexed() argument
1359 …GetData(commandBuffer).dispatch.CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstInde… in CmdDrawIndexed()
2406 VKAPI_ATTR void vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t insta… in vkCmdDrawIndexed() argument
2407 …vulkan::api::CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, fi… in vkCmdDrawIndexed()
/frameworks/base/core/java/android/view/
DView.java6888 final int indexCount = t.getIndexCount();
6889 for (int j = 0; j < indexCount; ++j) {
6898 final int indexCount = t.getIndexCount();
6899 final String[] attributes = new String[(attrsCount + indexCount) * 2];
6913 for (int j = 0; j < indexCount; ++j) {