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 buffered backed is great! #67

Closed
starwing opened this issue Apr 18, 2014 · 2 comments
Closed

OpenGL buffered backed is great! #67

starwing opened this issue Apr 18, 2014 · 2 comments

Comments

@starwing
Copy link

Hi,

I have updated to latest commit, and found out opengl buffered backed is great! we have amost 100+ fps at full speed. Thanks for this great feature!

We use buffered backed now is because now it support GL2, so a name nanovg_gl3buf.h is not suitable for this backend, what about only nanovg_glbuf.h ?

I have interesting to write a pure software backend (for some old device that have not OpenGL support or OpenGL support is software and very slow, e.g. the old Nokia cellphones). Is pull requests welcome?

regards,
Xavier.

@memononen
Copy link
Owner

Cool! Yes, it is indeed way faster in most cases. Far less state changes and only one upload to the GPU. My plan to is to remove the old gl2 and gl3 backends and rename the file to nanovg_glbuf.h or just nanovg_gl.h.

Software backend would be cool! Pull request is welcome, or if you want you can also host it yourself. Let me know if the API to the backend needs some changes. Currently it is geared very much towards GPU rendering.

@starwing
Copy link
Author

Yes, to name it nanovg_gl.h and make it the only backend is great!

I'll look into current backend to decide how to make a tiny software backend, quality and speed are all important. I will submit issues if I meed problems. Thanks for help!

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

2 participants