-
Notifications
You must be signed in to change notification settings - Fork 219
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
Refactor GLProfiler #22
Comments
Creation cost of GLProfile automatic variable every frame shouldn't be high because:
|
FYI automatic variable != stack variable in C++ due to RAII. But if GLProfile's constructor does indeed allocate on the stack yeah, shouldn't be a problem @dany0. |
Guess you can close the issue then. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right, now, OS is creating a new GLProfiler object each step of the frame. Even if debugging is turned off.
The text was updated successfully, but these errors were encountered: