Remove unused _cogl_pipeline_get_layer_min/mag_filter

Unused since 9b16b74b5d ("cogl: Remove unused stuff from
cogl-material-compat.[ch]").

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
Michel Dänzer 2023-08-11 18:57:44 +02:00 committed by Marge Bot
parent 0363f68561
commit 8511041c9e
2 changed files with 0 additions and 36 deletions

View File

@ -41,14 +41,6 @@ _cogl_pipeline_set_layer_unit (CoglPipeline *required_owner,
CoglPipelineLayer *layer, CoglPipelineLayer *layer,
int unit_index); int unit_index);
CoglPipelineFilter
_cogl_pipeline_get_layer_min_filter (CoglPipeline *pipeline,
int layer_index);
CoglPipelineFilter
_cogl_pipeline_get_layer_mag_filter (CoglPipeline *pipeline,
int layer_index);
gboolean gboolean
_cogl_pipeline_layer_texture_data_equal (CoglPipelineLayer *authority0, _cogl_pipeline_layer_texture_data_equal (CoglPipelineLayer *authority0,
CoglPipelineLayer *authority1, CoglPipelineLayer *authority1,

View File

@ -1260,34 +1260,6 @@ cogl_pipeline_get_layer_filters (CoglPipeline *pipeline,
return _cogl_pipeline_layer_get_filters (layer, min_filter, mag_filter); return _cogl_pipeline_layer_get_filters (layer, min_filter, mag_filter);
} }
CoglPipelineFilter
_cogl_pipeline_layer_get_min_filter (CoglPipelineLayer *layer)
{
CoglPipelineLayer *authority;
g_return_val_if_fail (_cogl_is_pipeline_layer (layer), 0);
authority =
_cogl_pipeline_layer_get_authority (layer,
COGL_PIPELINE_LAYER_STATE_SAMPLER);
return authority->sampler_cache_entry->min_filter;
}
CoglPipelineFilter
_cogl_pipeline_layer_get_mag_filter (CoglPipelineLayer *layer)
{
CoglPipelineLayer *authority;
g_return_val_if_fail (_cogl_is_pipeline_layer (layer), 0);
authority =
_cogl_pipeline_layer_get_authority (layer,
COGL_PIPELINE_LAYER_STATE_SAMPLER);
return authority->sampler_cache_entry->mag_filter;
}
void void
cogl_pipeline_set_layer_filters (CoglPipeline *pipeline, cogl_pipeline_set_layer_filters (CoglPipeline *pipeline,
int layer_index, int layer_index,