Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.cpp247 int vertexCount = 0; in fillInCircleVerts() local
249 position[vertexCount] = center + vec2(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
250 shadowColor[vertexCount] = color; in fillInCircleVerts()
251 shadowParams[vertexCount] = vec3(-octOffset, -1, distanceCorrection); in fillInCircleVerts()
252 vertexCount++; in fillInCircleVerts()
254 position[vertexCount] = center + vec2(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
255 shadowColor[vertexCount] = color; in fillInCircleVerts()
256 shadowParams[vertexCount] = vec3(octOffset, -1, distanceCorrection); in fillInCircleVerts()
257 vertexCount++; in fillInCircleVerts()
259 position[vertexCount] = center + vec2(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
[all …]
DGLSkiaShadowPort.h73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
/frameworks/av/media/libstagefright/renderfright/gl/
DGLSkiaShadowPort.cpp247 int vertexCount = 0; in fillInCircleVerts() local
249 position[vertexCount] = center + vec2(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
250 shadowColor[vertexCount] = color; in fillInCircleVerts()
251 shadowParams[vertexCount] = vec3(-octOffset, -1, distanceCorrection); in fillInCircleVerts()
252 vertexCount++; in fillInCircleVerts()
254 position[vertexCount] = center + vec2(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
255 shadowColor[vertexCount] = color; in fillInCircleVerts()
256 shadowParams[vertexCount] = vec3(octOffset, -1, distanceCorrection); in fillInCircleVerts()
257 vertexCount++; in fillInCircleVerts()
259 position[vertexCount] = center + vec2(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
[all …]
DGLSkiaShadowPort.h73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
/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/
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()
/frameworks/av/media/libstagefright/renderfright/
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()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
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()
/frameworks/native/libs/renderengine/include/renderengine/
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()
/frameworks/base/graphics/java/android/graphics/
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()
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()
DCanvas.java2299 public void drawVertices(@NonNull VertexMode mode, int vertexCount, @NonNull float[] verts,
2303 super.drawVertices(mode, vertexCount, verts, vertOffset, texs, texOffset,
/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/libs/hwui/jni/
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()
/frameworks/native/vulkan/libvulkan/
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()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h139 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount…
Dnull_driver.cpp1393 void CmdDraw(VkCommandBuffer cmdBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firs… in CmdDraw() argument