[gtk+] gsk: Move gsk_cairo_node_new_for_surface into public API



commit a933c7c4bd01a8a65eaca24f20b0ecd490ea2fd4
Author: Umang Jain <mailumangjain gmail com>
Date:   Fri Oct 6 23:55:59 2017 +0530

    gsk: Move gsk_cairo_node_new_for_surface into public API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788534

 gsk/gskrendernode.h        |    3 +++
 gsk/gskrendernodeprivate.h |    1 -
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index 8c67fd8..8d3b75d 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 e7518e4..c9d7a87 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]