mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-26 07:00:00 -05:00
output: add initial renderer
This will only render the clearing for now as there is no damage tracking yet.
This commit is contained in:
parent
ab1eac11df
commit
9b1641aa14
7 changed files with 212 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include <wlr/util/region.h>
|
||||
|
||||
#include "output.h"
|
||||
#include "renderer.h"
|
||||
#include "view.h"
|
||||
|
||||
struct send_frame_done_data {
|
||||
|
|
@ -74,7 +75,7 @@ handle_output_damage_frame(struct wl_listener *listener, void *user_data)
|
|||
goto damage_finish;
|
||||
}
|
||||
|
||||
// cage_renderer_render_output(output->wlr_output, &damage);
|
||||
cage_renderer_render_output(output, &damage);
|
||||
|
||||
damage_finish:
|
||||
pixman_region32_fini(&damage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue