1
0
Fork 0
mutter-performance-source/doc/reference
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
..
cogl docs: Add list of api introduced in 1.8 version 2012-01-13 15:51:34 +00:00
cogl-2.0-experimental Add cogl_pipeline_set_layer_null_texture() 2012-02-13 17:15:08 +00:00
Makefile.am Make it clearer that the 2.0 API is experimental 2011-06-14 17:09:55 +01:00