int y = height/4, h = height/2;
cairo_perf_timer_start ();
+ cairo_perf_set_thread_aware (cr, FALSE);
while (loops--) {
+ if (loops == 0)
+ cairo_perf_set_thread_aware (cr, TRUE);
cairo_reset_clip (cr);
cairo_rectangle (cr, x, y, w, h);
cairo_clip (cr);
int y = height/4, h = height/2;
cairo_perf_timer_start ();
+ cairo_perf_set_thread_aware (cr, FALSE);
while (loops--) {
+ if (loops == 0)
+ cairo_perf_set_thread_aware (cr, TRUE);
cairo_rectangle (cr, x, y, w, h);
cairo_fill (cr);
}
}
cairo_perf_timer_start ();
+ cairo_perf_set_thread_aware (cr, FALSE);
while (loops--) {
+ if (loops == 0)
+ cairo_perf_set_thread_aware (cr, TRUE);
pixman_fill ((uint32_t *)data, stride / sizeof(uint32_t), bpp,
x, y, w, h,
-1);