mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
clutter: Make clutter_actor_create_texture_paint_node public
Since StDrawingArea in gnome-shell is the only user of ClutterCanvas, it is possible to move ClutterCanvas completely out of Mutter to gnome-shell. This allows to remove another Cairo dependency from Mutter. This patch makes clutter_actor_create_texture_paint_node() function public to be used by StDrawingArea in gnome-shell that replaces ClutterCanvas. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3507>
This commit is contained in:
parent
37c0b27895
commit
f4c6fa949d
@ -249,9 +249,6 @@ void clutter_actor_clear_stage_views_recursive
|
|||||||
|
|
||||||
float clutter_actor_get_real_resource_scale (ClutterActor *actor);
|
float clutter_actor_get_real_resource_scale (ClutterActor *actor);
|
||||||
|
|
||||||
ClutterPaintNode * clutter_actor_create_texture_paint_node (ClutterActor *self,
|
|
||||||
CoglTexture *texture);
|
|
||||||
|
|
||||||
void clutter_actor_finish_layout (ClutterActor *self,
|
void clutter_actor_finish_layout (ClutterActor *self,
|
||||||
int phase);
|
int phase);
|
||||||
|
|
||||||
|
@ -18385,7 +18385,7 @@ clutter_actor_bind_model_with_properties (ClutterActor *self,
|
|||||||
clutter_actor_bind_model (self, model, bind_child_with_properties, clos, bind_closure_free);
|
clutter_actor_bind_model (self, model, bind_child_with_properties, clos, bind_closure_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*< private >
|
/*
|
||||||
* clutter_actor_create_texture_paint_node:
|
* clutter_actor_create_texture_paint_node:
|
||||||
* @self: a #ClutterActor
|
* @self: a #ClutterActor
|
||||||
* @texture: a #CoglTexture
|
* @texture: a #CoglTexture
|
||||||
|
@ -308,6 +308,9 @@ CLUTTER_EXPORT
|
|||||||
void clutter_actor_continue_paint (ClutterActor *self,
|
void clutter_actor_continue_paint (ClutterActor *self,
|
||||||
ClutterPaintContext *paint_context);
|
ClutterPaintContext *paint_context);
|
||||||
CLUTTER_EXPORT
|
CLUTTER_EXPORT
|
||||||
|
ClutterPaintNode * clutter_actor_create_texture_paint_node (ClutterActor *self,
|
||||||
|
CoglTexture *texture);
|
||||||
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_pick (ClutterActor *actor,
|
void clutter_actor_pick (ClutterActor *actor,
|
||||||
ClutterPickContext *pick_context);
|
ClutterPickContext *pick_context);
|
||||||
CLUTTER_EXPORT
|
CLUTTER_EXPORT
|
||||||
|
Loading…
Reference in New Issue
Block a user