mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00:00
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>
This commit is contained in:
parent
29c62fabac
commit
ca25c5543a
@ -126,12 +126,3 @@ cogl_material_set_layer_combine_constant (CoglMaterial *material,
|
|||||||
layer_index,
|
layer_index,
|
||||||
constant);
|
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);
|
|
||||||
}
|
|
||||||
|
@ -539,22 +539,6 @@ cogl_material_set_layer_combine_constant (CoglMaterial *material,
|
|||||||
int layer_index,
|
int layer_index,
|
||||||
const CoglColor *constant);
|
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
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __COGL_MATERIAL_H__ */
|
#endif /* __COGL_MATERIAL_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user