ZIm/crates
Antonio Scandurra f14149503d
Fix border rendering (#3884)
After implementing it a while ago, our previous interpolation scheme
didn't really make sense to me and was causing borders to be rendered
incorrectly. We don't really draw backgrounds and borders as part of the
same draw call anymore, but it seemed reasonable to have a correct
implementation in the shader anyway.

This commit uses Porter-Duff compositing (i.e., `over`) to produce a
color that is the result of superimposing the border on top of the
background. Then, we linearly interpolate towards the background color
as we slide out of the border and into the background.

Release Notes:

- Fixed incorrect rendering of borders.
2024-01-04 16:35:09 +01:00
..
activity_indicator Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
ai Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
assistant Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
audio Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
auto_update Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
breadcrumbs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
call Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
channel Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
cli Code to allow opening zed:/channel/1234 2023-10-05 14:57:45 -07:00
client Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
clock
collab collab 0.33.0 2024-01-03 17:20:01 -05:00
collab_ui channels: Move name of the channel to the same line as the hash icon. 2024-01-04 12:11:23 +01:00
collections Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
command_palette Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
copilot Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
copilot_button Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
db Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
diagnostics Add "Checking" icon for diagnostics 2024-01-03 23:07:21 -05:00
editor Show scrollbar even when buffer search highlights are outside viewport 2024-01-04 12:39:15 +01:00
feature_flags Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
feedback Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
file_finder Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fsevent
fuzzy Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
git Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
go_to_line Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
gpui Fix border rendering 2024-01-04 16:27:20 +01:00
gpui_macros Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
install_cli Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
journal Restore timestamp insertion for journal: new journal entry (#3870) 2024-01-03 18:09:55 -05:00
language Remove wasmtime for now 2024-01-03 21:44:58 -05:00
language_selector Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
language_tools Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
live_kit_client Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
live_kit_server Fix notifications for membership changes too 2023-10-19 23:05:06 -06:00
lsp Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
media Start fixing up gpui2 2024-01-02 00:04:51 +01:00
menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
multi_buffer Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications Rename notification_store 2024-01-03 20:02:23 -05:00
outline Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
picker Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
plugin
plugin_macros
plugin_runtime Bump Rust to 1.75 (#3815) 2023-12-28 19:22:43 +01:00
prettier Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
project Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
project_panel Add empty state for project panel (#3863) 2024-01-03 17:00:47 -05:00
project_symbols Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
quick_action_bar Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
recent_projects Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
refineable Another batch of fixups 2024-01-02 00:24:11 +01:00
rich_text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rope Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rpc Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
search Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
semantic_index Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
settings Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
snippet
sqlez sqlez 2024-01-01 23:56:04 +01:00
sqlez_macros
story Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
storybook Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
sum_tree chore: fix clippy lints for rope2, sum_tree, text2 and util 2024-01-01 23:50:14 +01:00
terminal Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
terminal_view Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
theme Update border variant color 2024-01-03 23:13:26 -05:00
theme_importer Update border variant color 2024-01-03 23:13:26 -05:00
theme_selector Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
ui Add "Checking" icon for diagnostics 2024-01-03 23:07:21 -05:00
util Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vcs_menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vim Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
welcome Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
workspace Fix quitting Zed when project was unshared 2024-01-04 15:00:36 +01:00
zed Fix quitting Zed when project was unshared 2024-01-04 15:00:36 +01:00
zed_actions Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00