View Full Version : glCallLists guaranteed to execute in order?
10-01-2003, 12:52 PM
Does the spec require glCallLists to execute the array of lists in order? I was being lazy, and thought that maybe some drivers would batch the lists based on state. Yes, in most it would be way too costly to sort, even requiring a heuristic, but maybe the driver could coarsely sort by texture object, or even materials.
Just a thought.
10-01-2003, 04:08 PM
The only thing that would make sense is that lists are executed in order.
[This message has been edited by Humus (edited 10-01-2003).]
10-01-2003, 06:57 PM
The spec, in fact, requires them to be called in order: "Each of the n constructed offsets is taken in order and added to a display list
base to obtain a display list number."
Also, display lists is not the best way to get both flexibility and expressive power while maintaining high performance. If your display lists contain state, in addition to pure vertex/index data, then they're even less likely to follow an optimized path.
10-01-2003, 07:20 PM
I know it's not the best way, I was just being lazy. http://www.opengl.org/discussion_boards/ubb/smile.gif Thanks for the clarification.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.