Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Thoughts about transformations API and performanceΒ #1

@dumblob

Description

@dumblob

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions