diff options
author | Phil Jones <philj56@gmail.com> | 2021-11-15 00:08:23 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-11-15 00:08:23 +0000 |
commit | 108df42e561b7e81ba09a8c278a562129e651bb6 (patch) | |
tree | 496e10b768ea44addfc403fb1634ccc2d7be62b9 /src/tofi.h | |
parent | d65bdf025f9685f3b332aefffe6f8b5c8dbe8827 (diff) |
Switch from subsurface setup to just one surface.
The subsurface was playing havoc with layer shell stuff, and I don't
think any potential efficiency gain is worth the complicated code to
work out how big the subsurface should be. Instead, the entry code now
just draws directly onto the main surface.
Damage information should be passed to glTexSubImage2D() in future, to
avoid redrawing the entire window every keypress.
Diffstat (limited to 'src/tofi.h')
-rw-r--r-- | src/tofi.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -15,7 +15,6 @@ struct tofi { struct wl_display *wl_display; struct wl_registry *wl_registry; struct wl_compositor *wl_compositor; - struct wl_subcompositor *wl_subcompositor; struct wl_seat *wl_seat; struct wl_output *wl_output; struct zwlr_layer_shell_v1 *zwlr_layer_shell; @@ -23,7 +22,6 @@ struct tofi { uint32_t wl_display_name; uint32_t wl_registry_name; uint32_t wl_compositor_name; - uint32_t wl_subcompositor_name; uint32_t wl_seat_name; uint32_t wl_output_name; uint32_t zwlr_layer_shell_name; |