Commit Graph

591 Commits (9402d7e927b78f5e3882ea7c75341730db5cf221)
 

Author SHA1 Message Date
nick black ce9eeecc3b
render: eliminate grotesque stupidity
We were doing an entire copy of the framebuffer every fucking
render for no good reason whatsoever. Found this while working
on #83, but let's get it in master immediately. JFC. I suck.

Before (delay factor of 0.5):

[schwarzgerat](0) $ time ./notcurses-demo -d.5
Term: xterm with direct-color indexing
1737 renders, 24.8s total (0.00131s min, 0.362s max, 0.014s avg 70.1 fps)
230217.182KB total (12.696KB min, 223.310KB max, 132.54KB avg)
Emits/elides: def 1074878/126257 fg 6615070/3023957 bg 5519815/3130192
 Elide rates: 10.51% 31.37% 36.19%

real	0m47.653s
user	0m8.977s
sys	0m1.414s
[schwarzgerat](0) $

After (same delay factor of 0.5)

[schwarzgerat](0) $ time ./notcurses-demo -d.5
Term: xterm with direct-color indexing
1741 renders, 23.2s total (0.00125s min, 0.351s max, 0.013s avg 75.0 fps)
231551.089KB total (12.696KB min, 223.310KB max, 133.00KB avg)
Emits/elides: def 1065445/126257 fg 6655295/3006679 bg 5566155/3115184
 Elide rates: 10.59% 31.12% 35.88%

real	0m46.140s
user	0m8.932s
sys	0m1.350s
[schwarzgerat](0) $

Now *there's* the loss we saw during #139 work, thinking we'd get it
back in #143. Good. Huzzah! But also fuck!
5 years ago
nick black 8bd4607e9b
Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black f374682134
panelreel: add tablet curry accessors 5 years ago
nick black 4ea62e3c67
input: handle function keys through f30 5 years ago
nick black 364db519bb
stop shifting style bits stupidly 5 years ago
nick black bfda5a53d6
add CELL_SIMPLE_INITIALIZER to docs 5 years ago
nick black 5deb896696
panelreel-demo: two tablets to start with 5 years ago
nick black 4118500897
we lost mssr valéry 5 years ago
nick black 2dd2d84401
copy over panelreel documentation 5 years ago
nick black 26c575a262
spelling 5 years ago
nick black 3b2f72538e
decode more special keys in notcurses-input #134 5 years ago
nick black 91f74901c2
verify cell_load() of ascii results in simple #140 5 years ago
nick black c9b6f84dec
fix up default elision in alpha channels #143 5 years ago
Nick Black 8bd8055f72
Distinct fg/bg alpha channels #139 (#141)
* improved alpha macros
* demo: use new alpha macros
* add ncplane_set_*_alpha()
* explicitly set fg for uniblock
* outro: background is a space #139
* distinct alpha channels for fg/bg #139
* rename 'background' cell to 'default' #142
* doc palette fades
5 years ago
nick black 582017a16a
more docing 5 years ago
nick black 4ad1321dce
remove double-define from README 5 years ago
nick black 89b6af2166
docs docs docs, all day long 5 years ago
nick black 46544bec0c
merge paras 5 years ago
Nick Black ff463d464e
Channels API sanity #119 (#138)
* orthogonalize channel/channels/cells APIs #119
* sync README.md with new ncplane channels api #119
5 years ago
nick black e3dd36a1a4
link to release in history 5 years ago
nick black 3b987b4993
ncplane_box(): update documentation 5 years ago
nick black 12018f3096
document nl_langinfo() check 5 years ago
nick black 54eb41cf3a
panelreel-demo: done after demodelay * 5 #135 5 years ago
nick black 88163325fa
widecolor: proceed without keypress #135 5 years ago
nick black d500bf166e
block_on_input(): allow a NULL sigmask 5 years ago
nick black f407d7b114
ncplane_box: control corner drawing, stop emitting extra vlines #133 5 years ago
nick black a1c90a347a
add ncplane_box() corner masking 5 years ago
nick black 7e24066816
note about bottommost, rightmost coordinate 5 years ago
nick black 71a2660b57
fatal_handler: grab ABRT as well 5 years ago
nick black e6d35978d4
add notcurses_refresh() declaration 5 years ago
nick black 18a33a0328
handle still more key sequences #134 5 years ago
nick black c5acae4ef5
fbbytes stat 5 years ago
nick black 0e3b2d7516
print framebuffer size using metric info units 5 years ago
nick black e1fb283018
input: handle more sequences #134 5 years ago
nick black 6e49bbce45
panelreel: don't treat putc() return as bool #132 5 years ago
nick black a9c21526a7
add history 5 years ago
nick black 340ddf9f76
use cell terminology throughout 5 years ago
nick black b00099f1c6
README: remove API macro from documentation 5 years ago
nick black cc6179ccab
spelling 5 years ago
nick black 0001fa955d
on a wide enough screen, this test breaks 5 years ago
nick black 489ca06fe6
Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black c2c017831f
add ncplane_get_channels() 5 years ago
nick black 7c72b0ce83
emoji unit test 5 years ago
nick black e16db46b9c
set tty:true in docker config 5 years ago
nick black 23f8a070b3
unit tests: don't try to close a NULL outfp_ 5 years ago
nick black ca2f0471c3
setlocale(LC_ALL, "") everywhere 5 years ago
nick black e71fa57e54
add 'rgb' PoC, fix setlocale() mention 5 years ago
nick black a55d877281
add FIXME regarding sgr and ncv 5 years ago
nick black 1821867e35
move outfp out of notcurses_options #130 5 years ago
nick black 21c4a9a2eb
demos: use ncalign_center throughout 5 years ago