Commit Graph

14025 Commits

Author SHA1 Message Date
Kovid Goyal
8c76596f5c Specify the needed opengl version centrally 2016-10-26 12:24:24 +05:30
Kovid Goyal
7161406ff3 Handle window resizing correctly 2016-10-26 10:46:20 +05:30
Kovid Goyal
cc1a277eeb Pre-render the basic ASCII chars 2016-10-26 10:45:33 +05:30
Kovid Goyal
412c5982e8 Only use scalable/outline fonts 2016-10-26 09:45:19 +05:30
Kovid Goyal
2e4d2f9e44 Implement char rendering 2016-10-25 19:44:55 +05:30
Kovid Goyal
bf125612c9 ... 2016-10-25 18:12:29 +05:30
Kovid Goyal
135db0d834 Refactor the shaders module to present a nicer interface 2016-10-25 18:08:38 +05:30
Kovid Goyal
f7db790061 Code to work on OpenGL 2016-10-25 16:22:53 +05:30
Kovid Goyal
ca57eb9d05 Use font metrics for wcwidth() 2016-10-25 09:31:28 +05:30
Kovid Goyal
b4730e747a Implement fallback fonts and rendering of wide characters 2016-10-25 09:26:59 +05:30
Kovid Goyal
1f6937973d Implement rendering of characters with FreeType
Still need to handle double width and combining characters
2016-10-24 21:59:34 +05:30
Kovid Goyal
809a833dc5 Code to render character cells 2016-10-24 13:50:24 +05:30
Kovid Goyal
697db21c64 Also get font hinting config from font-config 2016-10-24 11:43:38 +05:30
Kovid Goyal
67964962ae ... 2016-10-24 11:04:00 +05:30
Kovid Goyal
43df44605f Class to manage shaders 2016-10-24 11:01:25 +05:30
Kovid Goyal
6480f9f156 Wire up all the new components 2016-10-24 10:17:02 +05:30
Kovid Goyal
6a23dbe1ec Start work on rendering fonts using FreeType 2016-10-23 23:12:00 +05:30
Kovid Goyal
6f81e12041 Start work on migrating to OpenGL based rendering 2016-10-23 21:07:34 +05:30
Kovid Goyal
aa2e11430a ... 2016-10-23 09:29:16 +05:30
Kovid Goyal
a04cc3a97b Limit the number of functions displayed by --profile 2016-10-22 11:02:35 +05:30
Kovid Goyal
1244ad0aa1 Micro-optimization 2016-10-22 08:57:22 +05:30
Kovid Goyal
410e6dc259 Micro-optimization 2016-10-21 18:10:15 +05:30
Kovid Goyal
62d2978d1e Further optimize calculate_dirty_region() by pre-calculating the cell rects 2016-10-21 17:59:26 +05:30
Kovid Goyal
a0664dbbf0 Optimize calculating dirty region when we know the entire screen is dirty 2016-10-21 17:48:19 +05:30
Kovid Goyal
c31421daab Micro-optimization 2016-10-21 17:40:17 +05:30
Kovid Goyal
051ddce63a Add support for bold and italic fonts 2016-10-21 17:38:04 +05:30
Kovid Goyal
2153e56020 Render to an offscreen buffer
That way we can move to threaded rendering if needed for improved
performance
2016-10-21 17:19:33 +05:30
Kovid Goyal
6acddc3e6d ... 2016-10-21 15:48:36 +05:30
Kovid Goyal
90e803c542 Reset should also restore the fg/bg colors to default 2016-10-21 13:26:42 +05:30
Kovid Goyal
f25abac41d Implement changing of default colors 2016-10-21 13:12:06 +05:30
Kovid Goyal
fedfdf00a9 Speed up painting by detecting the most common background color and using it as the overall background color on each paint event 2016-10-21 12:26:03 +05:30
Kovid Goyal
77eb005af1 ... 2016-10-21 11:09:51 +05:30
Kovid Goyal
8c28434d41 Dont dirty the tracker on object creation needlessly 2016-10-21 10:03:44 +05:30
Kovid Goyal
4df05d71d6 Nicer message on assert 2016-10-21 10:02:25 +05:30
Kovid Goyal
d7787b38fc Micro-optimization 2016-10-21 10:01:15 +05:30
Kovid Goyal
0d51392e66 Implement setting of cursor color 2016-10-21 09:23:03 +05:30
Kovid Goyal
864106a974 Re-arrange methods for greater readability 2016-10-21 08:48:02 +05:30
Kovid Goyal
c9167b51fc Nicer syntax for running a non-default program 2016-10-21 08:41:11 +05:30
Kovid Goyal
f86f28a4bd ... 2016-10-21 08:31:23 +05:30
Kovid Goyal
86789c5d84 Removed unused junk from the terminfo file 2016-10-21 08:30:18 +05:30
Kovid Goyal
b8df0e3382 Remove bce from the terminfo file as we do not do background color erase 2016-10-21 08:02:10 +05:30
Kovid Goyal
53f5f34e03 ... 2016-10-21 08:00:34 +05:30
Kovid Goyal
682400c3e7 Implement the alternate screen buffer 2016-10-21 06:58:34 +05:30
Kovid Goyal
369bb39d2a oops 2016-10-21 06:38:07 +05:30
Kovid Goyal
b833451018 ... 2016-10-21 06:27:22 +05:30
Kovid Goyal
a4bef64de6 Implement changing cursor shape 2016-10-21 06:23:05 +05:30
Kovid Goyal
38dfe12d4e Turn off secondary DA response as it causes the terminal to freeze until we implement the proper responses 2016-10-21 05:57:53 +05:30
Kovid Goyal
e50d811da7 Read DCS control sequences
Still have to implement responses to them.
2016-10-21 04:24:20 +05:30
Kovid Goyal
067662de94 Sanitize title and icon names 2016-10-21 03:53:31 +05:30
Kovid Goyal
9e40ec413e Implement middle-click to paste selection and also update window title/icon 2016-10-21 01:52:02 +05:30