Home
last modified time | relevance | path

Searched refs:vertexCount (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/renderengine/
DMesh.cpp24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize) in Mesh() argument
25 : mVertexCount(vertexCount), in Mesh()
29 if (vertexCount == 0) { in Mesh()
38 size_t remainder = (stride * vertexCount) / vertexCount; in Mesh()
43 ALOGE("Overflow in Mesh(..., %zu, %zu, %zu, %zu)", vertexCount, vertexSize, texCoordSize, in Mesh()
54 mVertices.resize(stride * vertexCount); in Mesh()
/frameworks/base/libs/hwui/
DVertexBuffer.h58 TYPE* alloc(int vertexCount) { in alloc() argument
66 mReallocBuffer = reallocBuffer + vertexCount; in alloc()
69 mAllocatedVertexCount = vertexCount; in alloc()
70 mVertexCount = vertexCount; in alloc()
72 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount]; in alloc()
107 void computeBounds(int vertexCount = 0) {
114 if (vertexCount == 0) vertexCount = mVertexCount;
117 TYPE* end = current + vertexCount;
/frameworks/native/libs/renderengine/include/renderengine/
DMesh.h35 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java593 public void drawVertices(@NonNull VertexMode mode, int vertexCount, @NonNull float[] verts, in drawVertices() argument
597 checkRange(verts.length, vertOffset, vertexCount); in drawVertices()
599 checkRange(texs.length, texOffset, vertexCount); in drawVertices()
602 checkRange(colors.length, colorOffset, vertexCount / 2); in drawVertices()
608 nDrawVertices(mNativeCanvasWrapper, mode.nativeInt, vertexCount, verts, in drawVertices()
DBaseRecordingCanvas.java560 public final void drawVertices(@NonNull VertexMode mode, int vertexCount, in drawVertices() argument
564 checkRange(verts.length, vertOffset, vertexCount); in drawVertices()
566 checkRange(texs.length, texOffset, vertexCount); in drawVertices()
569 checkRange(colors.length, colorOffset, vertexCount / 2); in drawVertices()
574 nDrawVertices(mNativeCanvasWrapper, mode.nativeInt, vertexCount, verts, in drawVertices()
DCanvas.java2247 public void drawVertices(@NonNull VertexMode mode, int vertexCount, @NonNull float[] verts, in drawVertices() argument
2251 super.drawVertices(mode, vertexCount, verts, vertOffset, texs, texOffset, in drawVertices()
DColorSpace.java4293 int vertexCount = SPECTRUM_LOCUS_X.length * CHROMATICITY_RESOLUTION * 6;
4294 float[] vertices = new float[vertexCount * 2];
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java288 private native boolean setShaderVertexCount(int vertexCount); in setShaderVertexCount() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java248 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, in drawVertices() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp371 const int vertexCount = floatCount >> 1; // 2 floats per SkPoint in drawVertices() local
375 AutoJavaIntArray colorA(env, jcolors, colorIndex + vertexCount); in drawVertices()
392 get_canvas(canvasHandle)->drawVertices(SkVertices::MakeCopy(mode, vertexCount, in drawVertices()
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp451 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount…
1192 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount… in CmdDraw() argument
1193 …GetData(commandBuffer).dispatch.CmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, fi… in CmdDraw()
2033 VKAPI_ATTR void vkCmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCou… in vkCmdDraw() argument
2034 vulkan::api::CmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance); in vkCmdDraw()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h137 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount…
Dnull_driver.cpp1385 void CmdDraw(VkCommandBuffer cmdBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firs… in CmdDraw() argument
/frameworks/native/vulkan/api/
Dvulkan.api4694 u32 vertexCount
7371 u32 vertexCount
9461 u32 vertexCount,