8#ifndef StatsLayer_DEFINED
9#define StatsLayer_DEFINED
35 static const int kMeasurementCount = 1 << 6;
37 double fTimes[kMeasurementCount];
43 double fTotalTimes[kMeasurementCount];
44 int fCurrentMeasurement;
45 double fLastTotalBegin;
46 double fCumulativeMeasurementTime;
47 int fCumulativeMeasurementCount;
Timer addTimer(const char *label, SkColor color, SkColor labelColor=0)
void onPrePaint() override
void setDisplayScale(float scale)
void onPaint(SkSurface *) override