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

[aot] C-API texture support and tests #5994

Merged
merged 11 commits into from
Sep 13, 2022

Conversation

PENGUINLIONG
Copy link
Member

This PR improved existing texture interfaces and added related tests. Sampler interfaces are reserved.

@PENGUINLIONG PENGUINLIONG force-pushed the capi-texture2 branch 3 times, most recently from 213f341 to 232cb76 Compare September 7, 2022 03:34
Rename C-API texture to image

Support samplers

Texture tests

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Revert allocation slices to handles

Fix compilation

Fixed compilation

Fixed test

Fixed implementation

Fixed test

Prevent release of temporary texture allocations

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Fixed unity language binding

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Fixed compilation

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
@netlify
Copy link

netlify bot commented Sep 7, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 39612b9
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/6319f6825ad8fd000a5341b2
😎 Deploy Preview https://deploy-preview-5994--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@ailzhang ailzhang left a comment

Choose a reason for hiding this comment

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

Nice!

c_api/include/taichi/cpp/taichi.hpp Show resolved Hide resolved
@PENGUINLIONG PENGUINLIONG merged commit e180845 into taichi-dev:master Sep 13, 2022
PENGUINLIONG added a commit that referenced this pull request Sep 13, 2022
Follow up of #5994. Clang follows a strict separation between C++
headers so fundamental utilities like `std::exchange` is not implicitly
included in other `std` headers.
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.

2 participants