Home
last modified time | relevance | path

Searched refs:AlphaVertex (Results 1 – 3 of 3) sorted by relevance

/external/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp69 inline void copyAlphaVertex(AlphaVertex* destPtr, const AlphaVertex* srcPtr) { in copyAlphaVertex()
70 AlphaVertex::set(destPtr, srcPtr->position[0], srcPtr->position[1], srcPtr->alpha); in copyAlphaVertex()
208 AlphaVertex* buffer = vertexBuffer->alloc<AlphaVertex>(perimeter.count() * 3 + 2); in getFillVerticesFromPerimeterAA()
232 AlphaVertex::set(&buffer[currentIndex++], in getFillVerticesFromPerimeterAA()
236 AlphaVertex::set(&buffer[currentIndex++], in getFillVerticesFromPerimeterAA()
273 AlphaVertex* buffer = vertexBuffer->alloc<AlphaVertex>(6 * vertices.count() + 2); in getStrokeVerticesFromUnclosedVerticesAA()
312 AlphaVertex::set(&buffer[0], in getStrokeVerticesFromUnclosedVerticesAA()
316 AlphaVertex::set(&buffer[1], in getStrokeVerticesFromUnclosedVerticesAA()
321 AlphaVertex::set(&buffer[2 * offset + 6], in getStrokeVerticesFromUnclosedVerticesAA()
325 AlphaVertex::set(&buffer[2 * offset + 7], in getStrokeVerticesFromUnclosedVerticesAA()
[all …]
DVertex.h49 struct AlphaVertex : Vertex { struct
52 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { in set() argument
57 static inline void setColor(AlphaVertex* vertex, float alpha) { in setColor() argument
DGrAndroidPathRenderer.cpp67 android::uirenderer::AlphaVertex* inVert = in onDrawPath()
68 reinterpret_cast<android::uirenderer::AlphaVertex*>(vertices.getBuffer()); in onDrawPath()