mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
examples: add render-pass-ext exmaple
This commit is contained in:
parent
fce738d78d
commit
77e2b0ad07
20 changed files with 1082 additions and 0 deletions
16
examples/render-pass-ext/pixman/triangle_pass.h
Normal file
16
examples/render-pass-ext/pixman/triangle_pass.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef PIXMAN_TRIANGLE_PASS_PASS_H
|
||||
#define PIXMAN_TRIANGLE_PASS_PASS_H
|
||||
|
||||
#include "../triangle_pass.h"
|
||||
|
||||
struct pixman_render_triangle_pass {
|
||||
struct render_triangle_pass base;
|
||||
};
|
||||
|
||||
struct render_triangle_pass *pixman_render_triangle_pass_create(
|
||||
struct wlr_renderer *renderer);
|
||||
bool render_triangle_pass_is_pixman(const struct render_triangle_pass *triangle_pass);
|
||||
struct pixman_render_triangle_pass *pixman_render_triangle_pass_from_pass(
|
||||
struct render_triangle_pass *triangle_pass);
|
||||
|
||||
#endif // PIXMAN_TRIANGLE_PASS_PASS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue