/frameworks/native/libs/renderengine/gl/ |
D | GLSkiaShadowPort.cpp | 247 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 …]
|
D | GLSkiaShadowPort.h | 73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | GLSkiaShadowPort.cpp | 247 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 …]
|
D | GLSkiaShadowPort.h | 73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 58 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/ |
D | Mesh.cpp | 24 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/ |
D | Mesh.cpp | 24 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/ |
D | Mesh.h | 133 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/ |
D | Mesh.h | 133 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/ |
D | BaseRecordingCanvas.java | 594 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()
|
D | BaseCanvas.java | 653 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()
|
D | Canvas.java | 2299 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/ |
D | ShaderProgram.java | 288 private native boolean setShaderVertexCount(int vertexCount); in setShaderVertexCount() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 248 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, in drawVertices() argument
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 373 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/ |
D | api_gen.cpp | 464 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/ |
D | null_driver_gen.h | 139 VKAPI_ATTR void CmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount…
|
D | null_driver.cpp | 1393 void CmdDraw(VkCommandBuffer cmdBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firs… in CmdDraw() argument
|