From 471249ae4f84f3f34877a1dbf20b94ba0cb0a9f0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 7 Dec 2022 11:33:45 +0100 Subject: render/pass: add legacy render pass implementation Add a render pass implementation which leverages the legacy rendering API. This is helpful during the migration. --- include/render/pass.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/render/pass.h (limited to 'include/render') diff --git a/include/render/pass.h b/include/render/pass.h new file mode 100644 index 00000000..2cbd6db7 --- /dev/null +++ b/include/render/pass.h @@ -0,0 +1,9 @@ +#ifndef RENDER_PASS_H +#define RENDER_PASS_H + +#include + +struct wlr_render_pass *begin_legacy_buffer_render_pass(struct wlr_renderer *renderer, + struct wlr_buffer *buffer); + +#endif -- cgit v1.2.3