Searched defs:texs (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.cpp124 const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[],
133 const float* tArray = (texs) ? &texs[0].fX : NULL;
123 onDrawVertices(VertexMode mode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkiaCanvas.cpp536 const float* verts, const float* texs, const int* colors,
542 mCanvas->drawVertices(vertexMode, ptCount, (SkPoint*)verts, (SkPoint*)texs,
580 ssize_t storageSize = ptCount * sizeof(SkPoint); // texs[]
588 SkPoint* texs = (SkPoint*)storage.get(); local
589 uint16_t* indices = (uint16_t*)(texs + ptCount);
598 SkPoint* texsPtr = texs;
614 SkASSERT(texsPtr - texs == ptCount);
661 texs, (const SkColor*)colors, NULL, indices,
535 drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, const float* verts, const float* texs, const int* colors, const uint16_t* indices, int indexCount, const SkPaint& paint) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp304 const float* texs = texA.ptr() + vertIndex; local
317 get_canvas(canvasHandle)->drawVertices(mode, vertexCount, verts, texs, colors,
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1578 * texs is non-null, then it is used to specify the coordinate in shader
1580 * case). If there is no texs array, but there is a color array, then each
1582 * both texs and colors arrays are present, then they behave as before, but
1590 * corresponding texs and colors arrays if non-null). Each logical
1594 * @param texs May be null. If not null, specifies the coordinates to sample
1596 * @param texOffset Number of values in texs to skip before drawing.
1601 * vertex (texs, colors) array.
1603 * @param paint Specifies the shader to use if the texs array is non-null.
1606 int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors,
1613 if (texs !
1605 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument
2092 nativeDrawVertices(long nativeCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nativePaint) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java841 float[] texs, int texOffset,
839 nativeDrawVertices(long nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nPaint) argument

Completed in 272 milliseconds