Offscreen Buffers (Deprecated)

Offscreen Buffers (Deprecated)

Synopsis

CoglHandle          cogl_offscreen_ref                  (CoglHandle handle);
void                cogl_offscreen_unref                (CoglHandle handle);

Description

Details

cogl_offscreen_ref ()

CoglHandle          cogl_offscreen_ref                  (CoglHandle handle);

Warning

cogl_offscreen_ref has been deprecated since version 1.2 and should not be used in newly-written code. cogl_handle_ref() should be used in new code.

Increments the reference count on the offscreen buffer.

handle :

A CoglHandle for an offscreen buffer

Returns :

For convenience it returns the given CoglHandle. [transfer none]

cogl_offscreen_unref ()

void                cogl_offscreen_unref                (CoglHandle handle);

Warning

cogl_offscreen_unref has been deprecated since version 1.2 and should not be used in newly-written code. cogl_handle_unref() should be used in new code.

Decreases the reference count for the offscreen buffer and frees it when the count reaches 0.

handle :

A CoglHandle for an offscreen buffer