summaryrefslogtreecommitdiff
path: root/gsk/gskroundedrectprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-24 04:58:51 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-24 06:19:16 +0100
commit81c487b8415fed4990b069b03245b2aa11f12ab7 (patch)
tree2ab48d9138ac457a6e1cc6e04c4cf55d568d9c6d /gsk/gskroundedrectprivate.h
parent18b65a23789008a68c53e0430aa2dffadcc259f4 (diff)
downloadgtk+-81c487b8415fed4990b069b03245b2aa11f12ab7.tar.gz
vulkan: Fold clip into push constants
As a side effect, the clipping data is now available inside shaders. Not that any shader would use them yet, but they could!
Diffstat (limited to 'gsk/gskroundedrectprivate.h')
-rw-r--r--gsk/gskroundedrectprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gskroundedrectprivate.h b/gsk/gskroundedrectprivate.h
index d11567ad28..5b40cb45bc 100644
--- a/gsk/gskroundedrectprivate.h
+++ b/gsk/gskroundedrectprivate.h
@@ -11,6 +11,8 @@ gboolean gsk_rounded_rect_is_circular (const GskRounde
void gsk_rounded_rect_path (const GskRoundedRect *self,
cairo_t *cr);
+void gsk_rounded_rect_to_float (const GskRoundedRect *self,
+ float rect[12]);
G_END_DECLS