As discussed on IRC yesterday, I propose a major OpenGL refactor
as a project instead.
The goal of this project would be to separate all OpenGL code
into a separate subsystem consisting of multiple classes.
Maybe even a separate namespace? (Stellarium doesn't seem
to use namespaces - should I just put the code into
a separate directory? - I'd like all "video" code to be in one place)
This would have an implementation-independent API,
as is common in various game engines,
so that there could be separate implementations for
e.g. GL1, GL2, but, in future, it'd be also easy to add
GL3/4 or GLES. (even a SW renderer or D3D I guess).
Note that I don't propose any new functionality, just a rewrite
of what's already there. However, it should be easier to
build on the refactored code, add support for e.g VBOs,
and also to look for bugs and optimization opportunities.
This weekend, I'll branch the Stellarium repo and experiment
a little, and send a GSoC application.
(Don't have time right now due to the university.)
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel