TODO
authorMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 13 Apr 2015 05:16:12 +0000 (05:16 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 13 Apr 2015 05:16:12 +0000 (05:16 +0000)
tests/sdl-scroll/src/main.c

index 38d3a86..cb7f334 100644 (file)
@@ -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
  *
  * 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 <stdbool.h>
@@ -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