mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
Use wlr_output_configure_primary_swapchain()
This commit is contained in:
parent
9498e4d261
commit
7c9e11e892
3 changed files with 21 additions and 5 deletions
|
|
@ -28,6 +28,7 @@ struct sway_output {
|
|||
|
||||
struct timespec last_frame;
|
||||
struct wlr_damage_ring damage_ring;
|
||||
struct wlr_swapchain *swapchain;
|
||||
|
||||
int lx, ly; // layout coords
|
||||
int width, height; // transformed buffer size
|
||||
|
|
@ -112,7 +113,8 @@ bool output_has_opaque_overlay_layer_surface(struct sway_output *output);
|
|||
|
||||
struct sway_workspace *output_get_active_workspace(struct sway_output *output);
|
||||
|
||||
void output_render(struct sway_output *output, pixman_region32_t *damage);
|
||||
void output_render(struct sway_output *output, struct wlr_buffer *buffer,
|
||||
pixman_region32_t *damage);
|
||||
|
||||
void output_surface_for_each_surface(struct sway_output *output,
|
||||
struct wlr_surface *surface, double ox, double oy,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue