1
0
Fork 0
mutter-performance-source/doc
Neil Roberts fdc07c865f Add cogl_pipeline_set_layer_null_texture()
This adds a public function to replace the texture for a layer with
the default white texture. It is equivalent to calling
cogl_pipeline_set_layer_texture with NULL for the texture object
except that it also lets you choose a type for the texture. The idea
is that applications using a base pipeline to make multiple copies
that can share the generated shaders can use this function to make the
layer come into existence with the right texture type. Previously the
idiom would be to create a 1x1 dummy texture of the right type but
this ends up creating lots of redundant little textures.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2012-02-13 17:15:08 +00:00
..
reference Add cogl_pipeline_set_layer_null_texture() 2012-02-13 17:15:08 +00:00
CODING_STYLE cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
Makefile.am build: Distribute CODING_STYLE 2011-05-06 18:56:38 +01:00
RELEASING doc/RELEASING: Add a note about testing windows compilation 2011-10-17 15:00:31 +01:00