From: Matthew Mondor Date: Mon, 13 Apr 2015 05:16:12 +0000 (+0000) Subject: TODO X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=a13e2d257f6ff5d2ef47e90e525959cb1d488474;p=mmondor.git TODO --- diff --git a/tests/sdl-scroll/src/main.c b/tests/sdl-scroll/src/main.c index 38d3a86..cb7f334 100644 --- a/tests/sdl-scroll/src/main.c +++ b/tests/sdl-scroll/src/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.3 2011/03/11 00:23:06 mmondor Exp $ */ +/* $Id: main.c,v 1.4 2015/04/13 05:16:12 mmondor Exp $ */ /* * SDL-based scrolling test @@ -19,7 +19,13 @@ * * This implementation attempts to implement similar scrolling using SDL in * 32-bit depth at 640x480, relying on the fact that blitting outside of the - * clipping area shouldn't happen. + * clipping area shouldn't happen. Although it can run decently on a fast + * computer, it appears to be a difficult task for SDL to perform efficiently. + * + * TODO: + * - Profile performance using various video modes + * - Profile performance using larger and smaller tiles + * - Display CPU time used by process along with the existing FPS report */ #include @@ -36,7 +42,7 @@ #define SCREEN_HEIGHT 480 #define SCREEN_DEPTH 32 -#define FPS 90 /* 0 = unrestricted */ +#define FPS 60 /* 0 = unrestricted */ #define SHOWFPS true #define TILE_IMG_WIDTH 640