Chia-I Wu wrote:
> Hi,
> 
> Following the remap table patch series, this patch series allows, say,
> src/glx/x11/ and src/mesa/drivers/x11/ to be compiled at the same time.
> It is now possible to switch into any directory and build the
> libraries/drivers in it.  It should make testing across multiple
> libGL.so or test building mesa easier.
> 
> This patch series deals with the missing symbols in libglapi.a when
> GLX_INDIRECT_RENDERING is defined.  Using glGenTextures as an example,
> the source of the problem is that while glGenTextures and
> glGexTexturesEXT are functionally equivalent and share the same slot in
> the dispatch table, they require different GLX wire protocols when doing
> indirect rendering.  To distinguish between the two, one of them
> _cannot_ go through dispatch table directly.
> 
> When GLX_INDIRECT_RENDERING is defined, libglapi.a expects those who
> link to it to define glGenTexturesEXT.  It gives the user a chance to
> skip the dispatch table.  This can be seen in src/glx/x11/indirect.c.
> 
> This patch series deals with the issue by re-arranging glapitemp.h in a
> way that a driver can include it to define the missing symbols.  This is
> a little hacky, but it gives a simple fix to the problem.

Looks OK to me and seems to build/run alright.  However, I'd like Ian 
to take a look also to see if he has any concerns.

Ian?

-Brian


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to