cogl/pipeline: Make Snippet API introspectable

These methods are required to add snippets to a pipeline.
This change makes it possible to use them from GJS.

Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2280
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2422>
This commit is contained in:
Simon Schneegans 2022-05-18 07:41:59 +02:00 committed by Marge Bot
parent b9a5f9a373
commit d7c0ecc21b
2 changed files with 2 additions and 2 deletions

View File

@ -548,7 +548,7 @@ cogl_pipeline_set_layer_wrap_mode (CoglPipeline *pipeline,
CoglPipelineWrapMode mode);
/**
* cogl_pipeline_add_layer_snippet: (skip)
* cogl_pipeline_add_layer_snippet:
* @pipeline: A #CoglPipeline
* @layer: The layer to hook the snippet to
* @snippet: A #CoglSnippet

View File

@ -731,7 +731,7 @@ cogl_pipeline_set_uniform_matrix (CoglPipeline *pipeline,
const float *value);
/**
* cogl_pipeline_add_snippet: (skip)
* cogl_pipeline_add_snippet:
* @pipeline: A #CoglPipeline
* @snippet: The #CoglSnippet to add to the vertex processing hook
*