mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/pass: add legacy render pass implementation
Add a render pass implementation which leverages the legacy rendering API. This is helpful during the migration.
This commit is contained in:
parent
4a1ad32534
commit
471249ae4f
3 changed files with 143 additions and 1 deletions
9
include/render/pass.h
Normal file
9
include/render/pass.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef RENDER_PASS_H
|
||||
#define RENDER_PASS_H
|
||||
|
||||
#include <wlr/render/interface.h>
|
||||
|
||||
struct wlr_render_pass *begin_legacy_buffer_render_pass(struct wlr_renderer *renderer,
|
||||
struct wlr_buffer *buffer);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue