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

Improve frame rate performance on iOS : nanovg_gl.h #305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swittk
Copy link

@swittk swittk commented Aug 31, 2016

Changing from discarding the result ("discard;") to assigning the result variable with vec4(0,0,0,0) appears to drastically improve performance on iOS.

(FPS running NanoVG Demo on iPhone 5, iOS 7.0 : From 13 FPS on average to around 40 FPS)

Changing from discarding the result ("discard;") to assigning the result variable with vec4(0,0,0,0) appears to drastically improve performance on iOS.

(FPS running NanoVG Demo on iPhone 5, iOS 7.0 : From 13 FPS on average to around 40 FPS)
@swittk swittk changed the title Update nanovg_gl.h Improve frame rate performance on iOS : nanovg_gl.h Aug 31, 2016
@wtholliday
Copy link

This breaks NVG_STENCIL_STROKES. See #214

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

Successfully merging this pull request may close these issues.

None yet

2 participants