cogl: Silence some introspection warnings

Mostly skipping functions of non-introspected types, but also added a
missing callback scope.
This commit is contained in:
Jonas Ådahl 2018-11-08 19:03:21 +01:00 committed by Georges Basile Stavracas Neto
parent c5ac3d6217
commit 996949806a
No known key found for this signature in database
GPG Key ID: 886C17EE170D1385
5 changed files with 14 additions and 14 deletions

View File

@ -602,7 +602,7 @@ cogl_framebuffer_push_rectangle_clip (CoglFramebuffer *framebuffer,
float y_2); float y_2);
/** /**
* cogl_framebuffer_push_primitive_clip: * cogl_framebuffer_push_primitive_clip: (skip)
* @framebuffer: A #CoglFramebuffer pointer * @framebuffer: A #CoglFramebuffer pointer
* @primitive: A #CoglPrimitive describing a flat 2D shape * @primitive: A #CoglPrimitive describing a flat 2D shape
* @bounds_x1: x coordinate for the top-left corner of the primitives * @bounds_x1: x coordinate for the top-left corner of the primitives
@ -1087,7 +1087,7 @@ cogl_framebuffer_resolve_samples_region (CoglFramebuffer *framebuffer,
int height); int height);
/** /**
* cogl_framebuffer_get_context: * cogl_framebuffer_get_context: (skip)
* @framebuffer: A #CoglFramebuffer * @framebuffer: A #CoglFramebuffer
* *
* Can be used to query the #CoglContext a given @framebuffer was * Can be used to query the #CoglContext a given @framebuffer was
@ -1150,7 +1150,7 @@ cogl_framebuffer_clear4f (CoglFramebuffer *framebuffer,
float alpha); float alpha);
/** /**
* cogl_framebuffer_draw_primitive: * cogl_framebuffer_draw_primitive: (skip)
* @framebuffer: A destination #CoglFramebuffer * @framebuffer: A destination #CoglFramebuffer
* @pipeline: A #CoglPipeline state object * @pipeline: A #CoglPipeline state object
* @primitive: A #CoglPrimitive geometry object * @primitive: A #CoglPrimitive geometry object
@ -1221,7 +1221,7 @@ cogl_framebuffer_vdraw_attributes (CoglFramebuffer *framebuffer,
...) COGL_GNUC_NULL_TERMINATED; ...) COGL_GNUC_NULL_TERMINATED;
/** /**
* cogl_framebuffer_draw_attributes: * cogl_framebuffer_draw_attributes: (skip)
* @framebuffer: A destination #CoglFramebuffer * @framebuffer: A destination #CoglFramebuffer
* @pipeline: A #CoglPipeline state object * @pipeline: A #CoglPipeline state object
* @mode: The #CoglVerticesMode defining the topology of vertices * @mode: The #CoglVerticesMode defining the topology of vertices
@ -1269,7 +1269,7 @@ cogl_framebuffer_draw_attributes (CoglFramebuffer *framebuffer,
int n_attributes); int n_attributes);
/** /**
* cogl_framebuffer_vdraw_indexed_attributes: * cogl_framebuffer_vdraw_indexed_attributes: (skip)
* @framebuffer: A destination #CoglFramebuffer * @framebuffer: A destination #CoglFramebuffer
* @pipeline: A #CoglPipeline state object * @pipeline: A #CoglPipeline state object
* @mode: The #CoglVerticesMode defining the topology of vertices * @mode: The #CoglVerticesMode defining the topology of vertices
@ -1335,7 +1335,7 @@ cogl_framebuffer_vdraw_indexed_attributes (CoglFramebuffer *framebuffer,
...) COGL_GNUC_NULL_TERMINATED; ...) COGL_GNUC_NULL_TERMINATED;
/** /**
* cogl_framebuffer_draw_indexed_attributes: * cogl_framebuffer_draw_indexed_attributes: (skip)
* @framebuffer: A destination #CoglFramebuffer * @framebuffer: A destination #CoglFramebuffer
* @pipeline: A #CoglPipeline state object * @pipeline: A #CoglPipeline state object
* @mode: The #CoglVerticesMode defining the topology of vertices * @mode: The #CoglVerticesMode defining the topology of vertices

View File

@ -58,7 +58,7 @@ typedef struct _CoglOnscreen CoglOnscreen;
GType cogl_onscreen_get_gtype (void); GType cogl_onscreen_get_gtype (void);
/** /**
* cogl_onscreen_new: (constructor) * cogl_onscreen_new: (constructor) (skip)
* @context: A #CoglContext * @context: A #CoglContext
* @width: The desired framebuffer width * @width: The desired framebuffer width
* @height: The desired framebuffer height * @height: The desired framebuffer height
@ -84,8 +84,8 @@ typedef void (*CoglOnscreenX11MaskCallback) (CoglOnscreen *onscreen,
* @onscreen: The unallocated framebuffer to associated with an X * @onscreen: The unallocated framebuffer to associated with an X
* window. * window.
* @xid: The XID of an existing X window * @xid: The XID of an existing X window
* @update: A callback that notifies of updates to what Cogl requires * @update: (scope async): A callback that notifies of updates to what Cogl
* to be in the core X protocol event mask. * requires to be in the core X protocol event mask.
* @user_data: user data passed to @update * @user_data: user data passed to @update
* *
* Ideally we would recommend that you let Cogl be responsible for * Ideally we would recommend that you let Cogl be responsible for

View File

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

View File

@ -669,7 +669,7 @@ cogl_pipeline_set_user_program (CoglPipeline *pipeline,
CoglHandle program); CoglHandle program);
/** /**
* cogl_pipeline_set_depth_state: * cogl_pipeline_set_depth_state: (skip)
* @pipeline: A #CoglPipeline object * @pipeline: A #CoglPipeline object
* @state: A #CoglDepthState struct * @state: A #CoglDepthState struct
* @error: A #CoglError to report failures to setup the given @state. * @error: A #CoglError to report failures to setup the given @state.
@ -694,7 +694,7 @@ cogl_pipeline_set_depth_state (CoglPipeline *pipeline,
CoglError **error); CoglError **error);
/** /**
* cogl_pipeline_get_depth_state: * cogl_pipeline_get_depth_state: (skip)
* @pipeline: A #CoglPipeline object * @pipeline: A #CoglPipeline object
* @state_out: (out): A destination #CoglDepthState struct * @state_out: (out): A destination #CoglDepthState struct
* *
@ -955,7 +955,7 @@ cogl_pipeline_set_uniform_matrix (CoglPipeline *pipeline,
const float *value); const float *value);
/** /**
* cogl_pipeline_add_snippet: * cogl_pipeline_add_snippet: (skip)
* @pipeline: A #CoglPipeline * @pipeline: A #CoglPipeline
* @snippet: The #CoglSnippet to add to the vertex processing hook * @snippet: The #CoglSnippet to add to the vertex processing hook
* *

View File

@ -72,7 +72,7 @@ COGL_BEGIN_DECLS
GType cogl_pipeline_get_gtype (void); GType cogl_pipeline_get_gtype (void);
/** /**
* cogl_pipeline_new: * cogl_pipeline_new: (skip)
* @context: a #CoglContext * @context: a #CoglContext
* *
* Allocates and initializes a default simple pipeline that will color * Allocates and initializes a default simple pipeline that will color