summaryrefslogtreecommitdiff
path: root/sway/desktop/render.c
AgeCommit message (Collapse)Author
2024-10-09fix top border size and placement (#356)HEADmasteramy
2024-08-14text_input: Implement input-method popups (#315)Zephyr Lykos
2024-07-29Fixed blur opacity. Fixes #338 (#339)Erik Reider
2024-04-22fix: gray background rect not being expanded by blur size (#295)Erik Reider
2024-04-18Fix segfaults (#291)Erik Reider
* Add NULL checks for effect_fbos * Fix freeing undefined pixman region
2024-04-17Fixed compilation errors (#290)Erik Reider
2024-04-15feat: 1.9 merge (#277)Reza Jelveh
Co-authored-by: William McKinnon <[email protected]> Co-authored-by: Erik Reider <[email protected]>
2024-02-15Add blur to tiling indicator (#252)Erik Reider
2024-01-05Fixed #258 blur regression (#261)Erik Reider
2024-01-03feat: blur tweaks (#258)ozwaldorf
2023-12-22Implement shadow_offset (#255)famfo
2023-12-17Readds check if the floating child is in a container for xray (#250)Erik Reider
2023-10-23feat: add shadow color for inactive windows (#230)eri
2023-09-20Add layer effect option to ignore transparent regions when blurring (#159)Erik Reider
2023-09-06refactor: simplify blur (#219)William McKinnon
* refactor: removed surface_width + surface_height from render_blur() * Fixed scaling issues * Minor refactors * removed scaled_dst box * removed uneeded fb bind * removed unneeded src_box * removed unneeded wlr_fbox_from_box function * removed src_box * Don't scale the blur translucent region twice * Renamed extended_damage to original_damage to reflect better what it actually is * Removed unneeded clearing of the wlr fbo before rendering onto it * Removed the need for our own main FBO, also fixes some damage bugs * Simplified detection of blur on workspace * cleaned up comments --------- Co-authored-by: Erik Reider <[email protected]>
2023-07-29fix: floating child always using blur xray (#210)Erik Reider
2023-07-18fix: crash when moving to scratchpad tiled window (#202)Yaroslav
2023-07-06Fix toplevel borders (#171)Evy Garden
* added check for smart * expose gaps_to_edge * add smart variable
2023-07-03Fixed blur/surfaces dst_box not being offset by the titlebar height (#185)Erik Reider
2023-06-07fix: crash when splitting inside stacking container (#187)RAR27
2023-06-04fix: consider dim introduced transparency for blur (#184)rti
The blur rendering logic includes the optimization to render blur only for transparent surfaces. This patch considers surfaces as transparent also when the transparency is only introduced by the dim color. We can now have windows, that are opaque by default become transparent with blurred background as soon as they loose focus. Example configuration: ``` blur on blur_passes 3 blur_radius 5 default_dim_inactive 0.15 dim_inactive_colors.unfocused #00000000 ```
2023-06-02fix: crash when splitting inside tabbed container (#180)RAR27
2023-05-30fix: blur not being able to blur edges of damage (#168)Erik Reider
2023-05-19Add blur, shadow, and corner radius to layer-shell surfaces (#144)Erik Reider
Co-authored-by: Will McKinnon <[email protected]>
2023-05-19improved blur optimization checksWilliam McKinnon
2023-05-18Fix damage being extended after clearing the previous frame (#158)Erik Reider
* Fix damage being extended after clearing the previous frame * Ensure that damage expansion only occurs if it's smaller than the monitor
2023-05-17Move stencil into each framebuffer (#156)Erik Reider
* Move stencil into each framebuffer Also fixes the stencil being added to the wrong framebuffer * Initialize texture members on framebuffer init * removed bind arg * renamed init to create, changed existing create to update * moved stencil buffer creation to new function * removed some now misleading comments --------- Co-authored-by: William McKinnon <[email protected]>
2023-05-16Blur damage tracking simplification (#155)William McKinnon
* 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]>
2023-05-15style: simplified render_whole_outputWilliam McKinnon
2023-05-05fix: shadow clipping & shadow corners (#153)William McKinnon
2023-04-30fix: smart_corners with shadow and titlebarsWill McKinnon
2023-04-30fix: blurred region is rounded below titlebarsWill McKinnon
2023-04-27Fix: rotated outputs (#112)Erik Reider
2023-04-24removed width and height parameters from fx_framebuffer_bind()Will McKinnon
2023-04-24store viewport width & height in fx_rendererWill McKinnon
2023-04-21Only offset view by border size if not fullscreen (#145)Erik Reider
2023-04-18fixed shadow corner_radius scalingWilliam McKinnon
2023-04-17fix: redefinition of stateWill McKinnon
2023-04-17Add kawase blur (#120)Erik Reider
Co-authored-by: Erik Reider <[email protected]> Co-authored-by: Will McKinnon <[email protected]>
2023-04-15style: moved border_thickness out of render_shadowWill McKinnon
2023-04-15style: .dim_color spacingWill McKinnon
2023-04-07minor shadow optimizationWill McKinnon
2023-04-06structure: moved fx_renderer and related fuctions to a folderWill McKinnon
2023-04-04style: moved damage creation to functionWill McKinnon
2023-03-18fix: removed duplicate session_lock logicWill McKinnon
2023-03-12feature: hide separator between titlebar and content (#91)head-gardener
2023-02-20feat: tabbed layout now only rounds outer titlebar corners (#90)William McKinnon
2023-02-18fix: shadow alignmentWill McKinnon
2023-02-14Implement for_window support for dim_inactive (#109)famfo
* Implement for_window support for dim_inactive * Update file names, add check if the container is null, add docs * Fix typo * Update meson.build * Update commands.c * Update render.c * Update container.c * Update render.c * Update container.h
2023-02-14upstream update: merge sway 1.8.1 (#111)Erik Reider