mirror of
https://github.com/brl/mutter.git
synced 2025-01-11 20:22:23 +00:00
Add the missing cogl_is_context() function
This was missing from the CoglContext header. Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
9a82b9d21b
commit
55344ff2c4
@ -77,6 +77,21 @@ void
|
|||||||
cogl_android_set_native_window (ANativeWindow *window);
|
cogl_android_set_native_window (ANativeWindow *window);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* cogl_is_context:
|
||||||
|
* @object: An object or %NULL
|
||||||
|
*
|
||||||
|
* Gets whether the given object references an existing context object.
|
||||||
|
*
|
||||||
|
* Return value: %TRUE if the handle references a #CoglContext,
|
||||||
|
* %FALSE otherwise
|
||||||
|
*
|
||||||
|
* Since: 1.10
|
||||||
|
* Stability: Unstable
|
||||||
|
*/
|
||||||
|
gboolean
|
||||||
|
cogl_is_context (void *object);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __COGL_CONTEXT_H__ */
|
#endif /* __COGL_CONTEXT_H__ */
|
||||||
|
@ -74,6 +74,7 @@ cogl_wayland_display_set_compositor_display
|
|||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
cogl_context_new
|
cogl_context_new
|
||||||
|
cogl_is_context
|
||||||
cogl_context_get_display
|
cogl_context_get_display
|
||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
|
Loading…
Reference in New Issue
Block a user