1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +01:00

gif update from Graham Whitted <gbw@sgrail.com>

removed cycle_bench() from testgrad
This commit is contained in:
kojima
2000-02-29 18:10:27 +00:00
parent fea35bfc99
commit 34c4040d91
2 changed files with 21 additions and 18 deletions

View File

@@ -190,15 +190,9 @@ int main(int argc, char **argv)
printf("average time per convertion %f sec\n", rt/i);
printf("------------------------------------------\n");
#else
cycle_bench(1);
imgh = RRenderMultiGradient(250, 250, colors, RGRD_HORIZONTAL);
cycle_bench(0);
cycle_bench(1);
imgv = RRenderMultiGradient(250, 250, colors, RGRD_VERTICAL);
cycle_bench(0);
cycle_bench(1);
imgd = RRenderMultiGradient(250, 250, colors, RGRD_DIAGONAL);
cycle_bench(0);
RConvertImage(ctx, imgh, &pix);
XCopyArea(dpy, pix, win, ctx->copy_gc, 0, 0, 250, 250, 0, 0);