diff options
author | Erik Reider <[email protected]> | 2023-12-30 12:45:04 +0100 |
---|---|---|
committer | Erik Reider <[email protected]> | 2024-01-02 11:21:58 +0100 |
commit | b6a990da71b5b0947650a50dcf1a083acfce868c (patch) | |
tree | d3f359f5ef7a22af96b342d62a78753f89d53116 /types/scene/wlr_scene.c | |
parent | 0b52aa9d137b03017313e028accc92dc5d536440 (diff) |
Added fx_texture and fx_framebuffer
Diffstat (limited to 'types/scene/wlr_scene.c')
-rw-r--r-- | types/scene/wlr_scene.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/types/scene/wlr_scene.c b/types/scene/wlr_scene.c index fab40a5..45b1a18 100644 --- a/types/scene/wlr_scene.c +++ b/types/scene/wlr_scene.c @@ -1559,7 +1559,7 @@ struct wlr_scene_output *wlr_scene_output_create(struct wlr_scene *scene, // Init FX Renderer struct wlr_egl *egl = wlr_gles2_renderer_get_egl(output->renderer); - fx_renderer_init_addon(egl, &output->addons, scene); + fx_renderer_init_addon(egl, output, &output->addons, scene); wlr_damage_ring_init(&scene_output->damage_ring); wl_list_init(&scene_output->damage_highlight_regions); @@ -2050,6 +2050,9 @@ static bool scene_entry_try_direct_scanout(struct render_list_entry *entry, // } // } // +// fx_renderer_scissor(NULL); +// fx_renderer_end(renderer); +// // // Draw the software cursors // wlr_renderer_begin(output->renderer, output->width, output->height); // wlr_output_render_software_cursors(output, &damage); |