mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
fp: put test name in window title, add run script
This commit is contained in:
parent
af74abab6b
commit
1f13545679
2 changed files with 9 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
7
progs/fp/run.sh
Executable file
7
progs/fp/run.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
for i in *.txt ; do
|
||||
echo $i
|
||||
./fp-tri $i
|
||||
done
|
||||
|
||||
Loading…
Add table
Reference in a new issue