Removes all remaining use of CoglHandle

Removing CoglHandle has been an on going goal for quite a long time now
and finally this patch removes the last remaining uses of the CoglHandle
type and the cogl_handle_ apis.

Since the big remaining users of CoglHandle were the cogl_program_ and
cogl_shader_ apis which have replaced with the CoglSnippets api this
patch removes both of these apis.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 6ed3aaf4be21d605a1ed3176b3ea825933f85cf0)

  Since the original patch was done after removing deprecated API
  this back ported patch doesn't affect deprecated API and so
  actually this cherry-pick doesn't remove all remaining use of
  CoglHandle as it did for the master branch of Cogl.
This commit is contained in:
Robert Bragg
2012-04-16 14:14:10 +01:00
parent 097d282b32
commit 09642a83b5
77 changed files with 324 additions and 363 deletions

View File

@ -601,11 +601,11 @@ cogl_snippet_get_hook (CoglSnippet *snippet);
/**
* cogl_is_snippet:
* @handle: A CoglHandle
* @object: A #CoglObject pointer
*
* Gets whether the given handle references an existing snippet object.
* Gets whether the given @object references an existing snippet object.
*
* Return value: %TRUE if the handle references a #CoglSnippet,
* Return value: %TRUE if the @object references a #CoglSnippet,
* %FALSE otherwise
*
* Since: 1.10