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

Draw a triangle #230

Open
MostAwesomeDude opened this issue Apr 5, 2021 · 0 comments
Open

Draw a triangle #230

MostAwesomeDude opened this issue Apr 5, 2021 · 0 comments

Comments

@MostAwesomeDude
Copy link
Contributor

Make a black box. Put three vertices into that box. Put a color on each vertex. Interpolate the colors between the vertices to draw a triangle in the box.

This is much easier with GL than without it. A possible path is to emulate libdrm and go through the kernel to get a GPU handle, and then submit drawing requests on that handle.

The triangle does not have to be drawn on-screen. For that, see #231.

Note that using the existing lib/shapes functionality does not count. We would like to be able to offload the drawing from the vat, so that we can wait for it like typical I/O.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant