Searched defs:vertexCount (Results 1 - 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DMesh.cpp21 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize) argument
22 : mVertexCount(vertexCount), mVertexSize(vertexSize), mTexCoordsSize(texCoordSize),
25 mVertices = new float[(vertexSize + texCoordSize) * vertexCount];
/frameworks/base/libs/hwui/
H A DVertexBuffer.h60 TYPE* alloc(int vertexCount) { argument
68 mReallocBuffer = reallocBuffer + vertexCount;
71 mAllocatedVertexCount = vertexCount;
72 mVertexCount = vertexCount;
74 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount];
109 void computeBounds(int vertexCount = 0) {
116 if (vertexCount == 0) vertexCount = mVertexCount;
119 TYPE* end = current + vertexCount;
H A DDisplayListRenderer.cpp241 int vertexCount = (meshWidth + 1) * (meshHeight + 1); local
243 vertices = refBuffer<float>(vertices, vertexCount * 2); // 2 floats per vertex
245 colors = refBuffer<int>(colors, vertexCount); // 1 color per vertex
H A DDisplayListOp.h896 uint32_t vertexCount = opMesh->verticesCount; local
897 if (vertexCount == 0) continue;
909 for (uint32_t j = 0; j < vertexCount; j++, opVertices++) {
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java285 private native boolean setShaderVertexCount(int vertexCount); argument
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java994 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, argument
/frameworks/base/core/jni/android/graphics/
H A DSkiaCanvas.cpp107 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount,
545 void SkiaCanvas::drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, argument
551 const int ptCount = vertexCount >> 1;
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp282 jint modeHandle, jint vertexCount,
288 AutoJavaFloatArray vertA(env, jverts, vertIndex + vertexCount);
289 AutoJavaFloatArray texA(env, jtexs, texIndex + vertexCount);
290 AutoJavaIntArray colorA(env, jcolors, colorIndex + vertexCount);
307 get_canvas(canvasHandle)->drawVertices(mode, vertexCount, verts, texs, colors,
281 drawVertices(JNIEnv* env, jobject, jlong canvasHandle, jint modeHandle, jint vertexCount, jfloatArray jverts, jint vertIndex, jfloatArray jtexs, jint texIndex, jintArray jcolors, jint colorIndex, jshortArray jindices, jint indexIndex, jint indexCount, jlong paintHandle) argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1601 * @param vertexCount The number of values in the vertices array (and
1603 * vertex is two values (x, y), vertexCount must be a multiple of 2.
1617 public void drawVertices(@NonNull VertexMode mode, int vertexCount, @NonNull float[] verts, argument
1621 checkRange(verts.length, vertOffset, vertexCount);
1623 checkRange(texs.length, texOffset, vertexCount);
1626 checkRange(colors.length, colorOffset, vertexCount / 2);
1631 nativeDrawVertices(mNativeCanvasWrapper, mode.nativeInt, vertexCount, verts,

Completed in 195 milliseconds