summaryrefslogtreecommitdiff
path: root/gdk/gdktexture.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2021-09-10 02:40:21 +0200
committerBenjamin Otte <otte@redhat.com>2021-09-12 05:54:37 +0200
commit53275481a56c0f92a26e4fffb34db8fd98f6d4a0 (patch)
treed9c165d3c2d623e2eecef8163ab68498d9100b6e /gdk/gdktexture.h
parentcbe6d0da766b22445ff08aafbb3c21066ab3a60e (diff)
downloadgtk+-53275481a56c0f92a26e4fffb34db8fd98f6d4a0.tar.gz
texture: Add gdk_texture_download_float()
Diffstat (limited to 'gdk/gdktexture.h')
-rw-r--r--gdk/gdktexture.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdktexture.h b/gdk/gdktexture.h
index f3d0bc9765..9e3b7a93fa 100644
--- a/gdk/gdktexture.h
+++ b/gdk/gdktexture.h
@@ -59,6 +59,10 @@ GDK_AVAILABLE_IN_ALL
void gdk_texture_download (GdkTexture *texture,
guchar *data,
gsize stride);
+GDK_AVAILABLE_IN_4_6
+void gdk_texture_download_float (GdkTexture *texture,
+ float *data,
+ gsize stride);
GDK_AVAILABLE_IN_ALL
gboolean gdk_texture_save_to_png (GdkTexture *texture,
const char *filename);