diff options
author | Umang Jain <mailumangjain@gmail.com> | 2017-10-06 23:55:59 +0530 |
---|---|---|
committer | Umang Jain <mailumangjain@gmail.com> | 2017-10-08 18:22:34 +0530 |
commit | a933c7c4bd01a8a65eaca24f20b0ecd490ea2fd4 (patch) | |
tree | 0ed3fbd17d8de8718d7a5702c41f7f0ad4b490e4 /gsk | |
parent | 74f8fc80d302694c628a6539aa817ce28902034d (diff) | |
download | gtk+-a933c7c4bd01a8a65eaca24f20b0ecd490ea2fd4.tar.gz |
gsk: Move gsk_cairo_node_new_for_surface into public API
https://bugzilla.gnome.org/show_bug.cgi?id=788534
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gskrendernode.h | 3 | ||||
-rw-r--r-- | gsk/gskrendernodeprivate.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index 8c67fd8aa7..8d3b75de4c 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -110,6 +110,9 @@ GskRenderNode * gsk_outset_shadow_node_new (const GskRounde GDK_AVAILABLE_IN_3_90 GskRenderNode * gsk_cairo_node_new (const graphene_rect_t *bounds); GDK_AVAILABLE_IN_3_90 +GskRenderNode * gsk_cairo_node_new_for_surface (const graphene_rect_t *bounds, + cairo_surface_t *surface); +GDK_AVAILABLE_IN_3_90 cairo_t * gsk_cairo_node_get_draw_context (GskRenderNode *node, GskRenderer *renderer); diff --git a/gsk/gskrendernodeprivate.h b/gsk/gskrendernodeprivate.h index e7518e4ea0..c9d7a87e9b 100644 --- a/gsk/gskrendernodeprivate.h +++ b/gsk/gskrendernodeprivate.h @@ -76,7 +76,6 @@ float gsk_outset_shadow_node_get_dy (GskRenderNode *node); float gsk_outset_shadow_node_get_spread (GskRenderNode *node); float gsk_outset_shadow_node_get_blur_radius (GskRenderNode *node); -GskRenderNode *gsk_cairo_node_new_for_surface (const graphene_rect_t *bounds, cairo_surface_t *surface); cairo_surface_t *gsk_cairo_node_get_surface (GskRenderNode *node); GskTexture *gsk_texture_node_get_texture (GskRenderNode *node); |