diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-24 04:58:51 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-24 06:19:16 +0100 |
commit | 81c487b8415fed4990b069b03245b2aa11f12ab7 (patch) | |
tree | 2ab48d9138ac457a6e1cc6e04c4cf55d568d9c6d /gsk/gskroundedrectprivate.h | |
parent | 18b65a23789008a68c53e0430aa2dffadcc259f4 (diff) | |
download | gtk+-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.h | 2 |
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 |