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 2 findUniformLocation caching failure #113

Closed
azul3d-bot opened this issue Mar 6, 2016 · 1 comment
Closed

OpenGL 2 findUniformLocation caching failure #113

azul3d-bot opened this issue Mar 6, 2016 · 1 comment

Comments

@azul3d-bot
Copy link

Issue by slimsag
Wednesday Dec 03, 2014 at 08:14 GMT
Originally opened as azul3d-legacy/gfx#58


After profiling some code I found a bottleneck in the gfx/gl2 renderer. Primarily it appears that findUniformLocation was not correctly caching the uniform locations as it was intended to originally.

After the fix, a somewhat significant performance gain is had (~15% gain in the azul3d_stencil example).

@emidoots
Copy link
Member

emidoots commented Mar 6, 2016

Fixed/merged as part of #1

@emidoots emidoots closed this as completed Mar 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants