From d5afb9e8050a268a6680e066c2fa87db37d82509 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 4 Dec 2017 11:04:02 -0800 Subject: [PATCH] Add a long description for GdkTexture --- gdk/gdktexture.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c index a7250d1163..6921297646 100644 --- a/gdk/gdktexture.c +++ b/gdk/gdktexture.c @@ -39,6 +39,22 @@ #include "gdkinternals.h" #include "gdkcairo.h" +/** + * SECTION:gdktexture + * @Short_description: Image data for display + * @Title: GdkTexture + * + * A GdkTexture represents image data that can be displayed on screen. + * + * There are various ways to create GdkTexture objects from a #GdkPixbuf + * or a cairo surface, or other pixel data. + * + * An important aspect of GdkTextures is that they are immutable - once + * the image data has been wrapped in a GdkTexture, it may be uploaded + * to the GPU or used in other ways that make it impractical to allow + * modification. + */ + /** * GdkTexture: *