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

Support multiple windows #82

Closed
kvark opened this issue Feb 20, 2024 · 2 comments · Fixed by #203
Closed

Support multiple windows #82

kvark opened this issue Feb 20, 2024 · 2 comments · Fixed by #203
Assignees
Labels
type: feature New feature or request

Comments

@kvark
Copy link
Owner

kvark commented Feb 20, 2024

In Zed, we are initializing a graphics context for every window. However, if there is more than one window, we are wasting time re-initializing the connection to the graphics driver, recompiling all the pipelines, etc. If we support multiple windows natively, we could save that time.

@MatinAniss
Copy link
Contributor

What is required for this to be implemented and what would the implementation look like?

@kvark
Copy link
Owner Author

kvark commented Jun 27, 2024

We'd need to introduce Window as a new type of things. It would be created from the Context.
Overall, I haven't thought through the details of how this will work. I typically start prototyping it to see the issues that would arise and then design as I go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants