mutter/examples
Robert Bragg af7398788a remove internal_format and redundant error arguments
Texture allocation is now consistently handled lazily such that the
internal format can now be controlled using
cogl_texture_set_components() and cogl_texture_set_premultiplied()
before allocating the texture with cogl_texture_allocate(). This means
that the internal_format arguments to texture constructors are now
redundant and since most of the texture constructors now can't ever fail
the error arguments are also redundant. This now means we no longer
use CoglPixelFormat in the public api for describing the internal format
of textures which had been bad solution originally due to how specific
CoglPixelFormat is which is missleading when we don't support such
explicit control over the internal format.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 99a53c82e9ab0a1e5ee35941bf83dc334b1fbe87)

Note: there are numerous API changes for functions currently marked
as 'unstable' which we don't think are in use by anyone depending on
a stable 1.x api. Compared to the original patch though this avoids
changing the cogl_texture_rectangle_new_with_size() api which we know
is used by Mutter.
2014-01-09 15:49:47 +00:00
..
android/hello examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-basic-video-player.c introduce texture loaders to make allocations lazy 2014-01-09 15:49:46 +00:00
cogl-crate.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-emscripten-hello.c Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
cogl-gles2-context.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-gles2-gears.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-hello.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-info.c Add support for per-vertex point sizes 2013-06-07 16:53:29 +01:00
cogl-msaa.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-point-sprites.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-sdl2-hello.c Make cogl-sdl.h a top-level header 2013-12-11 18:49:19 +00:00
cogl-sdl-hello.c Make cogl-sdl.h a top-level header 2013-12-11 18:49:19 +00:00
cogl-x11-foreign.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-x11-tfp.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogland.c wayland: Add a convenience function to update a region from SHM buffer 2013-11-28 18:12:22 +00:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
emscripten-example-js-library.js emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +01:00
emscripten-example-js.h emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +01:00
Makefile.am Add a cogl-point-sprites example 2013-08-21 15:40:09 +01:00