I am working with large Point based datasets with the AMD 7970. The points inside my VBO are stored in following order:
glBufferData(GL_ARRAY_BUFFER, numPoints * (3 * sizeof(GLint)+sizeof(GLint)),NULL,GL_STATIC_DRAW);
glBufferSubData(GL_ARRAY_BUFFER, 0, numPoints * 3 * sizeof(GLint), xyz);
glBufferSubData(GL_ARRAY_BUFFER, numPoints * 3 * sizeof(GLint), numPoints * sizeof(GLint), rgbflags);
Now i have the problem that the VBO only gets only correct initialized when the numPoints is equal or less than 23950811. This leads to a 365MB VBO. When the numPoints exceeds the number, than i get the Invalid GL Object Error Message when i try to share it with CL.
I also can't render it with glDrawArrays, when it's exceeds the number. Exists there a maximum VBO size, or is there any other creation/initialization problem regarding to large VBOs?