output: add initial renderer

This will only render the clearing for now as there is no damage
tracking yet.
This commit is contained in:
Jente Hidskes 2020-07-02 23:47:41 +02:00
parent ab1eac11df
commit 9b1641aa14
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
7 changed files with 212 additions and 1 deletions

View file

@ -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);