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
..
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-04 01:13:21 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-04 01:13:21 -05:00
2024-01-03 12:59:39 -08:00
2023-10-05 14:57:45 -07:00
2024-01-04 01:13:21 -05:00
2023-08-31 16:23:06 -07:00
2024-01-03 17:20:01 -05:00
2024-01-04 12:11:23 +01:00
2023-12-12 13:35:22 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 23:07:21 -05:00
2024-01-04 12:39:15 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2023-04-24 17:41:55 -07:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:33:51 -08:00
2024-01-03 12:59:39 -08:00
2024-01-04 16:27:20 +01:00
2024-01-03 13:12:21 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 18:09:55 -05:00
2024-01-03 21:44:58 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2023-10-19 23:05:06 -06:00
2024-01-03 12:59:39 -08:00
2024-01-02 00:04:51 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2023-12-06 14:29:09 -08:00
2024-01-03 20:02:23 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2023-04-24 17:41:55 -07:00
2023-06-02 22:02:19 -04:00
2023-12-28 19:22:43 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 17:00:47 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-02 00:24:11 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 13:12:21 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2023-04-24 17:41:55 -07:00
2024-01-01 23:56:04 +01:00
2023-04-24 17:41:55 -07:00
2024-01-03 12:59:39 -08:00
2024-01-03 13:12:21 -08:00
2024-01-01 23:50:14 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 23:13:26 -05:00
2024-01-03 23:13:26 -05:00
2024-01-04 01:13:21 -05:00
2024-01-03 23:07:21 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-04 15:00:36 +01:00
2024-01-04 15:00:36 +01:00
2024-01-03 12:59:39 -08:00