[mutter] cogl: Remove cogl_pipeline_set_point_size



commit 06de4e241d7ec22d7aa05fb25fc3d2322708fa08
Author: Fernando Monteiro <fr02monteiro gmail com>
Date:   Mon Oct 18 22:45:49 2021 +0100

    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>

 cogl/cogl/deprecated/cogl-material-compat.c |  7 -------
 cogl/cogl/deprecated/cogl-material-compat.h | 21 ---------------------
 2 files changed, 28 deletions(-)
---
diff --git a/cogl/cogl/deprecated/cogl-material-compat.c b/cogl/cogl/deprecated/cogl-material-compat.c
index 8c94016bb2..e79b2655f4 100644
--- a/cogl/cogl/deprecated/cogl-material-compat.c
+++ b/cogl/cogl/deprecated/cogl-material-compat.c
@@ -82,13 +82,6 @@ cogl_material_set_blend_constant (CoglMaterial *material,
   cogl_pipeline_set_blend_constant (COGL_PIPELINE (material), constant_color);
 }
 
-void
-cogl_material_set_point_size (CoglMaterial *material,
-                              float         point_size)
-{
-  cogl_pipeline_set_point_size (COGL_PIPELINE (material), point_size);
-}
-
 void
 cogl_material_set_user_program (CoglMaterial *material,
                                 CoglHandle program)
diff --git a/cogl/cogl/deprecated/cogl-material-compat.h b/cogl/cogl/deprecated/cogl-material-compat.h
index 6ce3548777..15f9fb081d 100644
--- a/cogl/cogl/deprecated/cogl-material-compat.h
+++ b/cogl/cogl/deprecated/cogl-material-compat.h
@@ -325,27 +325,6 @@ COGL_EXPORT void
 cogl_material_set_blend_constant (CoglMaterial *material,
                                   const CoglColor *constant_color);
 
-/**
- * cogl_material_set_point_size:
- * @material: a material.
- * @point_size: the new point size.
- *
- * Changes the size of points drawn when %COGL_VERTICES_MODE_POINTS is
- * used with the vertex buffer API. Note that typically the GPU will
- * only support a limited minimum and maximum range of point sizes. If
- * the chosen point size is outside that range then the nearest value
- * within that range will be used instead. The size of a point is in
- * screen space so it will be the same regardless of any
- * transformations. The default point size is 1.0.
- *
- * Since: 1.4
- * Deprecated: 1.16: Use cogl_pipeline_set_point_size() instead
- */
-COGL_DEPRECATED_FOR (cogl_pipeline_set_point_size)
-COGL_EXPORT void
-cogl_material_set_point_size (CoglMaterial *material,
-                              float         point_size);
-
 /**
  * cogl_material_set_user_program:
  * @material: a #CoglMaterial object.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]