| | Re: Type 5 lines, BFC relevance, and OpenGL
|
| So, I got the code updated so the conditional drawing happens in a display list, and then built LDView with full optimizations turned on in the compiler, and the new method actually runs slightly slower than the old method. (This is on an ATI Radeon (...) (20 years ago, 3-Apr-05, to lugnet.cad.dev, FTX)
| | | | Re: Type 5 lines, BFC relevance, and OpenGL
|
| Slower, you say? Are you executing the functions in immediate mode? Or using a display list? Because if you're not using a display list, it's no suprise that it's slower. If you are using a display list, however, then I'm at a loss. I guess it may (...) (20 years ago, 4-Apr-05, to lugnet.cad.dev)
| | | | Re: Type 5 lines, BFC relevance, and OpenGL
|
| (...) I'm using a display list. The triangles are drawn inside the display list using "classic" OpenGL calls (glBegin(GL_TRIANGLE....glEnd()). The lines are being drawn inside the display list using vertex arrays. Using vertex arrays to draw the (...) (20 years ago, 4-Apr-05, to lugnet.cad.dev)
| |