cogl: Increase annotation coverage

Upstream the annotations used in Gala, make more Cogl methods available since
things got moved to a GObject base and thus works natively with the introspection.

Add all the public API to the introspection.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3619>
This commit is contained in:
Corentin Noël
2024-02-27 08:48:30 +01:00
committed by Marge Bot
parent 8234f5bc7e
commit c4767b6c01
24 changed files with 126 additions and 99 deletions

View File

@ -98,8 +98,8 @@ cogl_attribute_buffer_new_with_size (CoglContext *context,
* cogl_attribute_buffer_new:
* @context: A #CoglContext
* @bytes: The number of bytes to allocate for vertex attribute data.
* @data: (array length=bytes): An optional pointer to vertex data to
* upload immediately.
* @data: (array length=bytes) (element-type guint8): An optional
* pointer to vertex data to upload immediately.
*
* Describes a new #CoglAttributeBuffer of @size bytes to contain
* arrays of vertex attribute data and also uploads @size bytes read