Commit Graph

1008 Commits

Author SHA1 Message Date
Nick Black
c8680255be
palette256 -> ncpalette #1570 (#1573)
everything prefixed with palette256 is now prefixed with ncpalette
2021-04-22 04:11:06 -04:00
nick black
d1a01e8fe8
bitmaps: never allow the last row to be used #1571 2021-04-22 01:18:33 -04:00
nick black
41d129c1d2
[view] name all planes for debug 2021-04-22 00:41:18 -04:00
nick black
c7d284a9af
demo: make debug plane 81 wide, with transparent last column 2021-04-22 00:38:05 -04:00
nick black
31ee680ea8
demo: destroy debug window at end #1569 2021-04-21 17:22:47 -04:00
nick black
71c7432e46
[intro] manually resize greatscott to always hit cell boundary 2021-04-20 06:11:12 -04:00
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
0ff59e5a95
visual: take placey into account for row calculation 2021-04-18 10:37:27 -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
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
nick black
c9cf30c31a
intro: always let our orca reach the far side 2021-04-16 09:33:56 -04:00
nick black
b070b69eb2
get last remaining cell_ functions -> nccell_ #1532 2021-04-15 22:29:53 -04:00
nick black
7ad5219fa2
convert another crop of cell_ to nccell_ #1532 2021-04-15 22:20:16 -04:00
nick black
96ac640733
cell->nccell 2021-04-14 09:31:50 -04:00
Nick Black
e591ec2e98
cell -> nccell throughout much of remaining API (#1535)
cell -> nccell throughout much of the API #1532
2021-04-14 06:42:14 -04:00
nick black
2f8efe53a6
[demo] shrink the fps graph horizontally a little 2021-04-13 11:36:16 -04:00
nick black
96ca5e79cb
xray: use alpha channel for sprixel 2021-04-12 01:12:37 -04:00
nick black
34bcbb505b [xray] put streaming plane back above scrolling #1518 2021-04-10 12:02:58 -04:00
nick black
d504e972cc
cell_release -> nccell_release 2021-04-10 09:09:56 -04:00
nick black
7488a84121
[xray] bring slider plane to top #1518 2021-04-10 06:23:48 -04:00
Nick Black
04b1ba8ed2
Dankamongmen/unify geom (#1514)
deprecate ncvisual_geom() in favor of new ncvisual_blitter_geom(), which allows caller to get the blitter used. replace the checks and calculations in ncvisual_render() with a call to ncvisual_blitter_geom(), unifying the two paths (and eliminating several bugs in the unloved ncvisual_geom()).
2021-04-10 04:04:02 -04:00
nick black
b1baa5e88a
[demo] print that we're checking for pixel support #1506 2021-04-08 00:55:25 -04:00
nick black
123447183c
[jungle] fix invalid access on some window geometries 2021-04-03 21:35:54 -04:00
nick black
3d3d235abb
[xray] update frame count for new video 2021-04-03 21:21:21 -04:00
nick black
c0dadcd5d7
[normal] don't use expired ncplane 'n' #1492 2021-04-01 11:49:38 -04:00
nick black
65cc9a3ea9 [xray] keep bitmap plane below others 2021-03-28 15:12:43 -04:00
nick black
7127118d27
[fallin] undo changes which put background on top 2021-03-28 12:36:33 -04:00
nick black
cd6b9c2c87 [intro] kill unused param warnings 2021-03-27 12:21:11 -04:00
nick black
f887b5a122
[intro] use NCSCALE_SCALE 2021-03-27 12:11:14 -04:00
nick black
d095ba9bb7 [keller] drop 2 unnecessary bitmap workarounds 2021-03-27 07:07:48 -04:00
nick black
ca84f95379
[demo] vertically align fpsgraph at bottom 2021-03-27 02:39:08 -04:00
nick black
fea6b51bdf
xray: horizontally center video 2021-03-27 02:34:15 -04:00
nick black
229c1ab3c2 ncplane_new_internal: use ncplane_valign() #1468 2021-03-27 02:31:51 -04:00
nick black
86de98c5d2 Fix cell blit / plane vertical alignment
Deprecate ncplane_align(), after rewriting it as a passthrough
to new function ncplane_halign(). Add ncplane_valign(). Update
all callers. Closes #1468.
2021-03-27 02:31:51 -04:00
nick black
958b75bed7 NCPLANE_OPTION_VERALIGNED for bitmaps #1465 2021-03-26 09:50:22 -04:00
nick black
ff86bb0187 [ncvisual] first stab at NCVISUAL_OPTION_VERALIGNED #1461 2021-03-26 09:50:22 -04:00
nick black
6105913d06 [planes] add NCPLANE_OPTION_VERALIGNED #1465 2021-03-26 04:18:15 -04:00
nick black
3d586844fb
[intro] great scott! 2021-03-25 23:08:30 -04:00
nick black
625955ba63
[intro] cover the x-axis when we move 2021-03-25 22:53:21 -04:00
nick black
f714337fe1 [visual] NCVISUAL_OPTION_HORALIGNED for cell blitters #1443 2021-03-25 20:41:02 -04:00
nick black
cd297ff4d2 [tests] add pixel video test, direct mode scale test 2021-03-25 20:41:02 -04:00
nick black
828cce634a [capabilites] remove redundant notcurses_canpixel() 2021-03-25 20:41:02 -04:00
nick black
1ea85c4191 [yield] reduce pixel threshold 2021-03-24 05:22:15 -04:00
nick black
8d2f1ec639 [intro] kill warnings 2021-03-24 05:22:15 -04:00
nick black
6ac95e1ab1 [intro] orcaride along the bottom 2021-03-24 05:22:15 -04:00
nick black
0484c35b79 [xray] move to pixels when available 2021-03-24 05:22:15 -04:00
nick black
1a20632b68 [intro] check for on for orcaride 2021-03-24 05:22:15 -04:00
nick black
a27fc0e3f7 notcurses_fade.3: break up typedef across lines 2021-03-24 05:22:15 -04:00
nick black
0a86ce83cc [bitmaps] add sprixel_invalidate #1449 2021-03-24 05:22:15 -04:00
nick black
af91bfb015 [eagle] don't run pixel background 2021-03-24 05:22:15 -04:00
nick black
836f356305 [debug] setab, not setbf 2021-03-24 05:22:15 -04:00
nick black
3e4709e595 [intro] add natasha orca when we have pixel support #1423 2021-03-24 05:22:15 -04:00
nick black
be7f2d5d32
[yield] bring it back up 2021-03-23 22:36:17 -04:00
nick black
b2948a5581
[pixel] pass tacache into plane_blit_pixel from constructors #1388 2021-03-23 00:37:13 -04:00
nick black
4fa0857311
[normal] prep for NCBLIT_PIXEL 2021-03-22 05:52:35 -04:00
nick black
c0a1be59ce
[fallin] not yet ready for NCBLIT_PIXEL 2021-03-20 15:35:02 -04:00
nick black
51409439f6 [fallin] put background image on first row 2021-03-20 10:59:33 -04:00
nick black
d6cb986d72 [pixel] multiplex sprixel_cell_wipe() 2021-03-20 10:59:33 -04:00
nick black
53a85871fe [pixel] detach old sprite when blitting onto existing plane 2021-03-20 10:59:33 -04:00
nick black
4f876cf962 [demo] always place HUD in the right place 2021-03-20 10:59:33 -04:00
nick black
7b0e6f432c [yield] render background into a plane #1425 2021-03-20 10:59:33 -04:00
nick black
7e03705ffb [fallin] render background to new plane #1425 2021-03-20 10:59:33 -04:00
nick black
1b095b1bae [yield] render to new plane each iteration #1425 2021-03-20 10:59:33 -04:00
nick black
7426cc8067 fallin' demo: use NCBLIT_PIXEL #1425 2021-03-20 10:59:33 -04:00
nick black
8ea2cb9c18 yield demo: use NCBLIT_PIXEL if available #1425 2021-03-20 10:59:33 -04:00
nick black
5d49892c69
[keller] suffix blitter name with 'blitter' 2021-03-16 18:02:05 -04:00
nick black
a4c8aee8bd [keller] run braille first now that pixel's in the mix 2021-03-16 00:32:45 -04:00
nick black
e2885b5a68
nctree: implement NCKEY_END 2021-03-11 23:19:07 -05:00
nick black
64634143ca
keller: render to new planes 2021-03-11 22:44:23 -05:00
nick black
04a7736112
demo: move fpsgraph/hud to another pile when hidden #1402 2021-03-11 22:36:43 -05:00
nick black
7dfb366cbc
notcurses-demo: drop 'i' argument 2021-03-11 22:28:30 -05:00
nick black
3574e3ec2f
keller: use NCSCALE_SCALE for NCBLIT_PIXEL 2021-03-11 18:46:52 -05:00
nick black
c882a44ac5 CMake: CMAKE_REQUIRED_INCLUDES everywhere #1387 2021-03-08 08:32:11 -03:00
nick black
17e92a69f9
keller: work around damage check for pixel #1381 2021-03-08 05:02:15 -05:00
nick black
228b9edf09
ncneofetch: adapt to screen width for neofetch-style logos 2021-03-07 21:25:57 -05:00
nick black
ef5a3200de
pull pixelon/pixeloff out of tinfo struct 2021-03-07 19:50:55 -05:00
nick black
cdf8685154
keller: don't use NCSCALE_STRETCH with NCBLIT_PIXEL...yet #1381 2021-03-07 14:16:16 -05:00
nick black
60ff6a73d6
sliders: simplify, kill compiler warning 2021-03-03 23:33:33 -05:00
nick black
a9c257465a
keller demo: separate legend lines 2021-03-01 18:17:35 -05:00
nick black
a759f9ba0b
keller: always begin at row 1 2021-02-28 13:19:19 -05:00
nick black
1b2aedff67
keller: add pixel iteration #1281 2021-02-28 13:03:35 -05:00
nick black
4533d42fa0 sixel_blit: use '$' to return carriage #200 2021-02-27 19:03:42 -05:00
nick black
7aacc7b40e demo: prep for NCOPTIONS_VERIFY_SIXEL #200 2021-02-27 19:03:42 -05:00
nick black
cd10321819
zoo: clean up central plane #1353 2021-02-21 16:26:32 -05:00
nick black
ed3075414e
zoo demo: use nul glyph as base cell #1353 2021-02-21 16:22:54 -05:00
nick black
1b1e0b88be
ncplane_qrcode: drop blitter argument, update docs 2021-02-15 03:34:14 -05:00
nick black
6e9b23f06f
demo: account for raster time in TheoFPS calculation 2021-02-14 20:01:10 -05:00
nick black
50c6240efa
yield: print label immediately 2021-02-11 21:37:14 -05:00
nick black
c023ccf4d6
yield: transparent background for label 2021-02-11 21:10:36 -05:00
nick black
f6c12aedae
mojibake: add a few unicode 13.1 emoji 2021-02-07 21:39:24 -05:00
nick black
07db12f5e0
keller: always use white for text #1331 2021-02-05 02:44:55 -05:00
nick black
cd33073b16
jungle: work on all geometries 2021-02-03 01:05:34 -05:00
nick black
94172303be
implement raster timing stats #1324 2021-02-02 23:02:43 -05:00
nick black
ddc524420d
jungle demo: more precise timing 2021-02-02 22:57:21 -05:00
nick black
43dd0440f7
add raster timing stats #1324 2021-02-02 21:59:29 -05:00
nick black
0f5c76d070 intro: use actual inverted blocks 2021-02-02 00:57:58 -05:00
nick black
740093fbb3
ffmpeg: kill per-ncviusal subtitle context memory leak 2021-01-22 01:52:39 -05:00
nick black
b0301c834d
git mv TERMS.md TERMINALS.md 2021-01-21 02:37:46 -05:00