Home
last modified time | relevance | path

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

/aosp12/frameworks/native/libs/renderengine/gl/
H A DGLSkiaShadowPort.cpp252 vertexCount++; in fillInCircleVerts()
257 vertexCount++; in fillInCircleVerts()
262 vertexCount++; in fillInCircleVerts()
267 vertexCount++; in fillInCircleVerts()
272 vertexCount++; in fillInCircleVerts()
277 vertexCount++; in fillInCircleVerts()
282 vertexCount++; in fillInCircleVerts()
287 vertexCount++; in fillInCircleVerts()
300 vertexCount++; in fillInCircleVerts()
305 vertexCount++; in fillInCircleVerts()
[all …]
H A DGLSkiaShadowPort.h73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/
H A DGLSkiaShadowPort.cpp252 vertexCount++; in fillInCircleVerts()
257 vertexCount++; in fillInCircleVerts()
262 vertexCount++; in fillInCircleVerts()
267 vertexCount++; in fillInCircleVerts()
272 vertexCount++; in fillInCircleVerts()
277 vertexCount++; in fillInCircleVerts()
282 vertexCount++; in fillInCircleVerts()
287 vertexCount++; in fillInCircleVerts()
300 vertexCount++; in fillInCircleVerts()
305 vertexCount++; in fillInCircleVerts()
[all …]
H A DGLSkiaShadowPort.h73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
/aosp12/frameworks/base/libs/hwui/
H A 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;
/aosp12/frameworks/native/libs/renderengine/
H A DMesh.cpp24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, in Mesh() argument
27 : mVertexCount(vertexCount), in Mesh()
35 if (vertexCount == 0) { in Mesh()
42 size_t remainder = (stride * vertexCount) / vertexCount; in Mesh()
47 ALOGE("Overflow in Mesh(..., %zu, %zu, %zu, %zu, %zu, %zu)", vertexCount, vertexSize, in Mesh()
61 mVertices.resize(stride * vertexCount); in Mesh()
/aosp12/frameworks/av/media/libstagefright/renderfright/
H A DMesh.cpp24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, in Mesh() argument
27 : mVertexCount(vertexCount), in Mesh()
35 if (vertexCount == 0) { in Mesh()
42 size_t remainder = (stride * vertexCount) / vertexCount; in Mesh()
47 ALOGE("Overflow in Mesh(..., %zu, %zu, %zu, %zu, %zu, %zu)", vertexCount, vertexSize, in Mesh()
61 mVertices.resize(stride * vertexCount); in Mesh()
/aosp12/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java344 private final int vertexCount = squareCoords.length / COORDS_PER_VERTEX; field in ColorsGLRenderer.Square
347 private float cornerFrequencies[] = new float[vertexCount];
357 for (int i=0; i<vertexCount; i++) { in Square()
360 cornerRotation = (int)(Math.random() * vertexCount); in Square()
370 bb = ByteBuffer.allocateDirect(vertexCount * colorStride); in Square()
413 for(int i=0; i<vertexCount; i++) { in draw()
415 _tmphsv[0] = HUES[(i + cornerRotation) % vertexCount]; in draw()
431 glDrawArrays(GL_TRIANGLE_FAN, 0, vertexCount); in draw()
/aosp12/frameworks/native/libs/renderengine/include/renderengine/
H A DMesh.h133 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize,
165 Builder& setVertices(size_t vertexCount, size_t vertexSize) { in setVertices() argument
166 mVertexCount = vertexCount; in setVertices()
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/
H A DMesh.h133 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize,
165 Builder& setVertices(size_t vertexCount, size_t vertexSize) { in setVertices() argument
166 mVertexCount = vertexCount; in setVertices()
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DBaseRecordingCanvas.java594 public final void drawVertices(@NonNull VertexMode mode, int vertexCount, in drawVertices() argument
598 checkRange(verts.length, vertOffset, vertexCount); in drawVertices()
600 checkRange(texs.length, texOffset, vertexCount); in drawVertices()
603 checkRange(colors.length, colorOffset, vertexCount / 2); in drawVertices()
608 nDrawVertices(mNativeCanvasWrapper, mode.nativeInt, vertexCount, verts, in drawVertices()
H A DBaseCanvas.java653 public void drawVertices(@NonNull VertexMode mode, int vertexCount, @NonNull float[] verts, in drawVertices() argument
657 checkRange(verts.length, vertOffset, vertexCount); in drawVertices()
659 checkRange(texs.length, texOffset, vertexCount); in drawVertices()
662 checkRange(colors.length, colorOffset, vertexCount / 2); in drawVertices()
668 nDrawVertices(mNativeCanvasWrapper, mode.nativeInt, vertexCount, verts, in drawVertices()
H A DCanvas.java2299 public void drawVertices(@NonNull VertexMode mode, int vertexCount, @NonNull float[] verts,
2303 super.drawVertices(mode, vertexCount, verts, vertOffset, texs, texOffset,
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java288 private native boolean setShaderVertexCount(int vertexCount); in setShaderVertexCount() argument
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java248 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, in drawVertices() argument
/aosp12/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_Canvas.cpp373 const int vertexCount = floatCount >> 1; // 2 floats per SkPoint in drawVertices() local
377 AutoJavaIntArray colorA(env, jcolors, colorIndex + vertexCount); in drawVertices()
394 get_canvas(canvasHandle)->drawVertices(SkVertices::MakeCopy(mode, vertexCount, in drawVertices()
/aosp12/frameworks/native/vulkan/libvulkan/
H A Dapi_gen.cpp464 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount…
1238 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount… in CmdDraw() argument
1239 …GetData(commandBuffer).dispatch.CmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, fi… in CmdDraw()
2137 VKAPI_ATTR void vkCmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCou… in vkCmdDraw() argument
2138 vulkan::api::CmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance); in vkCmdDraw()
/aosp12/frameworks/native/vulkan/nulldrv/
H A Dnull_driver_gen.h139 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount…
H A Dnull_driver.cpp1393 void CmdDraw(VkCommandBuffer cmdBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firs… in CmdDraw() argument
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...