xserver: Branch 'master' - 5 commits

Jeremy Huddleston jeremyhu at apple.com
Tue Dec 20 19:04:53 PST 2011


On Dec 20, 2011, at 3:39 PM, Ian Romanick wrote:

> On 12/20/2011 03:22 PM, Jeremy Huddleston wrote:
>> It looks like this is causing a build regression on the tinderbox:
>> http://tinderbox.x.org/builds/2011-12-20-0004/logs/xserver/#build
>> 
>> It looks odd, so I'll take a look at it tonight, but I wanted to bring it up.
> 
> I had no idea that Apple dispatched GLX in a completely different way on the xserver from every other platform.  I think just including glapi.h in hw/xquartz/GL/indirect.c before dispatch.h should fix it.

No, that's not the problem.  glapi.h is included (right after dispatch.h, but moving it before does not fix the issue).  The problem is that GLAPIENTRYP is not defined.  This is because it is expected from mesa's GL/gl.h, but mesa's GL/gl.h isn't actually "used" because OpenGL.framework's OpenGL/gl.h is included first which sets the header guard and thus prevents mesa's from being pulled in.

I've had tons of issues with this mixed namespace crap, and it will take some reworking to adjust.  For now, I'll put together a quick hack that should tide us over...

> 
>> On Dec 19, 2011, at 10:52 PM, Keith Packard wrote:
>> 
>>> glx/Makefile.am              |    2
>>> glx/clientinfo.c             |   48
>>> glx/createcontext.c          |   38
>>> glx/dispatch.h               |16553 +++++++++++++++++++++++++++++++++----------
>>> glx/glapi.c                  |    6
>>> glx/glapi_gentable.c         | 4069 +++++++---
>>> glx/glapioffsets.h           | 1174 ---
>>> glx/glapitable.h             |  883 +-
>>> glx/glprocs.h                | 2841 ++++---
>>> glx/glxext.h                 |    2
>>> glx/indirect_dispatch.c      |   76
>>> glx/indirect_dispatch.h      | 2035 ++---
>>> glx/indirect_dispatch_swap.c |   82
>>> glx/indirect_program.c       |    1
>>> glx/indirect_reqsize.c       |   16
>>> glx/indirect_reqsize.h       |  169
>>> glx/indirect_size.h          |   87
>>> glx/indirect_size_get.c      |  145
>>> glx/indirect_size_get.h      |  113
>>> glx/indirect_table.c         |  215
>>> glx/swap_interval.c          |    1
>>> 21 files changed, 19670 insertions(+), 8886 deletions(-)
>>> 
>>> New commits:
>>> commit e4b4d83fad37bb737e25f7226dbcd15b892f9528
>>> Merge: 4df65d2... d26cb70...
>>> Author: Keith Packard<keithp at keithp.com>
>>> Date:   Mon Dec 19 22:36:31 2011 -0800
>>> 
>>>    Merge remote-tracking branch 'idr/glx-fixes'
>> 
>> 
>> 
>> 
>> 
> 

---
Jeremy Huddleston

Rebuild Sudan
 - Board of Directors
 - http://www.rebuildsudan.org

Berkeley Foundation for Opportunities in Information Technology
 - Advisory Board
 - http://www.bfoit.org



More information about the xorg-devel mailing list