[cairo] [PATCH v2 2/3] gl: Make _cairo_gl_ensure_framebuffer a private shared routine
Bryce Harrington
bryce at osg.samsung.com
Wed Jun 14 23:37:50 UTC 2017
Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
src/cairo-gl-device.c | 2 +-
src/cairo-gl-private.h | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
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,
--
2.7.4
More information about the cairo
mailing list