mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
examples: add render-pass-ext exmaple
This commit is contained in:
parent
53630a0a60
commit
393f96274a
14 changed files with 705 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