On Mon, Sep 13, 2010 at 13:17:09 +0200, Giel van Schijndel wrote: > I've been looking into modifying the rendering code in such a way that > it can be used to render on OpenGL ES (ES 2.0+ considering that I only > have hardware to test that version) enabled devices. > > This however, would require significant changes to the drawing code. > Keep in mind that these changes would be required for *pure* OpenGL 3.0 > as well, with "pure" meaning without the backward compatibility > extensions. The two most significant changes are: > * immediate-mode drawing would have to go (glBegin()/glEnd()), > replacing it with either VAs or VBOs > - which code-wise, are nearly the same thing, VBOs are just VAs cached > in video memory.
I already have a patch available  to remove (almost) all cases of immediate-mode rendering. Only one remains that is either implemented buggy or depends on some obscure way that vertex attributes are aggregated.  http://developer.warzone2100.org/ticket/2172 -- Giel -- "A clever person solves a problem. A wise person avoids it." -- Albert Einstein
Description: Digital signature
_______________________________________________ Warzone-dev mailing list Warzonefirstname.lastname@example.org https://mail.gna.org/listinfo/warzone-dev