From: Keith Whitwell Date: Fri, 12 Sep 2008 09:28:36 +0000 (+0100) Subject: fp: put test name in window title, add run script X-Git-Tag: 062012170305~17580^2~496^2~744 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f135456795adfb1d739a6fb66ab9540aa79b461;p=profile%2Fivi%2Fmesa.git fp: put test name in window title, add run script --- diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c index cb991f8..c07cfa2 100644 --- a/progs/fp/fp-tri.c +++ b/progs/fp/fp-tri.c @@ -154,11 +154,11 @@ int main(int argc, char **argv) glutInitWindowPosition(0, 0); glutInitWindowSize(250, 250); glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH); - glutCreateWindow(argv[0]); + args(argc, argv); + glutCreateWindow(filename); glutReshapeFunc(Reshape); glutKeyboardFunc(Key); glutDisplayFunc(Display); - args(argc, argv); Init(); if (show_fps) { signal(SIGALRM, alarmhandler); diff --git a/progs/fp/run.sh b/progs/fp/run.sh new file mode 100755 index 0000000..480f810 --- /dev/null +++ b/progs/fp/run.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in *.txt ; do +echo $i +./fp-tri $i +done +