1
0
Fork 0
mutter-performance-source/doc
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
..
common cookbook: Make the table of content have a depth of 2 2010-08-06 15:43:16 +01:00
cookbook cookbook: Added recipe for signal handling in ClutterScript 2010-08-31 14:39:47 +01:00
manual build: Distcheck fixes 2010-06-30 12:26:10 +01:00
reference offscreen-effect: Rename create_target to create_buffer 2010-09-01 18:05:53 +01:00
clutter-actor-invariants.txt clutter-texture: Remove confusing comments about realization 2010-04-19 15:34:43 +01:00
CODING_STYLE docs: Move documentation under doc/ 2009-12-01 10:16:25 +00:00
HACKING docs: Note the P_() macro in the HACKING file 2010-07-15 17:31:10 +01:00
HACKING.backends docs: Update the HACKING.backends file 2010-03-04 18:07:04 +00:00
Makefile.am docs: Disable manual 2010-06-30 11:56:13 +01:00
RELEASING docs: Move RELEASING under docs/ 2009-12-09 18:10:52 +00:00