From: Jakob B. <wal...@gm...> - 2010-02-22 02:46:33
|
Hi all Some time ago I did wanted to learn a bit about more of the gallium interface so I wrote two very small programs that does pretty much the same things as the programs in progs/trivial with the same name does. I'm not sure if this is something that we want in mesa but I thought I share them with the ML should anybody find them remotely interesting. I cleaned up the patch a bit and added some comments. Looking at the source you can see that the programs only interact with gallium/auxiliaries and softpipe. So the programs saves the result as result.bmp. To test the programs just goto progs/gallium and run make, after compilation just run "./tri && gnome-open result.bmp" and should see a triangle in your favorite image viewer (provided you have gnome based desktop). Have fun. Cheers Jakob. |