1
0
Fork 0
mutter-performance-source/doc/reference
Emmanuele Bassi 12a5bf2e06 offscreen-effect: Rename create_target to create_buffer
*** This is an API change ***

The create_target() virtual function should return a CoglHandle to a
texture; clutter_offscreen_effect_get_target(), instead, returns a
CoglMaterial to be painted in the implementation of the paint_target()
virtual function.

Instead of equating textures with materials, and confusing the user of
the API, we should mark the difference more prominently.

First of all, we should return a CoglMaterial* (now that we have that
as a public type) in get_target(); having handles all over the place
does not make it easier to distinguish the semantics of the virtual
functions.

Then we should rename create_target() to create_texture(), to make it
clear that what should be returned is a texture that is used as the
backing for the offscreen framebuffer.
2010-09-01 18:05:53 +01:00
..
cally build: Distcheck fixes after the Cally merge 2010-07-07 16:30:31 +01:00
clutter offscreen-effect: Rename create_target to create_buffer 2010-09-01 18:05:53 +01:00
cogl docs: Pass -DCOGL_ENABLE_EXPERIMENTAL_API when scanning 2010-08-28 21:21:08 +01:00
ChangeLog 2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-08 14:22:39 +00:00
Makefile.am docs: Add Cally API reference 2010-07-05 16:45:43 +01:00