[tests] Adds an interactive cogl vertex buffer unit test
authorRobert Bragg <robert@linux.intel.com>
Mon, 16 Mar 2009 12:47:45 +0000 (12:47 +0000)
committerRobert Bragg <robert@linux.intel.com>
Mon, 16 Mar 2009 16:19:51 +0000 (16:19 +0000)
commitc5bd63648d3dccbb554a1b899ab974fe91ef9249
tree1ee2ba9713117ba66539a7d542ca336f8a43bcf5
parent71d65b629bb8f0a36b24753d6205663daa5acb09
[tests] Adds an interactive cogl vertex buffer unit test

The test is a sanity check that dynamic updating of vertex data via the cogl
vertex buffer api works and has reasonable performance. (though it can't be
considered a well designed benchmark since it wastes casual amounts of CPU
time simply choosing pretty colors.)

The code also aims to demonstrate one way of creating, updating and efficiently
drawing a quad mesh structure via the vertex buffer api which could be applied
to lots of different use cases.
tests/interactive/Makefile.am
tests/interactive/test-cogl-vertex-buffer.c [new file with mode: 0644]