mutter/examples
Robert Bragg cdbc1dc9b1 examples: Remove explicit framebuffer allocations
It used to be that cogl_framebuffer_allocate() had to be done explicitly
but we have since made Cogl lazily allocate framebuffers when they are
first used if they haven't already been explicitly allocated. Developers
only need to explicitly allocate framebuffers if they are planning to
gracefully handle any errors. In cases where the program will simply
abort due to an allocation error they can simply rely on implicit
allocation which will cause an abort on error.

This updates the examples to not explicitly allocate the framebuffers
since they all just abort on error anyway.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-02-09 13:09:15 +00:00
..
android/hello android: Update the hello example to the latest glib-android API change 2011-08-12 17:24:19 +01:00
cogl-crate.c examples: Remove explicit framebuffer allocations 2012-02-09 13:09:15 +00:00
cogl-hello.c examples: Remove explicit framebuffer allocations 2012-02-09 13:09:15 +00:00
cogl-info.c cogl-info: print out the chosen renderer name 2012-01-16 18:27:19 +00:00
cogl-msaa.c examples: Remove explicit framebuffer allocations 2012-02-09 13:09:15 +00:00
cogl-sdl-hello.c examples: Remove explicit framebuffer allocations 2012-02-09 13:09:15 +00:00
cogl-x11-foreign.c examples: Remove explicit framebuffer allocations 2012-02-09 13:09:15 +00:00
cogl-x11-tfp.c examples: Remove explicit framebuffer allocations 2012-02-09 13:09:15 +00:00
cogland.c Updates in line with latest wayland protocol 2012-01-16 18:27:19 +00:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am Add an example combining SDL and Cogl 2011-12-14 16:45:24 +00:00