mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-22 01:40:49 -05:00
Refactor surface damaging and rendering code
This is based on code from Sway, which is also MIT licensed hence compatible. This makes the surface damaging and rendering code easier to follow and makes it easier to import future changes to Sway as well.
This commit is contained in:
parent
bfd7d605b8
commit
2db815aa23
10 changed files with 408 additions and 243 deletions
8
render.h
Normal file
8
render.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef CG_RENDER_H
|
||||
#define CG_RENDER_H
|
||||
|
||||
#include "output.h"
|
||||
|
||||
void output_render(struct cg_output *output, pixman_region32_t *damage);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue