[mutter] cogl: Remove cogl_material_set_layer_matrix
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Remove cogl_material_set_layer_matrix
- Date: Tue, 7 Dec 2021 16:02:29 +0000 (UTC)
commit ca25c5543a1b948e739a7c418a68168303b39d6d
Author: Fernando Monteiro <fr02monteiro gmail com>
Date: Mon Oct 18 22:38:47 2021 +0100
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>
cogl/cogl/deprecated/cogl-material-compat.c | 9 ---------
cogl/cogl/deprecated/cogl-material-compat.h | 16 ----------------
2 files changed, 25 deletions(-)
---
diff --git a/cogl/cogl/deprecated/cogl-material-compat.c b/cogl/cogl/deprecated/cogl-material-compat.c
index 12babd0a8b..abc4067e06 100644
--- a/cogl/cogl/deprecated/cogl-material-compat.c
+++ b/cogl/cogl/deprecated/cogl-material-compat.c
@@ -126,12 +126,3 @@ cogl_material_set_layer_combine_constant (CoglMaterial *material,
layer_index,
constant);
}
-
-void
-cogl_material_set_layer_matrix (CoglMaterial *material,
- int layer_index,
- const graphene_matrix_t *matrix)
-{
- cogl_pipeline_set_layer_matrix (COGL_PIPELINE (material),
- layer_index, matrix);
-}
diff --git a/cogl/cogl/deprecated/cogl-material-compat.h b/cogl/cogl/deprecated/cogl-material-compat.h
index 720e86acd7..99a78e75fb 100644
--- a/cogl/cogl/deprecated/cogl-material-compat.h
+++ b/cogl/cogl/deprecated/cogl-material-compat.h
@@ -539,22 +539,6 @@ cogl_material_set_layer_combine_constant (CoglMaterial *material,
int layer_index,
const CoglColor *constant);
-/**
- * cogl_material_set_layer_matrix:
- * @material: A #CoglMaterial object
- * @layer_index: the index for the layer inside @material
- * @matrix: the transformation matrix for the layer
- *
- * This function lets you set a matrix that can be used to e.g. translate
- * and rotate a single layer of a material used to fill your geometry.
- * Deprecated: 1.16: Use cogl_pipeline_set_layer_matrix() instead
- */
-COGL_DEPRECATED_FOR (cogl_pipeline_set_layer_matrix)
-COGL_EXPORT void
-cogl_material_set_layer_matrix (CoglMaterial *material,
- int layer_index,
- const graphene_matrix_t *matrix);
-
G_END_DECLS
#endif /* __COGL_MATERIAL_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]