1. 09 May, 2008 1 commit
    • Dan Nicholson's avatar
      autoconf: Attempt to figure out the PIC flags for the platform · d368eed9
      Dan Nicholson authored
      This commit adds an autoconf macro, MESA_PIC_FLAGS, which sets the
      PIC flags according to platform and static/shared setting. The platform
      specifics are taken straight from libtool.m4 and stripped down to just
      the flags and platforms we cover in Mesa. This should hopefully make it
      possible to use autoconf on non-GCC platforms.
      The macro is added external to configure.ac in acinclude.m4 since it's
      pretty bloated.
      Note to BSDers: Previously, x86 defaulted to non-PIC on FreeBSD. I
      didn't carry that preference into this macro. Instead, you can just use
      --disable-pic where desired.
  2. 06 May, 2008 1 commit
  3. 05 May, 2008 6 commits
  4. 30 Apr, 2008 2 commits
  5. 23 Apr, 2008 1 commit
  6. 18 Apr, 2008 1 commit
  7. 09 Apr, 2008 1 commit
  8. 02 Apr, 2008 1 commit
  9. 01 Apr, 2008 1 commit
    • Dan Nicholson's avatar
      Use AC_CHECK_PROGS to find alternate make programs · b645942d
      Dan Nicholson authored
      The autoconf macro AC_PATH_PROGS handles the case of searching for
      multiple program names already, so we don't need to open code it. Also
      changed the search to AC_CHECK_PROGS so that it doesn't set the full
      path unless the user specified. Finally, report back the found value at
      the end for what the user should run.
  10. 31 Mar, 2008 1 commit
    • Kristian Høgsberg's avatar
      DRI interface changes and DRI2 direct rendering support. · e82dd8c6
      Kristian Høgsberg authored
      Add DRI2 direct rendering support to libGL and add DRI2 client side
      protocol code.  Extend the GLX 1.3 create drawable functions in
      glx_pbuffer.c to call into the DRI driver when possible.
      Introduce __DRIconfig, opaque struct that represents a DRI driver
      configuration.  Get's rid of the open coded __GLcontextModes in the
      DRI driver interface and the context modes create and destroy
      functions that the loader was requires to provide.  glcore.h is no
      longer part of the DRI driver interface.  The DRI config is GL binding
      agnostic, that is, not specific to GLX, EGL or other bindings.
      The core API is now also an extension, and the driver exports a list
      of extensions as the symbol __driDriverExtensions, which the loader
      must dlsym() for.  The list of extension will always include the DRI
      core extension, which allows creating and manipulating DRI screens,
      drawables and contexts.  The DRI legacy extension, when available,
      provides alternative entry points for creating the DRI objects that
      work with the XF86DRI infrastructure.
      Change DRI2 client code to not use drm drawables or contexts.  We
      never used drm_drawable_t's and the only use for drm_context_t was as
      a unique identifier when taking the lock.  We now just allocate a
      unique lock ID out of the DRILock sarea block.  Once we get rid of the
      lock entirely, we can drop this hack.
      Change the interface between dri_util.c and the drivers, so that the
      drivers now export the DriverAPI struct as driDriverAPI instead of the
      InitScreen entry point.  This lets us avoid dlsym()'ing for the DRI2
      init screen function to see if DRI2 is supported by the driver.
  11. 22 Mar, 2008 1 commit
  12. 21 Mar, 2008 2 commits
  13. 10 Mar, 2008 1 commit
  14. 07 Mar, 2008 1 commit
    • Dan Nicholson's avatar
      autoconf: Print GCC include path directly and be more robust using it · db7fc631
      Dan Nicholson authored
      Rather than constructing the GCC include path from `-print-search-dirs',
      we can get the path directly from `-print-file-name=include'. This is
      used in the Linux kernel build, for example. If no output is returned
      from the command, then we don't append a -I path the the makedepend
  15. 26 Feb, 2008 1 commit
  16. 21 Feb, 2008 2 commits
  17. 15 Feb, 2008 1 commit
  18. 16 Jan, 2008 1 commit
  19. 11 Jan, 2008 1 commit
    • Dan Nicholson's avatar
      Allow osmesa to be enabled or disabled · 544ab209
      Dan Nicholson authored
      The conditional in src/mesa/Makefile currently hardcodes the cases where
      libOSMesa can be built on libGL. Likewise, the xlib case always includes
      libOSMesa in the stand-alone target.
      This changes the conditional to a loop over the DRIVER_DIRS variable.
      This means that any driver configuration can enable or disable osmesa.
      The current "stand-alone" rule is changed so that DRIVER_DIRS=x11 and
      DRIVER_DIRS="x11 osmesa" are both respected.
      The configure option is changed to --enable-gl-osmesa as this change
      allows libOSMesa to be built upon any of the libGL-enabling drivers.
  20. 26 Dec, 2007 1 commit
    • Dan Nicholson's avatar
      autoconf: Helper options for adding GCC 32/64 bit flags · ab57cbac
      Dan Nicholson authored
      Two new configure options to add -m32 or -m64 to the CFLAGS and CXXFLAGS
      when GCC is in use. By default, the user supplied options are
      environment variables are respected, but these options are quick helps
      for the common case of x86/x86_64 using GCC.
  21. 13 Dec, 2007 4 commits
  22. 12 Dec, 2007 3 commits
  23. 11 Dec, 2007 4 commits
  24. 07 Dec, 2007 1 commit