From d7c0ecc21b9cbaa157f6723967a6ffb3f8f5ac59 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Wed, 18 May 2022 07:41:59 +0200 Subject: [PATCH] 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: --- cogl/cogl/cogl-pipeline-layer-state.h | 2 +- cogl/cogl/cogl-pipeline-state.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cogl/cogl/cogl-pipeline-layer-state.h b/cogl/cogl/cogl-pipeline-layer-state.h index 13bc46578..bf7b1bf20 100644 --- a/cogl/cogl/cogl-pipeline-layer-state.h +++ b/cogl/cogl/cogl-pipeline-layer-state.h @@ -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 diff --git a/cogl/cogl/cogl-pipeline-state.h b/cogl/cogl/cogl-pipeline-state.h index 438768546..8e079e3f3 100644 --- a/cogl/cogl/cogl-pipeline-state.h +++ b/cogl/cogl/cogl-pipeline-state.h @@ -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 *