[v2,2/3] gl: Make _cairo_gl_ensure_framebuffer a private shared routine

Submitted by Bryce Harrington on June 14, 2017, 11:37 p.m.

Details

Message ID 1497483471-26428-3-git-send-email-bryce@osg.samsung.com
State New
Headers show
Series "Enable GLES v3 support" ( rev: 1 ) in Cairo

Not browsing as part of any series.

Commit Message

Bryce Harrington June 14, 2017, 11:37 p.m.
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
---
 src/cairo-gl-device.c  | 2 +-
 src/cairo-gl-private.h | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/cairo-gl-device.c b/src/cairo-gl-device.c
index c6aba43..2f56a5f 100644
--- a/src/cairo-gl-device.c
+++ b/src/cairo-gl-device.c
@@ -381,7 +381,7 @@  _cairo_gl_ensure_msaa_gles_framebuffer (cairo_gl_context_t *ctx,
 }
 #endif
 
-static void
+void
 _cairo_gl_ensure_framebuffer (cairo_gl_context_t *ctx,
                               cairo_gl_surface_t *surface)
 {
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h
index b6d236c..b2d8545 100644
--- a/src/cairo-gl-private.h
+++ b/src/cairo-gl-private.h
@@ -801,6 +801,10 @@  _cairo_gl_composite_glyphs_with_clip (void			    *_dst,
 				      cairo_composite_glyphs_info_t *info,
 				      cairo_clip_t		    *clip);
 
+cairo_private void
+_cairo_gl_ensure_framebuffer (cairo_gl_context_t *ctx,
+                              cairo_gl_surface_t *surface);
+
 cairo_private cairo_surface_t *
 _cairo_gl_surface_create_scratch (cairo_gl_context_t   *ctx,
 				  cairo_content_t	content,