mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
cogl: Silence some introspection warnings
Mostly skipping functions of non-introspected types, but also added a missing callback scope.
This commit is contained in:
parent
c5ac3d6217
commit
996949806a
@ -602,7 +602,7 @@ cogl_framebuffer_push_rectangle_clip (CoglFramebuffer *framebuffer,
|
||||
float y_2);
|
||||
|
||||
/**
|
||||
* cogl_framebuffer_push_primitive_clip:
|
||||
* cogl_framebuffer_push_primitive_clip: (skip)
|
||||
* @framebuffer: A #CoglFramebuffer pointer
|
||||
* @primitive: A #CoglPrimitive describing a flat 2D shape
|
||||
* @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);
|
||||
|
||||
/**
|
||||
* cogl_framebuffer_get_context:
|
||||
* cogl_framebuffer_get_context: (skip)
|
||||
* @framebuffer: A #CoglFramebuffer
|
||||
*
|
||||
* Can be used to query the #CoglContext a given @framebuffer was
|
||||
@ -1150,7 +1150,7 @@ cogl_framebuffer_clear4f (CoglFramebuffer *framebuffer,
|
||||
float alpha);
|
||||
|
||||
/**
|
||||
* cogl_framebuffer_draw_primitive:
|
||||
* cogl_framebuffer_draw_primitive: (skip)
|
||||
* @framebuffer: A destination #CoglFramebuffer
|
||||
* @pipeline: A #CoglPipeline state object
|
||||
* @primitive: A #CoglPrimitive geometry object
|
||||
@ -1221,7 +1221,7 @@ cogl_framebuffer_vdraw_attributes (CoglFramebuffer *framebuffer,
|
||||
...) COGL_GNUC_NULL_TERMINATED;
|
||||
|
||||
/**
|
||||
* cogl_framebuffer_draw_attributes:
|
||||
* cogl_framebuffer_draw_attributes: (skip)
|
||||
* @framebuffer: A destination #CoglFramebuffer
|
||||
* @pipeline: A #CoglPipeline state object
|
||||
* @mode: The #CoglVerticesMode defining the topology of vertices
|
||||
@ -1269,7 +1269,7 @@ cogl_framebuffer_draw_attributes (CoglFramebuffer *framebuffer,
|
||||
int n_attributes);
|
||||
|
||||
/**
|
||||
* cogl_framebuffer_vdraw_indexed_attributes:
|
||||
* cogl_framebuffer_vdraw_indexed_attributes: (skip)
|
||||
* @framebuffer: A destination #CoglFramebuffer
|
||||
* @pipeline: A #CoglPipeline state object
|
||||
* @mode: The #CoglVerticesMode defining the topology of vertices
|
||||
@ -1335,7 +1335,7 @@ cogl_framebuffer_vdraw_indexed_attributes (CoglFramebuffer *framebuffer,
|
||||
...) COGL_GNUC_NULL_TERMINATED;
|
||||
|
||||
/**
|
||||
* cogl_framebuffer_draw_indexed_attributes:
|
||||
* cogl_framebuffer_draw_indexed_attributes: (skip)
|
||||
* @framebuffer: A destination #CoglFramebuffer
|
||||
* @pipeline: A #CoglPipeline state object
|
||||
* @mode: The #CoglVerticesMode defining the topology of vertices
|
||||
|
@ -58,7 +58,7 @@ typedef struct _CoglOnscreen CoglOnscreen;
|
||||
GType cogl_onscreen_get_gtype (void);
|
||||
|
||||
/**
|
||||
* cogl_onscreen_new: (constructor)
|
||||
* cogl_onscreen_new: (constructor) (skip)
|
||||
* @context: A #CoglContext
|
||||
* @width: The desired framebuffer width
|
||||
* @height: The desired framebuffer height
|
||||
@ -84,8 +84,8 @@ typedef void (*CoglOnscreenX11MaskCallback) (CoglOnscreen *onscreen,
|
||||
* @onscreen: The unallocated framebuffer to associated with an X
|
||||
* window.
|
||||
* @xid: The XID of an existing X window
|
||||
* @update: A callback that notifies of updates to what Cogl requires
|
||||
* to be in the core X protocol event mask.
|
||||
* @update: (scope async): A callback that notifies of updates to what Cogl
|
||||
* requires to be in the core X protocol event mask.
|
||||
* @user_data: user data passed to @update
|
||||
*
|
||||
* Ideally we would recommend that you let Cogl be responsible for
|
||||
|
@ -592,7 +592,7 @@ cogl_pipeline_set_layer_wrap_mode (CoglPipeline *pipeline,
|
||||
CoglPipelineWrapMode mode);
|
||||
|
||||
/**
|
||||
* cogl_pipeline_add_layer_snippet:
|
||||
* cogl_pipeline_add_layer_snippet: (skip)
|
||||
* @pipeline: A #CoglPipeline
|
||||
* @layer: The layer to hook the snippet to
|
||||
* @snippet: A #CoglSnippet
|
||||
|
@ -669,7 +669,7 @@ cogl_pipeline_set_user_program (CoglPipeline *pipeline,
|
||||
CoglHandle program);
|
||||
|
||||
/**
|
||||
* cogl_pipeline_set_depth_state:
|
||||
* cogl_pipeline_set_depth_state: (skip)
|
||||
* @pipeline: A #CoglPipeline object
|
||||
* @state: A #CoglDepthState struct
|
||||
* @error: A #CoglError to report failures to setup the given @state.
|
||||
@ -694,7 +694,7 @@ cogl_pipeline_set_depth_state (CoglPipeline *pipeline,
|
||||
CoglError **error);
|
||||
|
||||
/**
|
||||
* cogl_pipeline_get_depth_state:
|
||||
* cogl_pipeline_get_depth_state: (skip)
|
||||
* @pipeline: A #CoglPipeline object
|
||||
* @state_out: (out): A destination #CoglDepthState struct
|
||||
*
|
||||
@ -955,7 +955,7 @@ cogl_pipeline_set_uniform_matrix (CoglPipeline *pipeline,
|
||||
const float *value);
|
||||
|
||||
/**
|
||||
* cogl_pipeline_add_snippet:
|
||||
* cogl_pipeline_add_snippet: (skip)
|
||||
* @pipeline: A #CoglPipeline
|
||||
* @snippet: The #CoglSnippet to add to the vertex processing hook
|
||||
*
|
||||
|
@ -72,7 +72,7 @@ COGL_BEGIN_DECLS
|
||||
GType cogl_pipeline_get_gtype (void);
|
||||
|
||||
/**
|
||||
* cogl_pipeline_new:
|
||||
* cogl_pipeline_new: (skip)
|
||||
* @context: a #CoglContext
|
||||
*
|
||||
* Allocates and initializes a default simple pipeline that will color
|
||||
|
Loading…
Reference in New Issue
Block a user