aqnuep
01-29-2008, 11:13 AM
I have many questions related to display lists and VBOs, pros and contras, and concurrent use.
I'm storing my vertex and index data in buffer objects and it works well. I'm using glDrawElements.
My problem is that when I use glDrawElements between glNewList and glEndList, the program fails with an exception. I've read the specification and I know that index pointers are resolved in compile time of display lists, so passing a null pointer to the glDrawElements call between the glNewList and glEndList commands should be good if there are buffer objects bound to ARRAY_BUFFER and ELEMENT_ARRAY_BUFFER, but an access violation occurs when calling glDrawElements (accessing address 0x00000000).
I want to use display lists to improve batching, but now, I don't know what to do.
So my questions are the following:
- This could be an ATI driver bug, or I'm doing something wrong?
- Has anybody faced this issue or it is only my problem?
- Using display lists without VBO is less performant than using VBO without display lists?
- Is there another consistent way to create the same results?
I'm storing my vertex and index data in buffer objects and it works well. I'm using glDrawElements.
My problem is that when I use glDrawElements between glNewList and glEndList, the program fails with an exception. I've read the specification and I know that index pointers are resolved in compile time of display lists, so passing a null pointer to the glDrawElements call between the glNewList and glEndList commands should be good if there are buffer objects bound to ARRAY_BUFFER and ELEMENT_ARRAY_BUFFER, but an access violation occurs when calling glDrawElements (accessing address 0x00000000).
I want to use display lists to improve batching, but now, I don't know what to do.
So my questions are the following:
- This could be an ATI driver bug, or I'm doing something wrong?
- Has anybody faced this issue or it is only my problem?
- Using display lists without VBO is less performant than using VBO without display lists?
- Is there another consistent way to create the same results?