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

Implement Canvas #30

Open
SamRodri opened this issue Apr 9, 2024 · 0 comments
Open

Implement Canvas #30

SamRodri opened this issue Apr 9, 2024 · 0 comments
Labels
A-canvas Area: Canvas rendering todo TODO task

Comments

@SamRodri
Copy link
Collaborator

SamRodri commented Apr 9, 2024

Implement canvas API in zng-view-api

  • It should communicate in real time, each command send over IPC without blocking the main loop?
  • Try pathfinder_canvas, it should work well with webrender as it is a servo project.
    • Check if we can use swgl with pathfinder or any software renderer.
  • Or use zeno, looks lightweight.
  • Canvas output needs to integrate with the normal image API.

Widget

  • Canvas widget accepts render function as a variable that can update.
  • Provide API that takes Length units and layout then using the canvas layout context.
  • Async, can we use normal async_hn?
@SamRodri SamRodri added todo TODO task A-canvas Area: Canvas rendering labels Apr 9, 2024
@SamRodri SamRodri changed the title Implement canvas API in zng-view-api Implement Canvas Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-canvas Area: Canvas rendering todo TODO task
Projects
None yet
Development

No branches or pull requests

1 participant