Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

direct mode ought probably have a streaming capability #1346

Closed
dankamongmen opened this issue Feb 15, 2021 · 1 comment · Fixed by #1516
Closed

direct mode ought probably have a streaming capability #1346

dankamongmen opened this issue Feb 15, 2021 · 1 comment · Fixed by #1516
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@dankamongmen
Copy link
Owner

[shrug] while i don't think it a particularly great idea, there's no real reason why direct mode ought not have a stream() capability, i guess (this arises due to work on #1342). i would think that direct mode streaming would:

  • save, and explicitly return to, the same position before drawing each frame
  • be entirely unoptimized at the rasterization level unless we wanted to manually detect damage, ugh
  • need to somehow cope with scrolling, should scrolling occur

like i said, i don't think this is the best idea in the world. the lack of optimization in particular might cast us in a bad light. if someone comes up with a valid use for this, though, it'll be good to have thought about it.

@dankamongmen dankamongmen added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 15, 2021
@dankamongmen
Copy link
Owner Author

this will, at minimum, require changing up the media API, since e.g. ffmpeg_stream() requires a notcurses* at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant