1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-24 07:46:59 +03:00
Commit Graph

1617 Commits

Author SHA1 Message Date
Wez Furlong
88e97ce5f4 allow disabling winit in the x11 build 2019-10-26 09:56:27 -07:00
Wez Furlong
95d3fb7aeb start making it possible not to build winit+glutin 2019-10-26 09:51:29 -07:00
Wez Furlong
ba56a86201 remove direct gl dependency 2019-10-26 09:33:31 -07:00
Wez Furlong
96911c8d28 move timing logging to debug 2019-10-26 08:39:43 -07:00
Wez Furlong
b318c43bfe add Quad helper to simplify opengl renderer 2019-10-26 08:22:35 -07:00
Wez Furlong
bc4373c3ff implement underlines in the new renderer 2019-10-26 07:50:14 -07:00
Wez Furlong
b9add8e3d4 compute better underlines using font metrics 2019-10-25 23:10:08 -07:00
Wez Furlong
f732f07ddc print gl implementation details when initializing 2019-10-25 21:45:27 -07:00
Wez Furlong
3ca3b3196e clean up process death detection on windows w/ new frontend 2019-10-25 08:26:38 -07:00
Wez Furlong
fc918c2f4d don't panic when minimizing the window on Windows
closes: https://github.com/wez/wezterm/issues/45
2019-10-25 07:20:21 -07:00
Wez Furlong
1196f2bbf7 GH actions: fix os for package_posix.yml 2019-10-25 06:33:45 -07:00
Wez Furlong
4392d0abbf GH actions: run packaging concurrently with regular tests 2019-10-25 06:18:34 -07:00
Wez Furlong
59d9d1797a GH actions: add badges to readme 2019-10-25 00:00:09 -07:00
Wez Furlong
28a927f0b4 GH actions: add xz tarball to linux artifact download 2019-10-24 23:55:25 -07:00
lilydjwg
d14be5c482 linux binary: strip and add a tarball 2019-10-24 23:52:41 -07:00
Wez Furlong
37260cf8a4 GH actions: adjust cron schedule 2019-10-24 23:49:32 -07:00
Wez Furlong
d81465a39b remove the force-glutin feature 2019-10-24 23:37:05 -07:00
Wez Furlong
f31cf8e9b2
Add windows GH action (#51) 2019-10-24 23:36:46 -07:00
Wez Furlong
89514eb33b
Add GH actions for posix builds (#50) 2019-10-24 22:46:05 -07:00
Wez Furlong
f2fce18586 window: use wgl for opengl on windows 2019-10-24 19:12:18 -07:00
Wez Furlong
5135c724e6 window: fixup windows build for egl changes 2019-10-24 17:48:49 -07:00
Wez Furlong
7c2afce851 implement EGL based render for termwindow/opengl mode on linux 2019-10-24 17:43:37 -07:00
Wez Furlong
0e95f00a52 window: remove debug print on x11 2019-10-24 16:03:32 -07:00
Wez Furlong
6a96b7ddea window: take a stabe at EGL for linux/windows
This doesn't initialize it at all properly yet, but is groundwork
for completing that work in a later commit
2019-10-24 15:54:41 -07:00
Wez Furlong
f57b5deb80 allow compiling on win and linux 2019-10-24 10:37:40 -07:00
Wez Furlong
c6ce005b2a make new opengl frontend basically work on macos
It doesn't yet handle underlines or strikethrough.
Notably, live resizing now works, which is nice!
2019-10-24 08:27:11 -07:00
Wez Furlong
bfc09299d8 clippy 2019-10-12 08:51:48 -07:00
Wez Furlong
41e392fc79 we can now init opengl but not render it 2019-10-10 08:15:00 -07:00
Wez Furlong
3779a1a0b1 software: adopt underline sprites for underlines 2019-10-08 22:08:40 -07:00
Wez Furlong
6ac927eab7 add helper for computing underline sprites 2019-10-08 08:56:34 -07:00
Wez Furlong
f0d2068e07 tweak OutOfTextureSpace handling 2019-10-08 08:24:43 -07:00
Wez Furlong
9b1c877b53 begin splitting out software and gl render state 2019-10-08 08:10:38 -07:00
Wez Furlong
3ae1693433 factor out RenderMetrics 2019-10-08 07:37:36 -07:00
Wez Furlong
85c3884ea0 make glyphcache potentially generic over texture type 2019-10-07 08:53:40 -07:00
Wez Furlong
999e651b17 window: impl Texture2d for SrgbTexture2d 2019-10-07 08:34:54 -07:00
Wez Furlong
2a19850350 add opengl frontend that sits on top of the window code
This uses the same plumbing as the software frontend, but tries
to enable opengl.

None of the opengl rendering is plumbed through here yet, so this
is currently functionally identical to the software renderer.
2019-10-07 07:51:49 -07:00
Wez Furlong
378e7b326f only use simd if the region is wide enough
Refs: https://github.com/wez/wezterm/issues/40
2019-10-07 07:41:11 -07:00
Wez Furlong
0579a52f77 promise: clippy 2019-10-07 07:22:34 -07:00
Wez Furlong
89a0046f5a window: A basic opengl capability 2019-10-07 07:17:57 -07:00
Wez Furlong
85311373a5 clippy 2019-10-01 22:20:52 -07:00
Wez Furlong
c0411197fa improve daemonize error messages to show more useful context 2019-09-30 22:28:19 -07:00
Wez Furlong
29095f8560 software: remove a little bit of overhead from draw_image 2019-09-30 08:36:23 -07:00
Wez Furlong
b2212c3105 software: improve alpha blending for draw_line 2019-09-30 08:17:47 -07:00
Wez Furlong
b5e07005b7 software: fix aligment check 2019-09-30 07:52:31 -07:00
Wez Furlong
b0efba9300 improve linear f32 -> srgb8 conversion
This uses a combination of lookup tables and simd to reduce the
cpu utilization by about ~15% compared to the prior brute force
implementation.
2019-09-30 00:45:35 -07:00
Wez Furlong
07fcc96f5a window: disable alignment based optimization for fill_pixel 2019-09-29 20:59:20 -07:00
Wez Furlong
1e25003cb6 speed up rgb conversion from u8 -> linear f32 2019-09-29 20:52:47 -07:00
Wez Furlong
c6fd88d8c5 add basic simd support for clearing rectangles 2019-09-29 20:24:26 -07:00
Wez Furlong
569408de66 software: handle OutOfTextureSpace condition 2019-09-29 12:42:51 -07:00
Wez Furlong
91e6bb4a5a rustfmt 2019-09-29 12:29:34 -07:00