test-cogl-materials: Run the 'all layers' test with different prims
test-cogl-materials: Run the 'all layers' test with different prims

The drawing code from test_invalid_texture_layers which draws a
rectangle, a polygon and a vertex buffer has been split out to
separate function. test_using_all_layers now also uses this so that it
will also test the other two primitives. This causes the test to fail
when all of the layers are drawn using a vertex buffer.

http://bugzilla.openedhand.com/show_bug.cgi?id=2132

heysion/clutter-clone,GNOME/clutter,ebassi/clutter,djdeath/clutter-android,kerrickstaley/clutter-vala,GNOME/clutter,dlespiau/clutter,spatulasnout/clutter,nobled/clutter,djdeath/clutter,kerrickstaley/clutter-vala,Distrotech/clutter,ebassi/clutter,nobled/clutter,kerrickstaley/clutter-vala,djdeath/clutter-android,rkudiyarov/clutter_osx,jigpu/clutter,spatulasnout/clutter,djdeath/clutter,djdeath/clutter,djdeath/clutter,ebassi/clutter,rkudiyarov/clutter_osx,dlespiau/clutter,ebassi/clutter,kerrickstaley/clutter-vala,djdeath/clutter,djdeath/clutter-multithreaded,spatulasnout/clutter,collects/clutter,heysion/clutter-clone,heysion/clutter-clone,djdeath/clutter,GNOME/clutter,Distrotech/clutter,ebassi/clutter,nobled/clutter,jigpu/clutter,collects/clutter,djdeath/clutter-android,djdeath/clutter-multithreaded,Distrotech/clutter,collects/clutter,Distrotech/clutter,Distrotech/clutter,spatulasnout/clutter,Distrotech/clutter,djdeath/clutter-android,djdeath/clutter-android,rkudiyarov/clutter_osx,jigpu/clutter,djdeath/clutter-multithreaded,heysion/clutter-clone,jigpu/clutter,dlespiau/clutter,djdeath/clutter-multithreaded,GNOME/clutter,jigpu/clutter,jigpu/clutter,rkudiyarov/clutter_osx,spatulasnout/clutter,GNOME/clutter,heysion/clutter-clone,collects/clutter,collects/clutter