diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-29 10:07:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-29 10:07:53 +0000 |
| commit | 2c7ee09dad6de4fe8a226eb4ec8fda26f783c240 (patch) | |
| tree | 159098e2db1a376b23a5ea729f9cf926d574714d /quirks.h | |
| parent | ci: initial sr.ht build manifest (diff) | |
| parent | changelog: mention renderer performance improvements with scrolling (diff) | |
Merge branch 'scroll-damage-performance'
Diffstat (limited to 'quirks.h')
| -rw-r--r-- | quirks.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -4,9 +4,28 @@ #include "terminal.h" +/* + * On weston (8.0), synchronized subsurfaces aren't updated correctly. + + * They appear to render once, but after that, updates are + * sporadic. Sometimes they update, most of the time they don't. + * + * Adding explicit parent surface commits right after the subsurface + * commit doesn't help (and would be useless anyway, since it would + * defeat the purpose of having the subsurface synchronized in the + * first place). + */ void quirk_weston_subsurface_desync_on(struct wl_subsurface *sub); void quirk_weston_subsurface_desync_off(struct wl_subsurface *sub); /* Shortcuts to call desync_{on,off} on all CSD subsurfaces */ void quirk_weston_csd_on(struct terminal *term); void quirk_weston_csd_off(struct terminal *term); + +/* + * KDE discards all previous damage when a buffer is attached to a + * surface. Thus, if you have recorded damage before you call + * wl_surface_attach(), call this function to record a full buffer + * damage. + */ +void quirk_kde_damage_before_attach(struct wl_surface *surface); |
