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

[opengl] Fix GLFW global context issue #7230

Merged
merged 8 commits into from
Jan 24, 2023
Merged

Conversation

bobcao3
Copy link
Collaborator

@bobcao3 bobcao3 commented Jan 22, 2023

Related: #7218

Without this GGUI will mess with the OpenGL backend because both tries to initialize & destroy GLFW.

There is an issue tho with dependency. Which target should rhi/window_system belong to? Maybe we need a device API target that collects all the specific backends and generate a static lib with all backends and optional dependencies like GLFW? (Anyways, that will be a TODO for another PR)

@netlify
Copy link

netlify bot commented Jan 22, 2023

Deploy Preview for docsite-preview canceled.

Name Link
🔨 Latest commit ea6bc7c
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63cda3e9ade6d000090a14b4

@netlify
Copy link

netlify bot commented Jan 22, 2023

Deploy Preview for docsite-preview canceled.

Name Link
🔨 Latest commit 5e9d20d
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63cda9dbba372300081c69c2

@bobcao3 bobcao3 merged commit 1d95d8d into taichi-dev:master Jan 24, 2023
ailzhang pushed a commit that referenced this pull request Jan 29, 2023
Issue: #

Contains:
- [x] #7230
- [x] #7232
- [x] #7233
- [x] #7234
Merge those before this PR (to reduce the size of the change set)

### Brief Summary

Nuking all interops, in order to reduce code complexity of GGUI &
provide path ways to other rendering frontends (e.g. metal)

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Related: taichi-dev#7218

Without this GGUI will mess with the OpenGL backend because both tries
to initialize & destroy GLFW.

There is an issue tho with dependency. Which target should
`rhi/window_system` belong to? Maybe we need a device API target that
collects all the specific backends and generate a static lib with all
backends and optional dependencies like GLFW? (Anyways, that will be a
TODO for another PR)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
…dev#7218)

Issue: #

Contains:
- [x] taichi-dev#7230
- [x] taichi-dev#7232
- [x] taichi-dev#7233
- [x] taichi-dev#7234
Merge those before this PR (to reduce the size of the change set)

### Brief Summary

Nuking all interops, in order to reduce code complexity of GGUI &
provide path ways to other rendering frontends (e.g. metal)

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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