On Tue, Aug 25, 2009 at 03:54:14PM +0800, Chia-I Wu wrote:
> > I use the dispatch table in eagle, it's pretty easy to hook up.  I put
> > all the dispatch table related files under glapi/ and there's a
> > makefile target (import-glapi) to import the files from mesa.
> Great.  But I think I still need to find a way to generate OpenGL|ES
> specific entries for glapitable.h.
The current plan is to keep APIspec.txt and add a new es_API.xml.
es_API.xml defines the OpenGL ES API, as gl_API.xml does for OpenGL, and
is used to generate glapi sources under $(TOP)/src/mesa/es/glapi/.  Mesa
and DRI drivers can then be compiled with -I$(TOP)/src/mesa/es so that
they find the es version of glapi.

I am still working on es_API.xml.  In gl_API.xml, entries defined by
Linux OpenGL ABI have assigned offsets, and they are kept.  I don't know
if this is feasible, but I am hoping that a DRI driver can support both
OpenGL and OpenGL ES in the end.

I am hand-editing es_API.xml.  Is this also how gl_API.xml is written?

-- 
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
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to