Changeset View
Changeset View
Standalone View
Standalone View
benchmarks/kis_stroke_benchmark.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 36 | private: | |||
---|---|---|---|---|---|
46 | KisPaintInformation m_pi3; | 46 | KisPaintInformation m_pi3; | ||
47 | 47 | | |||
48 | QPointF m_c1; | 48 | QPointF m_c1; | ||
49 | QPointF m_c2; | 49 | QPointF m_c2; | ||
50 | 50 | | |||
51 | QVector<QPointF> m_startPoints; | 51 | QVector<QPointF> m_startPoints; | ||
52 | QVector<QPointF> m_endPoints; | 52 | QVector<QPointF> m_endPoints; | ||
53 | 53 | | |||
54 | QVector<QPoint> m_rectangleLeftLowerCorners; | ||||
55 | QVector<QPoint> m_rectangleRightUpperCorners; | ||||
56 | | ||||
57 | | ||||
54 | void initCurvePoints(int width, int height); | 58 | void initCurvePoints(int width, int height); | ||
55 | void initLines(int width, int height); | 59 | void initLines(int width, int height); | ||
60 | void initRectangles(int width, int height); | ||||
56 | 61 | | |||
57 | QString m_dataPath; | 62 | QString m_dataPath; | ||
58 | QString m_outputPath; | 63 | QString m_outputPath; | ||
59 | 64 | | |||
60 | private: | 65 | private: | ||
61 | inline void benchmarkRandomLines(QString presetFileName); | 66 | inline void benchmarkRandomLines(QString presetFileName); | ||
62 | inline void benchmarkStroke(QString presetFileName); | 67 | inline void benchmarkStroke(QString presetFileName); | ||
63 | inline void benchmarkLine(QString presetFileName); | 68 | inline void benchmarkLine(QString presetFileName); | ||
64 | inline void benchmarkCircle(QString presetFileName); | 69 | inline void benchmarkCircle(QString presetFileName); | ||
70 | inline void benchmarkRectangle(QString presetFileName); | ||||
65 | 71 | | |||
66 | private Q_SLOTS: | 72 | private Q_SLOTS: | ||
67 | void initTestCase(); | 73 | void initTestCase(); | ||
68 | void cleanupTestCase(); | 74 | void cleanupTestCase(); | ||
69 | 75 | | |||
70 | void init(); | 76 | void init(); | ||
71 | 77 | | |||
72 | // AutoBrush | 78 | // AutoBrush | ||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
115 | void deformBrush(); | 121 | void deformBrush(); | ||
116 | void deformBrushRL(); | 122 | void deformBrushRL(); | ||
117 | 123 | | |||
118 | void experimental(); | 124 | void experimental(); | ||
119 | void experimentalCircle(); | 125 | void experimentalCircle(); | ||
120 | 126 | | |||
121 | void colorsmudge(); | 127 | void colorsmudge(); | ||
122 | void colorsmudgeRL(); | 128 | void colorsmudgeRL(); | ||
129 | | ||||
130 | void roundMarker(); | ||||
131 | void roundMarkerRandomLines(); | ||||
132 | void roundMarkerRectangle(); | ||||
133 | | ||||
134 | void roundMarkerHalfPixel(); | ||||
135 | void roundMarkerRandomLinesHalfPixel(); | ||||
136 | void roundMarkerRectangleHalfPixel(); | ||||
137 | | ||||
123 | /* | 138 | /* | ||
124 | void predefinedBrush(); | 139 | void predefinedBrush(); | ||
125 | void predefinedBrushRL(); | 140 | void predefinedBrushRL(); | ||
126 | */ | 141 | */ | ||
127 | void benchmarkRand(); | 142 | void benchmarkRand(); | ||
128 | void benchmarkRand48(); | 143 | void benchmarkRand48(); | ||
129 | 144 | | |||
130 | void becnhmarkPresetCloning(); | 145 | void becnhmarkPresetCloning(); | ||
131 | }; | 146 | }; | ||
132 | 147 | | |||
133 | #endif | 148 | #endif |