Commit Graph

4940 Commits

Author SHA1 Message Date
nick black
16c47430d6
[view] add a sweet little picture-in-a-picture when pixel blitting is available 2021-04-20 05:55:55 -04:00
Nick Black
05662e54c2
Deepclean sixel on move (#1567)
Normally, we don't bother to edit Sixels in-place upon annihilation, since you can just print the character over them and be done with it. If we move one, however, we need to cut the annihilated pixels out of the Sixel. Failure to do so was leading to flicker around the base of the orca's Segway in the intro demo. This was a bit of a struggle, but it seems to work beautifully (though a bit slower than I would care for -- we'll do something about that). Closes #1555.
2021-04-20 05:23:56 -04:00
nick black
c05b0683ec [sixel] don't emit $ prior to - #1565 2021-04-20 03:32:28 -04:00
nick black
60f5e8a210
stats: don't post failed_renders from update_render_bytes 2021-04-20 01:34:32 -04:00
nick black
3203139ac7
[kitty] damage moved/annihilated cells on delete 2021-04-19 23:34:08 -04:00
nick black
31dfa86725
clamp Sixel at a multiple of 6 #1560 2021-04-19 21:47:38 -04:00
nick black
debd9e3578
reinitialize cells to OPAQUE when reloading sprixels 2021-04-19 17:39:48 -04:00
nick black
df8ff1f947
update index page 2.2.6 -> 2.2.8 2021-04-19 16:09:34 -04:00
nick black
b3c91ca4dd
sprixel_state: deal with margins #1561 2021-04-18 16:10:51 -04:00
joseLuís
bc123fbba8 undo prev. ncvisual_resize related changes #1559 2021-04-18 22:03:17 +02:00
nick black
0a4b46a804
account for margins in sixel_state() #1561 2021-04-18 15:48:36 -04:00
nick black
c008d50b03
sixel_debug() for #1561 2021-04-18 15:48:36 -04:00
joseLuís
0ec15fa920 update doc for ncvisual_resize; fix #1559 2021-04-18 21:38:25 +02:00
nick black
d5b58d9f58
v2.2.8 2021-04-18 13:24:24 -04:00
nick black
c0af379683
restore deprecated cell_extended_gcluster to ABI 2021-04-18 13:21:32 -04:00
nick black
eefc4fb91f
v2.2.7 2021-04-18 12:34:41 -04:00
nick black
c3c5b397a3
run ncvisual_resize() in bitmap tests #1559 2021-04-18 12:12:27 -04:00
joseLuís
6ab072c953 [rust] update example pixel-cell & remove poc-planebase 2021-04-18 17:14:28 +02:00
nick black
2f59fc7282
turn on sextants and quadrants for foot terminal emulator 2021-04-18 10:57:31 -04:00
nick black
67bac13f67
kill off-by-one in pixel scaling #1558 2021-04-18 10:37:28 -04:00
nick black
6a509328fa
sprite_wipe_cell -> sprite_wipe 2021-04-18 10:37:28 -04:00
nick black
f19c6c88ff
add BitmapStretch unit test #1558 2021-04-18 10:37:28 -04:00
nick black
0ff59e5a95
visual: take placey into account for row calculation 2021-04-18 10:37:27 -04:00
joseLuís
1e69b48bbd [rust] add example issue-1559 #1559 2021-04-18 15:46:53 +02:00
nick black
17bde9ffa4
[kitty] clean all non-opaque on delete #1527 2021-04-18 08:10:12 -04:00
joseLuís
c7f1c32f7f [rust] update pixel-cell example; #1546 2021-04-18 13:56:49 +02:00
nick black
74744abc89
[sixel] don't damage on delete just because new sprixel is mixed #1553 2021-04-18 07:12:12 -04:00
nick black
7d61457b37
ncvisual_inflate: call ncvisual_seed_details() #1546 2021-04-18 06:52:21 -04:00
joseLuís
8209bc6841 [rust] use deprecated blacklist_function; #1339 2021-04-18 12:08:14 +02:00
joseLuís
08a3edb71f [rust] update pixel-cell example; #1546 2021-04-18 11:33:58 +02:00
joseLuís
88c89f2d30 [rust] add ncvisual_inflate; update function-summary; fixes
- add ncvisual_inflate function
- update function-summary script & related data
- update cell inner comments.
- fix several doc inner links.
2021-04-18 11:15:33 +02:00
nick black
3bdd5ce142
scrub TAM boundaries in sixel+kitty #1553 2021-04-18 04:45:34 -04:00
nick black
74862a32b8
kitty: partial sprixcells cannot be opaque #1553 2021-04-18 04:12:19 -04:00
nick black
8a4bd09d9b
demo: stop input on error path before notcurses_stop() 2021-04-18 04:07:56 -04:00
nick black
dd327a381f
[intro] leave greatscott up while fading main 2021-04-18 03:37:13 -04:00
nick black
1f0edcb60f
demo: always move hud/fps off-pile to hide #1552 2021-04-18 03:11:41 -04:00
nick black
317cbb3fdb
sixel_draw: break out of loop faster #1527 2021-04-18 02:57:08 -04:00
nick black
c875eb4544
clamp Sixel to max supported size #1550 2021-04-18 02:48:20 -04:00
nick black
266ed71c0b
ncdirect_stream: fix c++ wrapper's error guard 2021-04-18 01:28:11 -04:00
nick black
1722714ee6 tighten up visual unit tests 2021-04-18 01:12:28 -04:00
nick black
2b5b62c110 ncvisual_blitset_geom: tighten tests on len and vertical alignment 2021-04-18 01:12:28 -04:00
nick black
2ebe209c7f implement ncvisual_inflate(), add unit test #1546 2021-04-18 01:12:28 -04:00
nick black
6b7195a387 document new function ncvisual_inflate() #1546 2021-04-18 01:12:28 -04:00
nick black
2d73ba79e4
Detach sprixel from ncvisual
The ncvisual can't own the sprixel -- we could very well
blit it twice to two different planes, wipe cells from one
and not the other, and not want those shared. Instead, it's
owned by the plane. This clears up the ownership/lifetime
story quite a bit, and closes #1548, where only the most
recent of several blittings of a sprixel was visible.
2021-04-17 23:49:01 -04:00
Nick Black
8c6cd6a630
Further work on opacity optimizations (#1549)
* [bitmap] on move, clear old OPAQUE cells #1527
* update ncvisual_blitter_geom() documentation #1547
* replace some ncvisual_blitter_geom with NCVISUAL_OPTION_VERALIGNED
* [normal] replace ncvisual_blitter_geom with NCVISUAL_OPTION_VERALIGNED
* [intro] use ncvisual_blitter_geom() correctly #1547
* ncvisual_blitter_geom: only set *blitter on success
2021-04-17 23:11:11 -04:00
joseLuís
eaee89c99f [rust] renamed FullMode & DirectMode to Nc & NcD
- improve pixel-cell example.
- rustfmt
2021-04-17 22:13:43 +02:00
nick black
b1317ddf7e
Revert "[bitmap] on move, clear old OPAQUE cells #1527"
This reverts commit 416806c42c.
2021-04-16 10:45:17 -04:00
nick black
416806c42c
[bitmap] on move, clear old OPAQUE cells #1527 2021-04-16 09:35:24 -04:00
nick black
c9cf30c31a
intro: always let our orca reach the far side 2021-04-16 09:33:56 -04:00
nick black
420c967605
[postpaint_cell] don't damage cells hidden by sprixel #1527 2021-04-16 08:08:11 -04:00