Kovid Goyal
e5d411b80d
Refactor font code
...
DRYer with global state stored in fewer places. And only round-tripping
through python for font selection, not face creation.
2017-11-11 18:14:22 +05:30
Kovid Goyal
79d8c04b00
Hook up render_line
2017-11-09 16:55:45 +05:30
Kovid Goyal
6c838bbc28
Implement dirty line tracking
2017-11-09 16:55:45 +05:30
Kovid Goyal
f25d2ea540
Rip out the old sprite update code
2017-11-09 16:45:45 +05:30
Kovid Goyal
646e8dab0a
Fix regression in handling zero cells caused by refactoring
2017-11-09 16:45:44 +05:30
Kovid Goyal
3643a78b18
Start work on line based rendering
2017-11-09 16:45:44 +05:30
Kovid Goyal
3ca45ab241
Fix cursor moving one line up when resizing
2017-09-20 10:59:31 +05:30
Kovid Goyal
a92b3c605f
Move the text attributes out of the char type
...
This means that more text attributes can be added in the future (there
are 8 bits available) and there is no need to keep bit twiddling when
accessing the chars themselves. Also means less data needs to be sent to
the GPU. Cell size does not change since there were currently 2 unused
bytes because of alignment.
2017-09-16 11:02:42 +05:30
Kovid Goyal
28430a4104
Fix wide chars not being rendered
2017-09-15 11:43:05 +05:30
Kovid Goyal
464291bbb1
Port click on URL code to C
2017-09-15 10:45:27 +05:30
Kovid Goyal
88d896e745
Move function to detect URLs into C code
2017-09-15 10:45:25 +05:30
Kovid Goyal
63882e1fdc
Make selection smarter
...
It now does not add trailing blank cells on selected lines to the
selection.
2017-09-15 10:45:19 +05:30
Kovid Goyal
5103381c27
DRYer
2017-09-15 10:45:19 +05:30
Kovid Goyal
746a20a11d
Cleanup data-types.h
2017-09-15 10:45:17 +05:30
Kovid Goyal
f655112bda
Directly copy the sprite positions into the GPU buffer
2017-09-15 10:45:15 +05:30
Kovid Goyal
c4680aae2c
Track sprite positions in the Cell structure
2017-09-15 10:45:15 +05:30
Kovid Goyal
564010c7cd
Migrate history.c
2017-09-15 10:45:08 +05:30
Kovid Goyal
0cbd3a2820
Start work on using a struct for the cell
...
Should eventually allow the screen buf to be sent directly to the GPU
without a serialization step.
Migrates line-buf.c
2017-09-15 10:45:07 +05:30