Searched defs:floatCount (Results 1 - 3 of 3) sorted by last modified time

/frameworks/base/libs/hwui/
H A DRecordedOp.h280 LinesOp(BASE_PARAMS, const float* points, const int floatCount) argument
283 , floatCount(floatCount) {}
285 const int floatCount; member in struct:android::uirenderer::LinesOp
310 PointsOp(BASE_PARAMS, const float* points, const int floatCount) argument
313 , floatCount(floatCount) {}
315 const int floatCount; member in struct:android::uirenderer::PointsOp
H A DRecordingCanvas.cpp261 static Rect calcBoundsOfPoints(const float* points, int floatCount) { argument
263 for (int i = 2; i < floatCount; i += 2) {
270 void RecordingCanvas::drawPoints(const float* points, int floatCount, const SkPaint& paint) { argument
271 if (CC_UNLIKELY(floatCount < 2 || paint.nothingToDraw())) return;
272 floatCount &= ~0x1; // round down to nearest two
275 calcBoundsOfPoints(points, floatCount),
278 refPaint(&paint), refBuffer<float>(points, floatCount), floatCount)); local
281 void RecordingCanvas::drawLines(const float* points, int floatCount, const SkPaint& paint) { argument
282 if (CC_UNLIKELY(floatCount <
289 refPaint(&paint), refBuffer<float>(points, floatCount), floatCount)); local
[all...]
H A DSkiaCanvasProxy.cpp56 const size_t floatCount = count << 1; local
61 mCanvas->drawPoints(floatArray, floatCount, paint);
65 mCanvas->drawLines(floatArray, floatCount, paint);
192 const int floatCount = vertices->vertexCount() << 1; local
196 mCanvas->drawVertices(vertices->mode(), floatCount, vArray, tArray, cArray,

Completed in 3615 milliseconds