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>
This commit is contained in:
Fernando Monteiro 2021-10-18 22:45:49 +01:00 committed by Marge Bot
parent a14d3d6e17
commit 06de4e241d
2 changed files with 0 additions and 28 deletions

View File

@ -82,13 +82,6 @@ cogl_material_set_blend_constant (CoglMaterial *material,
cogl_pipeline_set_blend_constant (COGL_PIPELINE (material), constant_color); 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 void
cogl_material_set_user_program (CoglMaterial *material, cogl_material_set_user_program (CoglMaterial *material,
CoglHandle program) CoglHandle program)

View File

@ -325,27 +325,6 @@ COGL_EXPORT void
cogl_material_set_blend_constant (CoglMaterial *material, cogl_material_set_blend_constant (CoglMaterial *material,
const CoglColor *constant_color); 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: * cogl_material_set_user_program:
* @material: a #CoglMaterial object. * @material: a #CoglMaterial object.