mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-20 06:46:26 -04:00
render: Swap shm out for vulkan
We do not try to be smart here and create any sort of abstraction or fallback, and instead simply replace hardcoded shm calls for hardcoded vulkan calls.
This commit is contained in:
parent
e3df9f6e1e
commit
8ffa31fee5
5 changed files with 82 additions and 80 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
/* Forward declarations */
|
||||
struct terminal;
|
||||
struct buffer;
|
||||
struct vk_buffer;
|
||||
|
||||
/* Mime-types we support when dealing with data offers (e.g. copy-paste, or DnD) */
|
||||
enum data_offer_mime_type {
|
||||
|
|
@ -479,7 +479,7 @@ void wayl_roundtrip(struct wayland *wayl);
|
|||
bool wayl_fractional_scaling(const struct wayland *wayl);
|
||||
void wayl_surface_scale(
|
||||
const struct wl_window *win, const struct wayl_surface *surf,
|
||||
const struct buffer *buf, float scale);
|
||||
const struct vk_buffer *buf, float scale);
|
||||
void wayl_surface_scale_explicit_width_height(
|
||||
const struct wl_window *win, const struct wayl_surface *surf,
|
||||
int width, int height, float scale);
|
||||
|
|
@ -487,7 +487,7 @@ void wayl_surface_scale_explicit_width_height(
|
|||
struct wl_window *wayl_win_init(struct terminal *term, const char *token);
|
||||
void wayl_win_destroy(struct wl_window *win);
|
||||
|
||||
void wayl_win_scale(struct wl_window *win, const struct buffer *buf);
|
||||
void wayl_win_scale(struct wl_window *win, const struct vk_buffer *buf);
|
||||
void wayl_win_alpha_changed(struct wl_window *win);
|
||||
bool wayl_win_set_urgent(struct wl_window *win);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue