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

Configurable buffer sizes via CMake #2923

Closed

Conversation

roxlu
Copy link
Contributor

@roxlu roxlu commented Aug 7, 2020

This feature allows us to specify the buffer sizes that are used in Allocators.h and OpenGLDriver.cpp. Quick fix for #2057 By increasing these buffers we can render more instances.

@google-cla
Copy link

google-cla bot commented Aug 7, 2020

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label Aug 7, 2020
@prideout
Copy link
Contributor

prideout commented Aug 7, 2020

This PR has two 1-month old commits in it, should it be rebased?

@roxlu
Copy link
Contributor Author

roxlu commented Aug 7, 2020

This PR has two 1-month old commits in it, should it be rebased?

I created a feature branch from upstream/master. Not sure what happened.

@romainguy
Copy link
Collaborator

We changed our branch from master to main a few weeks ago. And your change should define default values in the code, not just in the build system.

@roxlu
Copy link
Contributor Author

roxlu commented Aug 7, 2020

We changed our branch from master to main a few weeks ago.
Ah good! I'll rebase late.

And your change should define default values in the code, not just in the build system.

roxlu@899f9a1

What do you mean; see above for the changes in Allocators.h and OpenGLDriver.cpp

@romainguy
Copy link
Collaborator

That's exactly my point, your change relies on defines being set by the build system, not something we want. You should at least have a series of #ifndef XXXX #define XXXX YYYY #endif.

@roxlu
Copy link
Contributor Author

roxlu commented Aug 7, 2020

Ah I see what you mean; I wasn’t sure if you wanted to have such an implementation. I’ll make the changes.

@romainguy
Copy link
Collaborator

The master branch has now been deleted to avoid further confusions. GitHub finally fixed the issue that was preventing us from getting rid of it.

@romainguy
Copy link
Collaborator

Your change still touches many files that are not related to your change.

@roxlu roxlu closed this Aug 7, 2020
@roxlu roxlu deleted the rox/feature-configurable-buffer-sizes branch August 7, 2020 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants