On Sat, Nov 07, 2009 at 10:07:13AM +0800, Chia-I Wu wrote: > OpenGL ES is a subset of OpenGL with other core additions. Because many > ES functions are proper subsets of the corresponding GL functions, > another layer of indirection is required when dispatching the functions. > Take glColorPointer for example > glColorPointer -> _es_ColorPointer (new indirection) -> _mesa_ColorPointer The _es_ indirection is generated from APIspec.txt. The format is not very friendly to human eyes, and there are many copy-and-pastes. This makes future maintenance harder.
I have been working on converting it to XML this week. The new format separates parameter checkings and the functions themselves. That means, there is no need to write the same checking rules for all, say, the 6 variants of TexParameter. I plan to have this conversion done by Monday and send a patch series. -- Regards, olv ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
