Some Benchmarks to add to PTS - WebGL and Google Chrome
I've modified a Google WebGL demo (Aquarium) to enable it to create a simple benchmark that could be automated and used in PTS.
It is pretty simple to run it:
You need to download the benchmark file from:
Expand it to a folder and start an HTTP server on the root of this folder. I had tested it, using Python SimpleHTTPServer:
python -m SimpleHTTPServer
After that, just start google chrome from command line, using the following string:
google-chrome --user-data-dir=/tmp/log --enable-logging --ignore-gpu-blacklist --disable-gpu-vsync --app="http://localhost:8000/"
This should open google chrome in a clean profile folder on your /tmp and put all the log data on /tmp/log/chrome_debug.log
With tail command, you can watch the actual FPS from the command line:
tail -f /tmp/log/chrome_debug.log
I think that this should be pretty simple to integrate on the PTS.
I would be very happy to see WebGL benchmarks, because they would help opensource graphic device drivers developers tune their patches with a wholly new array of content, that is cross platform and above all, open.
If someone have any questions, comments, or want to contact me, you can find me on Google+
Or post here, of course. ; ]