mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Remove mentions of clutter_redraw()
This commit is contained in:
parent
146e15297f
commit
be4007ef53
@ -4832,23 +4832,25 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* The default implementation for #ClutterActor chains up to the
|
||||
* parent actor and queues a redraw on the parent, thus "bubbling"
|
||||
* the redraw queue up through the actor graph. The default
|
||||
* implementation for #ClutterStage queues a clutter_redraw() in a
|
||||
* main loop idle handler.
|
||||
* implementation for #ClutterStage queues a clutter_stage_ensure_redraw()
|
||||
* in a main loop idle handler.
|
||||
*
|
||||
* Note that the @origin actor may be the stage, or a container; it
|
||||
* does not have to be a leaf node in the actor graph.
|
||||
*
|
||||
* Toolkits embedding a #ClutterStage which require a redraw and
|
||||
* relayout cycle can stop the emission of this signal using the
|
||||
* GSignal API, redraw the UI and then call clutter_redraw()
|
||||
* GSignal API, redraw the UI and then call clutter_stage_ensure_redraw()
|
||||
* themselves, like:
|
||||
*
|
||||
* |[
|
||||
* static void
|
||||
* on_redraw_complete (void)
|
||||
* on_redraw_complete (gpointer data)
|
||||
* {
|
||||
* ClutterStage *stage = data;
|
||||
*
|
||||
* /* execute the Clutter drawing pipeline */
|
||||
* clutter_redraw ();
|
||||
* clutter_stage_ensure_redraw (stage);
|
||||
* }
|
||||
*
|
||||
* static void
|
||||
@ -4860,7 +4862,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* /* queue a redraw with the host toolkit and call
|
||||
* * a function when the redraw has been completed
|
||||
* */
|
||||
* queue_a_redraw (G_CALLBACK (on_redraw_complete));
|
||||
* queue_a_redraw (G_CALLBACK (on_redraw_complete), stage);
|
||||
* }
|
||||
* ]|
|
||||
*
|
||||
|
@ -3329,7 +3329,7 @@ clutter_threads_add_repaint_func (GSourceFunc func,
|
||||
* Executes the repaint functions added using the
|
||||
* clutter_threads_add_repaint_func() function.
|
||||
*
|
||||
* Must be called before calling clutter_redraw() and
|
||||
* Must be called before calling _clutter_stage_do_paint() and
|
||||
* with the Clutter thread lock held.
|
||||
*/
|
||||
void
|
||||
|
@ -532,8 +532,8 @@ _clutter_master_clock_start_running (ClutterMasterClock *master_clock)
|
||||
* @master_clock: a #ClutterMasterClock
|
||||
*
|
||||
* Advances all the timelines held by the master clock. This function
|
||||
* should be called before calling clutter_redraw() to make sure that
|
||||
* all the timelines are advanced and the scene is updated.
|
||||
* should be called before calling _clutter_stage_do_update() to
|
||||
* make sure that all the timelines are advanced and the scene is updated.
|
||||
*/
|
||||
void
|
||||
_clutter_master_clock_advance (ClutterMasterClock *master_clock)
|
||||
|
Loading…
Reference in New Issue
Block a user