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

Thoughts about transformations API and performance #1

Open
dumblob opened this issue Sep 16, 2021 · 0 comments
Open

Thoughts about transformations API and performance #1

dumblob opened this issue Sep 16, 2021 · 0 comments

Comments

@dumblob
Copy link

dumblob commented Sep 16, 2021

I really like the (utter 😉) simplicity of the API in this library! Feels kind of smooth for small things 😉.

There is just one thing which might be a wart though (IDK - let's discuss it thus 😉).

void beginstate();
void endstate();

^^^this reminds me of one of the main arguments why Vulkan was introduced over OpenGL. Because saving and restoring state makes the whole API strictly synchronous in such a way which can't be lifted and thus any (potential) pipeline will get flushed etc. I don't havy any good examples at hand, but any "vulkan versus opengl" technical debate/blog/primer should do. Btw. even Vulkan has some known performance limitations (some discovered as lately as when porting Linux graphical stack to Apple M1 by Alyssa and others...) but it shall be (much?) better in pipelining than OpenGL IIRC.

Thoughts?

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

No branches or pull requests

1 participant