10875 Commits

Author SHA1 Message Date
Kovid Goyal
a5368314af ... 2016-10-31 22:51:22 +05:30
Kovid Goyal
3d13ad3411 The Cursor object 2016-10-31 22:48:36 +05:30
Kovid Goyal
1f55af6691 Start work on C implementation of the core data types 2016-10-31 22:09:34 +05:30
Kovid Goyal
43032e96f6 Make the test suite work again 2016-10-31 14:51:55 +05:30
Kovid Goyal
eccf0ca54e Infrastructure for building C extensions 2016-10-31 14:45:49 +05:30
Kovid Goyal
ee51e4d7cf ... 2016-10-31 13:14:36 +05:30
Kovid Goyal
027a9751c1 Fix TAB not working and add entry for backtab to terminfo 2016-10-31 12:03:21 +05:30
Kovid Goyal
fd6f96a4f7 ... 2016-10-31 11:47:53 +05:30
Kovid Goyal
fede13ae6b Fix develop_gl for changes in the sprites class 2016-10-31 11:03:05 +05:30
Kovid Goyal
0a6feee71a Micro-optimization
Also fix pending updates not working
2016-10-31 10:56:58 +05:30
Kovid Goyal
4c755c6005 Get rid of asyncio, it is dog slow 2016-10-31 10:34:56 +05:30
Kovid Goyal
8d8e103478 Bind the event loop to the thread 2016-10-30 22:43:38 +05:30
Kovid Goyal
a00e7fbed8 Fix bold fonts not being used 2016-10-30 22:13:24 +05:30
Kovid Goyal
93872f8319 Handle cell size changing in the sprites class 2016-10-30 22:05:25 +05:30
Kovid Goyal
9fa882b329 ... 2016-10-30 21:41:28 +05:30
Kovid Goyal
7d745f8024 Micro-optimization 2016-10-30 21:33:57 +05:30
Kovid Goyal
68bae59ae8 Remove unused code 2016-10-30 21:12:57 +05:30
Kovid Goyal
2b7d3d0a54 Focus tracking 2016-10-30 21:12:01 +05:30
Kovid Goyal
7b83d37cbf Middle-click to paste selection 2016-10-30 21:07:18 +05:30
Kovid Goyal
c410e2b1d1 ... 2016-10-30 17:41:21 +05:30
Kovid Goyal
e3116fc24c ... 2016-10-30 17:33:27 +05:30
Kovid Goyal
4144d46844 Collect profiling information from the child monitor thread as well 2016-10-30 17:29:36 +05:30
Kovid Goyal
2de8c70bb8 Optimize the hot loop 2016-10-30 17:19:37 +05:30
Kovid Goyal
be9b8e993d Disable OpenGL error checking for performance 2016-10-30 17:00:38 +05:30
Kovid Goyal
47a23cafbe Implement cursor shapes 2016-10-30 16:43:59 +05:30
Kovid Goyal
bce5f24e99 Implement cursor rendering 2016-10-30 16:25:54 +05:30
Kovid Goyal
de4f93dd95 Fix vertical positioning when rendering characters 2016-10-30 15:16:08 +05:30
Kovid Goyal
e5293fba16 Implement keyboard input 2016-10-30 14:56:53 +05:30
Kovid Goyal
48e7226a2a ... 2016-10-30 13:15:41 +05:30
Kovid Goyal
ade8faa345 Start work on implementing the char grid 2016-10-30 13:06:13 +05:30
Kovid Goyal
42675c2531 ... 2016-10-29 21:13:45 +05:30
Kovid Goyal
15771fb90c Simplify event loop code by using the asyncio module 2016-10-29 21:08:21 +05:30
Kovid Goyal
b921821d0c Implement passing of foreground and background colors to the cell shaders 2016-10-29 20:28:37 +05:30
Kovid Goyal
176a548b99 ... 2016-10-29 20:23:49 +05:30
Kovid Goyal
ed74f8e467 Ensure only a single thread tries to render chars at a time 2016-10-28 15:09:39 +05:30
Kovid Goyal
fabdebfd89 Check for required extensions 2016-10-28 12:32:55 +05:30
Kovid Goyal
d00e03ca03 Micro-optimization 2016-10-28 12:16:49 +05:30
Kovid Goyal
88a9d8fb8a Use instanced rendering for the sprites as well 2016-10-28 12:08:52 +05:30
Kovid Goyal
65e2f6fa09 Start work on using instanced rendering for cells 2016-10-28 09:24:13 +05:30
Kovid Goyal
5791700de7 Go back to using glTexStorage as it is commonly present via extension and higher performance 2016-10-28 07:33:15 +05:30
Kovid Goyal
c9e3d57ed5 A spot of refactoring 2016-10-27 23:08:21 +05:30
Kovid Goyal
6eda70331a Char grid now works. Also downgrade GL requirement to 3.3 2016-10-27 22:48:03 +05:30
Kovid Goyal
4495859164 Utility methods to implement orthographic transforms 2016-10-27 22:09:20 +05:30
Kovid Goyal
57bfd19c59 Convenience functions for creating matrices 2016-10-27 21:00:42 +05:30
Kovid Goyal
9df413d9be Nicer error message if the ARB_copy_image extension is absent 2016-10-27 17:14:07 +05:30
Kovid Goyal
cc157f1b3e Only store rendered sprite data on the GPU 2016-10-27 17:09:56 +05:30
Kovid Goyal
e649cbbd59 Do the transform to UV space in the shader so that the texture can be dynamically resized 2016-10-27 15:36:08 +05:30
Kovid Goyal
736df601dc Dont use the image_storage functions since they require OpenGL 4.2 2016-10-27 15:10:42 +05:30
Kovid Goyal
f692776e29 Use a sprite sheet for char cells 2016-10-27 13:58:36 +05:30
Kovid Goyal
321373056c Start work on a class to manage cell textures on the GPU 2016-10-26 15:44:27 +05:30