Commit Graph

  • 5d77499cb1 OpenGL bindings for programs Kovid Goyal 2016-11-03 13:15:30 +05:30
  • 06b42a7e1c More OpenGL bindings Kovid Goyal 2016-11-03 10:30:35 +05:30
  • cded235526 ... Kovid Goyal 2016-11-02 21:27:46 +05:30
  • 3ecf3751ef Start work on OpenGL bindings Kovid Goyal 2016-11-02 21:27:20 +05:30
  • 8636ddf3cd ... Kovid Goyal 2016-11-02 20:51:04 +05:30
  • 724a4113d5 Migrate the datatypes tests Kovid Goyal 2016-11-02 19:36:28 +05:30
  • 4133fc3db7 Implement Line.set_char Kovid Goyal 2016-11-02 19:36:17 +05:30
  • a82b00ffeb Set width of cleared chars to 1 Kovid Goyal 2016-11-02 15:09:28 +05:30
  • e120f796aa Implement line shifting Kovid Goyal 2016-11-02 15:09:07 +05:30
  • 38e8462277 Get rid of more boilerplate Kovid Goyal 2016-11-02 11:47:45 +05:30
  • c0d5719eb4 Reduce the size of the boilerplate Kovid Goyal 2016-11-02 11:26:36 +05:30
  • 437593d4ee Tests for the new datatypes Kovid Goyal 2016-11-02 10:44:35 +05:30
  • 0dc0460c8c Implement Line.copy_char Kovid Goyal 2016-11-02 10:39:22 +05:30
  • b5780904f0 Implement parts of the sequence protocol for Line Kovid Goyal 2016-11-02 10:30:23 +05:30
  • f0f85444ce ... Kovid Goyal 2016-11-02 10:01:18 +05:30
  • c2af0bceeb ... Kovid Goyal 2016-11-02 09:37:28 +05:30
  • 8233efbfc2 Line.apply_cursor Kovid Goyal 2016-11-02 09:29:22 +05:30
  • f8f1b39118 Remove unused code Kovid Goyal 2016-11-02 09:14:36 +05:30
  • 3f87bfd64a Cursor.copy Kovid Goyal 2016-11-01 23:31:47 +05:30
  • 730fa707b0 Implement cursor_from() Kovid Goyal 2016-11-01 22:29:47 +05:30
  • 61eeb37b57 Implement set_text() Kovid Goyal 2016-11-01 21:40:59 +05:30
  • 85076d3012 Implement add combining char Kovid Goyal 2016-11-01 19:04:38 +05:30
  • c069d40ffe repr for Line Kovid Goyal 2016-11-01 18:43:55 +05:30
  • f3944e6289 Implement a Line class Kovid Goyal 2016-11-01 18:18:12 +05:30
  • 1566407c3d ... Kovid Goyal 2016-10-31 23:41:25 +05:30
  • 6f20b880f3 Implement __repr__ for Cursor Kovid Goyal 2016-10-31 23:37:46 +05:30
  • 8dda11bee9 Implement __eq__ for Cursor Kovid Goyal 2016-10-31 23:23:40 +05:30
  • a5368314af ... Kovid Goyal 2016-10-31 22:51:22 +05:30
  • 3d13ad3411 The Cursor object Kovid Goyal 2016-10-31 22:48:36 +05:30
  • 1f55af6691 Start work on C implementation of the core data types Kovid Goyal 2016-10-31 22:09:34 +05:30
  • 43032e96f6 Make the test suite work again Kovid Goyal 2016-10-31 14:51:55 +05:30
  • eccf0ca54e Infrastructure for building C extensions Kovid Goyal 2016-10-31 14:45:49 +05:30
  • ee51e4d7cf ... Kovid Goyal 2016-10-31 12:51:52 +05:30
  • 027a9751c1 Fix TAB not working and add entry for backtab to terminfo Kovid Goyal 2016-10-31 12:03:21 +05:30
  • fd6f96a4f7 ... Kovid Goyal 2016-10-31 11:47:53 +05:30
  • fede13ae6b Fix develop_gl for changes in the sprites class Kovid Goyal 2016-10-31 11:03:05 +05:30
  • 0a6feee71a Micro-optimization Kovid Goyal 2016-10-31 10:56:58 +05:30
  • 4c755c6005 Get rid of asyncio, it is dog slow Kovid Goyal 2016-10-31 10:34:56 +05:30
  • 8d8e103478 Bind the event loop to the thread Kovid Goyal 2016-10-30 22:43:38 +05:30
  • a00e7fbed8 Fix bold fonts not being used Kovid Goyal 2016-10-30 22:13:24 +05:30
  • 93872f8319 Handle cell size changing in the sprites class Kovid Goyal 2016-10-30 22:05:25 +05:30
  • 9fa882b329 ... Kovid Goyal 2016-10-30 21:41:28 +05:30
  • 7d745f8024 Micro-optimization Kovid Goyal 2016-10-30 21:33:57 +05:30
  • 68bae59ae8 Remove unused code Kovid Goyal 2016-10-30 21:12:57 +05:30
  • 2b7d3d0a54 Focus tracking Kovid Goyal 2016-10-30 21:12:01 +05:30
  • 7b83d37cbf Middle-click to paste selection Kovid Goyal 2016-10-30 21:07:18 +05:30
  • c410e2b1d1 ... Kovid Goyal 2016-10-30 17:41:21 +05:30
  • e3116fc24c ... Kovid Goyal 2016-10-30 17:33:27 +05:30
  • 4144d46844 Collect profiling information from the child monitor thread as well Kovid Goyal 2016-10-30 17:29:36 +05:30
  • 2de8c70bb8 Optimize the hot loop Kovid Goyal 2016-10-30 17:19:37 +05:30
  • be9b8e993d Disable OpenGL error checking for performance Kovid Goyal 2016-10-30 17:00:38 +05:30
  • 47a23cafbe Implement cursor shapes Kovid Goyal 2016-10-30 16:43:59 +05:30
  • bce5f24e99 Implement cursor rendering Kovid Goyal 2016-10-30 16:25:54 +05:30
  • de4f93dd95 Fix vertical positioning when rendering characters Kovid Goyal 2016-10-30 15:16:08 +05:30
  • e5293fba16 Implement keyboard input Kovid Goyal 2016-10-30 14:56:53 +05:30
  • 48e7226a2a ... Kovid Goyal 2016-10-30 13:15:41 +05:30
  • ade8faa345 Start work on implementing the char grid Kovid Goyal 2016-10-30 13:06:13 +05:30
  • 42675c2531 ... Kovid Goyal 2016-10-29 21:13:45 +05:30
  • 15771fb90c Simplify event loop code by using the asyncio module Kovid Goyal 2016-10-29 21:08:21 +05:30
  • b921821d0c Implement passing of foreground and background colors to the cell shaders Kovid Goyal 2016-10-29 20:28:37 +05:30
  • 176a548b99 ... Kovid Goyal 2016-10-29 20:23:49 +05:30
  • ed74f8e467 Ensure only a single thread tries to render chars at a time Kovid Goyal 2016-10-28 15:09:39 +05:30
  • fabdebfd89 Check for required extensions Kovid Goyal 2016-10-28 12:32:55 +05:30
  • d00e03ca03 Micro-optimization Kovid Goyal 2016-10-28 12:16:49 +05:30
  • 88a9d8fb8a Use instanced rendering for the sprites as well Kovid Goyal 2016-10-28 12:08:52 +05:30
  • 65e2f6fa09 Start work on using instanced rendering for cells Kovid Goyal 2016-10-28 09:24:13 +05:30
  • 5791700de7 Go back to using glTexStorage as it is commonly present via extension and higher performance Kovid Goyal 2016-10-28 07:33:15 +05:30
  • c9e3d57ed5 A spot of refactoring Kovid Goyal 2016-10-27 23:08:21 +05:30
  • 6eda70331a Char grid now works. Also downgrade GL requirement to 3.3 Kovid Goyal 2016-10-27 22:48:03 +05:30
  • 4495859164 Utility methods to implement orthographic transforms Kovid Goyal 2016-10-27 22:09:20 +05:30
  • 57bfd19c59 Convenience functions for creating matrices Kovid Goyal 2016-10-27 21:00:42 +05:30
  • 9df413d9be Nicer error message if the ARB_copy_image extension is absent Kovid Goyal 2016-10-27 17:14:07 +05:30
  • cc157f1b3e Only store rendered sprite data on the GPU Kovid Goyal 2016-10-27 17:09:56 +05:30
  • e649cbbd59 Do the transform to UV space in the shader so that the texture can be dynamically resized Kovid Goyal 2016-10-27 15:36:08 +05:30
  • 736df601dc Dont use the image_storage functions since they require OpenGL 4.2 Kovid Goyal 2016-10-27 14:58:03 +05:30
  • f692776e29 Use a sprite sheet for char cells Kovid Goyal 2016-10-27 13:58:36 +05:30
  • 321373056c Start work on a class to manage cell textures on the GPU Kovid Goyal 2016-10-26 15:44:27 +05:30
  • 8c76596f5c Specify the needed opengl version centrally Kovid Goyal 2016-10-26 12:24:24 +05:30
  • 7161406ff3 Handle window resizing correctly Kovid Goyal 2016-10-26 10:46:20 +05:30
  • cc1a277eeb Pre-render the basic ASCII chars Kovid Goyal 2016-10-26 10:45:33 +05:30
  • 412c5982e8 Only use scalable/outline fonts Kovid Goyal 2016-10-26 09:45:19 +05:30
  • 2e4d2f9e44 Implement char rendering Kovid Goyal 2016-10-25 19:44:55 +05:30
  • bf125612c9 ... Kovid Goyal 2016-10-25 18:12:29 +05:30
  • 135db0d834 Refactor the shaders module to present a nicer interface Kovid Goyal 2016-10-25 18:08:38 +05:30
  • f7db790061 Code to work on OpenGL Kovid Goyal 2016-10-25 16:22:53 +05:30
  • ca57eb9d05 Use font metrics for wcwidth() Kovid Goyal 2016-10-25 09:31:28 +05:30
  • b4730e747a Implement fallback fonts and rendering of wide characters Kovid Goyal 2016-10-25 09:26:59 +05:30
  • 1f6937973d Implement rendering of characters with FreeType Kovid Goyal 2016-10-24 21:59:34 +05:30
  • 809a833dc5 Code to render character cells Kovid Goyal 2016-10-24 13:50:24 +05:30
  • 697db21c64 Also get font hinting config from font-config Kovid Goyal 2016-10-24 11:43:38 +05:30
  • 67964962ae ... Kovid Goyal 2016-10-24 11:04:00 +05:30
  • 43df44605f Class to manage shaders Kovid Goyal 2016-10-24 11:01:25 +05:30
  • 6480f9f156 Wire up all the new components Kovid Goyal 2016-10-24 10:17:02 +05:30
  • 6a23dbe1ec Start work on rendering fonts using FreeType Kovid Goyal 2016-10-23 23:12:00 +05:30
  • 6f81e12041 Start work on migrating to OpenGL based rendering Kovid Goyal 2016-10-23 21:07:34 +05:30
  • aa2e11430a ... Kovid Goyal 2016-10-23 09:29:16 +05:30
  • a04cc3a97b Limit the number of functions displayed by --profile Kovid Goyal 2016-10-22 11:02:35 +05:30
  • 1244ad0aa1 Micro-optimization Kovid Goyal 2016-10-22 08:57:22 +05:30
  • 410e6dc259 Micro-optimization Kovid Goyal 2016-10-21 18:10:15 +05:30
  • 62d2978d1e Further optimize calculate_dirty_region() by pre-calculating the cell rects Kovid Goyal 2016-10-21 17:59:26 +05:30