View Full Version : Can GL_POLYGON be fast and efficient?
title pretty much sums it up...
It heavily depends ... generally no, because you can't fire long batches with glDrawElements (and friends) anymore.
You can try ARB_multi_draw_arrays (which theoretically could be the perfect fix, but doesn't appear to do squat for neither NV nor ATI) or NV_primitive_restart (which I haven't tried yet ...).
The straightforward solution is to not use GL_POLYGON ;)
This isn't necessarily a bad thing, you can still get full vertex reuse if you use indexed triangles.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.