/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Mesh.cpp | 21 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];
|
H A D | Mesh.h | 32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
|
/frameworks/base/libs/hwui/ |
H A D | VertexBuffer.h | 60 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 D | DisplayListRenderer.cpp | 241 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 D | DisplayListOp.h | 896 uint32_t vertexCount = opMesh->verticesCount; local 897 if (vertexCount == 0) continue; 909 for (uint32_t j = 0; j < vertexCount; j++, opVertices++) {
|
/frameworks/base/include/private/graphics/ |
H A D | Canvas.h | 108 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount,
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 285 private native boolean setShaderVertexCount(int vertexCount); argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 282 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 D | Canvas.java | 1601 * @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,
|
/frameworks/base/core/jni/android/graphics/ |
H A D | SkiaCanvas.cpp | 107 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/java/android/view/ |
H A D | GLES20Canvas.java | 994 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, argument
|