Bilal Elmoussaoui
cd27cb5c85
cleanup: Fix various typos
...
Using the typos cli app
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3169 >
2023-08-12 20:13:37 +00:00
Bilal Elmoussaoui
a955f0e47c
cleanup: Make include macro usages consistent
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3157 >
2023-08-07 22:24:36 +00:00
Bilal Elmoussaoui
ead9a3024c
cleanup: Switch to pragma once
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3157 >
2023-08-07 22:24:36 +00:00
Bilal Elmoussaoui
bb5af3a6bd
g-i: Drop unneeded since/stability annotations
...
They are no longer useful since the merge of cogl inside mutter
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2708 >
2022-11-22 13:32:52 +01:00
Georges Basile Stavracas Neto
62330f273d
cogl: Drop CoglHandleObject and CoglHandleClass
...
They're just typedefs to CoglObject and CoglObjectClass, respectively,
and the latter is unused already. The former is used in a couple of
deprecated headers, which can easily be changed.
Change all CoglHandleObject instances to CoglObject, and drop the types
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355 >
2022-05-31 16:28:16 -03:00
Georges Basile Stavracas Neto
2c520f76b5
cogl: Drop cogl_texture_new_from_data
...
And, since this is the last public function of cogl-auto-texture.h,
drop the files entirely too.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355 >
2022-05-31 16:28:16 -03:00
Georges Basile Stavracas Neto
f927e692c7
cogl: Drop cogl_texture_new_from_file
...
It is now unused.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355 >
2022-05-31 16:25:11 -03:00
Georges Basile Stavracas Neto
f25360677f
clutter/canvas: Use cogl_texture_2d_new_from_bitmap
...
cogl_texture_new_from_bitmap() is deprecated. Since this was the
last usage of it, also drop cogl_texture_new_from_bitmap().
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355 >
2022-05-31 16:25:11 -03:00
Bilal Elmoussaoui
bd94adaf74
cogl: Unify HAS_X11/HAS_XLIB build configs
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2354 >
2022-05-25 16:42:04 +02:00
Fernando Monteiro
44aa6ab735
cogl: Remove cogl_texture_new_with_size
...
Replace the deprecated function with the suggested alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
612da58c72
cogl: Remove cogl_texture_new_from_sub_texture
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
9f9e64f077
cogl: Remove cogl_material_new
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
6cd4489e55
cogl: Remove cogl_material_set_color
...
This is unused anywhere.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
edae2fff72
cogl: Remove cogl_material_set_color4ub
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
5a5f57d533
cogl: Remove cogl_material_set_alpha_test_function
...
This is unused anywhere.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
afdbb71926
cogl: Remove cogl_material_set_blend
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
f90f8f84c3
cogl: Remove cogl_material_set_blend_constant
...
This is unused anywhere.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
403f44e7b0
cogl: Remove cogl_material_set_user_program
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
06de4e241d
cogl: Remove cogl_pipeline_set_point_size
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
a14d3d6e17
cogl: Remove cogl_pipeline_set_layer
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
68ec76e4ee
cogl: Remove cogl_pipeline_set_layer_combine
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
a8cd59e029
cogl: Remove cogl_material_set_layer_combine_constant
...
This is unused anywhere.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
ca25c5543a
cogl: Remove cogl_material_set_layer_matrix
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
29c62fabac
cogl: Remove cogl_material_set_layer_point_sprite_coords_enabled
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Fernando Monteiro
8285091585
cogl: Remove material_set_layer_filters
...
This function is deprecated and must be replaced to the alternative.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058 >
2021-12-07 15:32:21 +00:00
Robert Mader
df4508e8cf
cogl: Stop using GSlice
...
It has been inofficially deprecated for years, is known to cause issues
with valgrind and potentially hides memory corruption.
Lets stop using it.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1512 >
2021-02-22 13:51:30 +01:00
Jonas Ådahl
46ec29458d
cogl/texture: Add a bit more debug logging
...
We fall back to slicing if the non-sliced allocation failed, but we
didn't log why. Also log why allocating a slice failed.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1648 >
2020-12-18 16:19:05 +00:00
Jonas Ådahl
eb14da3874
cogl: Turn CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects
...
A first step towards abandoning the CoglObject type system: convert
CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects.
CoglFramebuffer is turned into an abstract GObject, while the two others
are currently final. The "winsys" and "platform" are still sprinkled
'void *' in the the non-abstract type instances however.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1496
2020-10-16 16:17:38 +00:00
Georges Basile Stavracas Neto
b5749a8b27
Remove CoglMatrix
...
Adios, amiga.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
2020-10-06 15:34:48 +00:00
Georges Basile Stavracas Neto
3e0c961b76
Replace the CoglMatrix type by graphene_matrix_t
...
CoglMatrix already is a typedef to graphene_matrix_t. This commit
simply drops the CoglMatrix type, and align parameters. There is
no functional change here, it's simply a find-and-replace commit.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
2020-10-06 15:34:47 +00:00
Georges Basile Stavracas Neto
1a9f9b0164
cogl: Remove unused header
...
Not included nor used anywhere.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
2020-10-06 15:34:46 +00:00
Björn Daase
5ec9bde64f
*: Fix spelling mistakes found by codespell
...
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1410
2020-08-29 09:10:31 +00:00
Adam Jackson
1f5d6a01f5
cogl: Remove unused driver includes
...
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1194
2020-06-18 13:55:55 -04:00
Adam Jackson
462df7e61a
cogl: Move some GL-specific GLSL details into the driver
...
_cogl_shader_set_source_with_boilerplate and _cogl_shader_compile_real
have enough GL assumptions that it makes sense to push them into the
backend. Taken together their only callers are under driver/gl, so.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1194
2020-06-18 13:55:55 -04:00
Jonas Ådahl
6885c37784
cogl: Mark exported cogl symbols using COGL_EXPORT
...
Just like libmutter-clutter, and libmutter, mark exported symbols with
an COGL_EXPORT macro. This removes the .map and .map.in files previously
used, containing a list of semi private symbols. This symbol was out of
date, i.e. pointed to non-existing symbols, and was also replaced with
COGL_EXPORT macros.
unit_test_* symbols are exported by the help of the unit test defining
macro. test_* symbols are no longer supported as it proved unnecessary.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1059
2020-03-26 09:05:38 +01:00
Corentin Noël
0053ef2e16
cogl-texture: Add some missing array annotations
...
This allows bindings to correctly understand that it is an array
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1130
2020-03-17 13:30:31 +01:00
Adam Jackson
5c704e3f81
cogl: Remove no-op cogl_shader_compile and cogl_shader_get_info_log
...
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1024
2020-02-12 21:55:44 +00:00
Adam Jackson
795491c80a
cogl: Remove unused cogl_program_use and friends
...
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1015
2020-01-31 17:26:25 +00:00
Jonas Ådahl
4ede6ea8c5
cogl: Remove the framebuffer and source stacks
...
They have been deprecated for a long time, and all their uses in clutter
and mutter has been removed. This also removes some no longer needed
legacy state tracking, as they were only ever excercised in certain
circumstances when there was sources (pipelines or materials) on the now
removed source stack.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
2019-12-03 19:02:14 +00:00
Jonas Ådahl
3819291cb7
cogl: Remove API implicitly using framebuffer stack
...
E.g. cogl_frustum(), cogl_push_matrix(), etc.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
2019-12-03 19:02:14 +00:00
Jonas Ådahl
a91138c8f8
cogl/context: Remove unusued window_buffer field
...
It kept track of the last "window" (i.e. CoglOnscreen) was the active
on. It was used by API removed in the past, so also remove the left over
field.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
2019-12-03 19:02:14 +00:00
Jonas Ådahl
98c0fe934b
cogl: Remove CoglVertexBuffer
...
It was deprecated, relied on deprecated API (implicit framebuffers,
mateiarls etc), and was unused. Lets remove it.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
2019-12-03 19:02:14 +00:00
Adam Jackson
22d1febf3c
cogl: Remove unused CoglShaderLanguage
...
There is only GLSL.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/819
2019-11-20 12:15:49 -05:00
Adam Jackson
23e9fd3dfa
cogl: Remove unused COGL_OBJECT_DEFINE_DEPRECATED_REF_COUNTING
...
https://gitlab.gnome.org/GNOME/mutter/merge_requests/933
2019-11-20 11:59:15 -05:00
Adam Jackson
806ebc464a
cogl: Remove cogl_texture_2d_gl_new_from_foreign
...
As noted in <cogl-texture-2d-gl.h> (now also removed), this is for
allowing external GL callers to promote one of their textures to a
CoglTexture. We aren't doing that and don't want to start.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/883
2019-11-07 12:47:23 +00:00
Adam Jackson
9b16b74b5d
cogl: Remove unused stuff from cogl-material-compat.[ch]
...
You could probably move (most of) what's left into a static-inline kind
of header that only gets consumed by the tests.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/922
2019-11-07 12:33:35 +00:00
Adam Jackson
e5b0f474ab
cogl: Remove some unused framebuffer API
...
https://gitlab.gnome.org/GNOME/mutter/merge_requests/913
2019-11-01 16:48:12 -04:00
Adam Jackson
6b8ee80fd0
cogl: Remove unused deprecated material lighting API
...
https://gitlab.gnome.org/GNOME/mutter/merge_requests/904
2019-10-29 15:59:53 -04:00
Adam Jackson
a99f579127
cogl: Remove unused cogl_check_extension and cogl_clutter_check_extension
...
https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
2019-10-24 16:52:51 -04:00
Adam Jackson
acc7b83322
cogl: Remove the stub winsys
...
It's not useful and supporting it leaks into the API in other weird
ways.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
2019-10-24 16:52:49 -04:00