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

[gui] GGUI Image IO (well, it's actually just O...) #3333

Merged
merged 5 commits into from
Nov 1, 2021

Conversation

AmesingFlank
Copy link
Collaborator

This PR adds image IO for GGUI. The implementation is somewhat based on this.

Notice that this PR alone doesn't enable headlessly running GGUI: it only allows you to dump an image file while the window is also running.

In the next PR, I'll add in headless support. And then we can start adding tests for GGUI.

Not working on MoltenVK on macOS... will try to fix.

And finally, this PR should be merged after #3330, otherwise GGUI won't work at all.

@netlify
Copy link

netlify bot commented Oct 31, 2021

✔️ Deploy Preview for jovial-fermat-aa59dc canceled.

🔨 Explore the source changes: 3f81d1b

🔍 Inspect the deploy log: https://app.netlify.com/sites/jovial-fermat-aa59dc/deploys/617e688a0a9d23000804a3a6

@AmesingFlank AmesingFlank changed the title [gui] GGUI Image IO [gui] GGUI Image IO (well, it's actually just O...) Oct 31, 2021
Copy link
Member

@k-ye k-ye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

taichi/backends/device.h Outdated Show resolved Hide resolved
taichi/backends/device.h Show resolved Hide resolved
taichi/backends/device.h Show resolved Hide resolved
Copy link
Member

@k-ye k-ye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AmesingFlank
Copy link
Collaborator Author

LGTM!

help me merge it? :D

@ailzhang ailzhang merged commit 3b179fb into taichi-dev:master Nov 1, 2021
@k-ye
Copy link
Member

k-ye commented Nov 1, 2021

3333!

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

Successfully merging this pull request may close these issues.

4 participants