aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-01-17 23:15:36 -0500
committerSimon Ser <contact@emersion.fr>2021-04-17 09:54:39 +0200
commit0d90dddfab48a12a7519c11c6062b717ca3b7581 (patch)
treefad73cd0ce24586d5b8a4495910343d59905b010 /include/wlr
parent9de93a866fd4c7a51ffde7c73454dc0c39bf5fb1 (diff)
render: introduce pixman renderer
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/render/pixman.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/wlr/render/pixman.h b/include/wlr/render/pixman.h
new file mode 100644
index 00000000..713e431d
--- /dev/null
+++ b/include/wlr/render/pixman.h
@@ -0,0 +1,17 @@
+/*
+ * This an unstable interface of wlroots. No guarantees are made regarding the
+ * future consistency of this API.
+ */
+#ifndef WLR_USE_UNSTABLE
+#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
+#endif
+
+#ifndef WLR_RENDER_PIXMAN_H
+#define WLR_RENDER_PIXMAN_H
+
+#include <wlr/backend.h>
+#include <wlr/render/wlr_renderer.h>
+
+struct wlr_renderer *wlr_pixman_renderer_create(void);
+
+#endif