summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-11-22 09:47:35 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2014-11-22 10:13:58 -0800
commit37ad6e11477060c74c2818210583b6fa37b1b027 (patch)
treec2312fc677fbb1697abb5d56c388ce8c299b4b00 /gdk/gdkinternals.h
parent7312c01f62b701d01ed29fca33e9a05041bf5b2a (diff)
downloadgtk+-37ad6e11477060c74c2818210583b6fa37b1b027.tar.gz
gdkgl: Texture many quads at once for performance reasons
This isn't fully performant yet. To be fully performant, we'd need to do everything in one giant buffer.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index d945a19a6e..67a58da1fb 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -356,9 +356,10 @@ typedef struct {
float u1, v1, u2, v2;
} GdkTexturedQuad;
-void gdk_gl_texture_quad (GdkGLContext *paint_context,
- guint texture_target,
- GdkTexturedQuad *quad);
+void gdk_gl_texture_quads (GdkGLContext *paint_context,
+ guint texture_target,
+ int n_quads,
+ GdkTexturedQuad *quads);
void gdk_cairo_surface_mark_as_direct (cairo_surface_t *surface,
GdkWindow *window);