1
0
Fork 0
mutter-performance-source/cogl
Bilal Elmoussaoui 863163cc6e cogl: Port Texture* away from CoglObject
- Make Texture a parent GObject class and move the vtable funcs as vfuncs
instead of an interface as we would like to have dispose free the TextureLoader.
- Make the various texture sub-types inherit from it.
- Make all the sub-types constructors return a CoglTexture instead of their respective
specific type. As most of the times, the used functions accept a CoglTexture,
like all the GTK widgets constructors returning GtkWidget.
- Fix up the basics of gi-docgen for all these types.
- Remove CoglPrimitiveTexture as it is useless: It is just a texture underhood.
- Remove CoglMetaTexture: for the exact same reason as above.
- Switch various memory management functions to use g_ variant instead of the cogl_ one

Note we would still want to get rid of the _cogl_texture_init which is something
for the next commit

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3193>
2023-10-29 21:16:24 +00:00
..
cogl cogl: Port Texture* away from CoglObject 2023-10-29 21:16:24 +00:00
cogl-pango cogl: Port Texture* away from CoglObject 2023-10-29 21:16:24 +00:00
cogl-config.h.meson cogl: Replace HAVE_TRACING with COGL_HAS_TRACING 2023-10-06 08:38:54 +04:00
meson.build cogl: Drop unnused functions 2023-10-23 16:32:35 +00:00