[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    [Mesa3d-dev] [Bug 6355] Building GLcore in mesa (suggestion)
From:       bugzilla-daemon () annarchy ! freedesktop ! org
Date:       2006-11-25 15:25:30
Message-ID: 20061125152530.621BC13006D () annarchy ! freedesktop ! org
[Download RAW message or body]

Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=6355          
     




------- Additional Comments From fufutos610@hotmail.com  2006-11-25 07:25 -------
I think something like the following can work and solves the problems with the
current situation:

Compile libmesa.a once in Mesa and use it both for Mesa and Xorg, Xorg still
needs source linking but only for a small number of files from drivers/x11 and
glapi (for glx).

The problematic defines are:
- IN_DRI_DRIVER
- USE_XSHM
- XFree86Server
- XFree86LOADER (IN_MODULE, NO_LIBCWRAPPER)
- _XSERVER64
- USE_EXTERNAL_DXTN_LIB

Barring the cases mentioned in comment #1, I think that
- USE_XSHM, XFree86Server, _XSERVER64 only affect drivers/x11 which will still
  be compiled within Xorg.
- XFree86LOADER is inactive (and can be dropped, bug #9144)
- IN_DRI_DRIVER can be handled with adding the driInitExtensions() patch to
  xm_api.c and a configure variable in Xorg, enabled by default on linux and
  freebsd.

This approach does not require adding new files to Mesa, only the changes to
xm_api.c and small changes to src/mesa/Makefile.
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic