mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -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);
|
||||
|
||||
ClutterPaintNode * clutter_actor_create_texture_paint_node (ClutterActor *self,
|
||||
CoglTexture *texture);
|
||||
|
||||
void clutter_actor_finish_layout (ClutterActor *self,
|
||||
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);
|
||||
}
|
||||
|
||||
/*< private >
|
||||
/*
|
||||
* clutter_actor_create_texture_paint_node:
|
||||
* @self: a #ClutterActor
|
||||
* @texture: a #CoglTexture
|
||||
|
@ -308,6 +308,9 @@ CLUTTER_EXPORT
|
||||
void clutter_actor_continue_paint (ClutterActor *self,
|
||||
ClutterPaintContext *paint_context);
|
||||
CLUTTER_EXPORT
|
||||
ClutterPaintNode * clutter_actor_create_texture_paint_node (ClutterActor *self,
|
||||
CoglTexture *texture);
|
||||
CLUTTER_EXPORT
|
||||
void clutter_actor_pick (ClutterActor *actor,
|
||||
ClutterPickContext *pick_context);
|
||||
CLUTTER_EXPORT
|
||||
|
Loading…
Reference in New Issue
Block a user