#ifndef UTILS_H #define UTILS_H #include "surface.h" #include "renderops.h" #include /* number of repetitions */ #define REPS 1024 //#define REPS 256 double get_time(void); void time_test(char *description, void (*func)(int op, XRenderSurf *src, XRenderSurf *mask, XRenderSurf *dst), RenderOp *op, XRenderSurf *src, XRenderSurf *mask, XRenderSurf *dst); void populate_from_file(Display *disp, XRenderSurf *rs, const char *file); void setup_window(void); #endif