summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorWilliam McKinnon <[email protected]>2023-05-16 02:26:01 -0400
committerGitHub <[email protected]>2023-05-16 02:26:01 -0400
commit2c4fe20456851b6b8dc14b6bdc0cf9bee527a9ee (patch)
treec9e8a650da8a23c849516a6ac54dd59527681693 /include/sway/config.h
parent479cc4e7456a93aed1a89bef8d83c1f8c43bd291 (diff)
Blur damage tracking simplification (#155)
* suplified conditional in find_con_effect_iterator * removed has_blur * simplified optimized blur check * moved damage expansion to output.c * removed extraneous fx_renderer_scissor * cleaned up render_output * removed unneeded damage scale * moved workspace optimized check function to workspace.c * renamed ws iterator function * added back region expansion * removed uneeded parameter from get_main_buffer_blur * returned extended damage * moved get_blur_size back to original spot (reduce diff size) * Fixed blur artifacting * Fixed damage highlight not clearing correct framebuffer * removed unneeded conditional * moved initial damage expansion to output.c * moved extended damage to the top of output_render * moved blur damage to damage_surface_iterator * ensure damage doesnt expand beyond output size * removed stdint import --------- Co-authored-by: Erik Reider <[email protected]>
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index cabc9cf5..d84eef69 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -761,6 +761,10 @@ void translate_keysyms(struct input_config *input_config);
void binding_add_translated(struct sway_binding *binding, list_t *bindings);
+int config_get_blur_size();
+
+bool config_should_parameters_blur();
+
/* Global config singleton. */
extern struct sway_config *config;