summaryrefslogtreecommitdiff
path: root/gsk/gskenums.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-10 21:42:01 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:09 +0100
commitac5e277a71003ef01e049b1b2d6aea1c447146f3 (patch)
treea18c12f768280b5b2463a23abad5d7647b7a3783 /gsk/gskenums.h
parentf258af9ccea01fd1ca4053ce5ce4c29abc2564e9 (diff)
downloadgtk+-ac5e277a71003ef01e049b1b2d6aea1c447146f3.tar.gz
gsk: Add GskRenderNodeType
For now, this is unused.
Diffstat (limited to 'gsk/gskenums.h')
-rw-r--r--gsk/gskenums.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gsk/gskenums.h b/gsk/gskenums.h
index 28d4dcafe7..9040c69cbf 100644
--- a/gsk/gskenums.h
+++ b/gsk/gskenums.h
@@ -23,6 +23,24 @@
#endif
/**
+ * GskRenderNodeType:
+ * @GSK_NOT_A_RENDER_NODE: Error type. No node will ever have this type.
+ * @GSK_CONTAINER_NODE: A node containing a stack of children
+ * @GSK_CAIRO_NODE: A node drawing a #cairo_surface_t
+ * @GSK_TEXTURE_NODE: A node drawing a #GskTexture
+ *
+ * The type of a node determines what the node is rendering.
+ *
+ * Since: 3.90
+ **/
+typedef enum {
+ GSK_NOT_A_RENDER_NODE = 0,
+ GSK_CONTAINER_NODE,
+ GSK_CAIRO_NODE,
+ GSK_TEXTURE_NODE
+} GskRenderNodeType;
+
+/**
* GskScalingFilter:
* @GSK_SCALING_FILTER_LINEAR: linear interpolation filter
* @GSK_SCALING_FILTER_NEAREST: nearest neighbor interpolation filter