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

Managed buffer support #27

Closed
LoganDark opened this issue Aug 28, 2022 · 1 comment
Closed

Managed buffer support #27

LoganDark opened this issue Aug 28, 2022 · 1 comment
Labels
enhancement New feature or request Needs Design Work

Comments

@LoganDark
Copy link

LoganDark commented Aug 28, 2022

As mentioned when #16 was closed, it would be nice if softbuffer could provide a managed buffer to avoid the cost of copying. I'm imagining a double-buffered setup where you can call a function to swap the buffers.

Currently softbuffer can take up to 3-4ms to upload the buffer to the window, which is really slow. (edit: even slower with larger windows; see #18)

API design for this could be somewhat difficult but I doubt it'll be too hard. I can propose designs if you like

@john01dav john01dav added enhancement New feature or request Needs Design Work labels Dec 23, 2022
@ids1024
Copy link
Member

ids1024 commented Dec 23, 2022

Closing in favor of #40, since that has more discussion at this point.

@ids1024 ids1024 closed this as completed Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Needs Design Work
Development

No branches or pull requests

3 participants