diff --git a/clutter/clutter/clutter-mutter.h b/clutter/clutter/clutter-mutter.h index 6ca7904b2..2801d968e 100644 --- a/clutter/clutter/clutter-mutter.h +++ b/clutter/clutter/clutter-mutter.h @@ -55,23 +55,6 @@ void clutter_stage_capture_into (ClutterStage *stage, cairo_rectangle_int_t *rect, uint8_t *data); -CLUTTER_EXPORT -void clutter_stage_paint_to_framebuffer (ClutterStage *stage, - CoglFramebuffer *framebuffer, - const cairo_rectangle_int_t *rect, - float scale, - ClutterPaintFlag paint_flags); - -CLUTTER_EXPORT -gboolean clutter_stage_paint_to_buffer (ClutterStage *stage, - const cairo_rectangle_int_t *rect, - float scale, - uint8_t *data, - int stride, - CoglPixelFormat format, - ClutterPaintFlag paint_flags, - GError **error); - CLUTTER_EXPORT void clutter_stage_clear_stage_views (ClutterStage *stage); diff --git a/clutter/clutter/clutter-stage.h b/clutter/clutter/clutter-stage.h index a7ba0cedd..36d292145 100644 --- a/clutter/clutter/clutter-stage.h +++ b/clutter/clutter/clutter-stage.h @@ -224,6 +224,24 @@ gboolean clutter_stage_capture (ClutterStage *stage, cairo_rectangle_int_t *rect, ClutterCapture **out_captures, int *out_n_captures); + +CLUTTER_EXPORT +void clutter_stage_paint_to_framebuffer (ClutterStage *stage, + CoglFramebuffer *framebuffer, + const cairo_rectangle_int_t *rect, + float scale, + ClutterPaintFlag paint_flags); + +CLUTTER_EXPORT +gboolean clutter_stage_paint_to_buffer (ClutterStage *stage, + const cairo_rectangle_int_t *rect, + float scale, + uint8_t *data, + int stride, + CoglPixelFormat format, + ClutterPaintFlag paint_flags, + GError **error); + CLUTTER_EXPORT ClutterStageView * clutter_stage_get_view_at (ClutterStage *stage, float x,