summaryrefslogtreecommitdiff
path: root/gdk/gdkglcontextprivate.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2014-11-06 12:13:08 +0100
committerAlexander Larsson <alexl@redhat.com>2014-11-06 12:24:43 +0100
commit21189b9f7e158fe629b0924bf9ca74d66a5a8d76 (patch)
treefa7a963e8e7be75ffad7e9ce54a5bfb889ecf328 /gdk/gdkglcontextprivate.h
parent5f9e6ec2dc2e5ae4442d5cdb64684cd4a51d20d4 (diff)
downloadgtk+-21189b9f7e158fe629b0924bf9ca74d66a5a8d76.tar.gz
Add gdk_gl_context_has_framebuffer_blit()
This checks if the context supports GL_EXT_framebuffer_blit
Diffstat (limited to 'gdk/gdkglcontextprivate.h')
-rw-r--r--gdk/gdkglcontextprivate.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/gdk/gdkglcontextprivate.h b/gdk/gdkglcontextprivate.h
index ec4ab334a0..8a88242696 100644
--- a/gdk/gdkglcontextprivate.h
+++ b/gdk/gdkglcontextprivate.h
@@ -49,13 +49,6 @@ struct _GdkGLContextClass
cairo_region_t *region);
};
-gboolean gdk_gl_context_use_texture_rectangle (GdkGLContext *context);
-void gdk_gl_context_end_frame (GdkGLContext *context,
- cairo_region_t *painted,
- cairo_region_t *damage);
-
-
-
typedef struct {
guint vertex_array_object;
guint tmp_framebuffer;
@@ -72,8 +65,12 @@ typedef struct {
guint texture_quad_rect_program_map_location;
} GdkGLContextPaintData;
-GdkGLContextPaintData *gdk_gl_context_get_paint_data (GdkGLContext *context);
-
+GdkGLContextPaintData *gdk_gl_context_get_paint_data (GdkGLContext *context);
+gboolean gdk_gl_context_use_texture_rectangle (GdkGLContext *context);
+gboolean gdk_gl_context_has_framebuffer_blit (GdkGLContext *context);
+void gdk_gl_context_end_frame (GdkGLContext *context,
+ cairo_region_t *painted,
+ cairo_region_t *damage);
G_END_DECLS