-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Option to configure CommandBufferQueue
size.
#2057
Comments
I talked to @pixelflinger and this is pretty much what we wanted to add. It was just never a priority so far. We'd love a test scene if you have one (a glTF file would work great if that's not a problem for you). |
I had to increase We will make this user-settable at Engine creation time eventually. Also maybe we could increase the defaults a bit. |
I want to look into this and wondering how we can make the buffer sizes configurable. I've looked into some files and found the following buffer sizes which should be configurable. In Allocators.h we have:
And in OpenGLDriver.cpp we have:
I didn't find other buffer sizes which should be configurable; but there might be more. @pixelflinger and @romainguy what are you thoughts on this? Should we create |
@romainguy what about using #defines so you can at least configure them? This could be added in 5min and we have a solution that works for now. |
I'm rendering a scene with ~3000 items that share ~100 meshes and it seems that the
CommandBufferQueue
is running out of space. InAllocators.h
I see the buffer sizes, but I'm wondering how to change the size; or maybe there is another way to render 3000 items?The text was updated successfully, but these errors were encountered: