1. 19 Mar, 2014 2 commits
  2. 17 Mar, 2014 1 commit
  3. 12 Mar, 2014 1 commit
    • Neil Roberts's avatar
      Add the EGL_MESA_configless_context extension · 551d459a
      Neil Roberts authored
      This extension provides a way for an application to render to multiple
      surfaces with different buffer formats without having to use multiple
      contexts. An EGLContext can be created without an EGLConfig by passing
      EGL_NO_CONFIG_MESA. In that case there are no restrictions on the surfaces
      that can be used with the context apart from that they must be using the same
      EGLDisplay.
      
      _mesa_initialze_context can now take a NULL gl_config which will mark the
      context as ‘configless’. It will memset the visual to zero in that case.
      Previously the i965 and i915 drivers were explicitly creating a zeroed visual
      whenever 0 is passed for the EGLConfig. Mesa needs to be aware that the
      context is configless because it affects the initial value to use for
      glDrawBuffer. The first time the context is bound it will set the initial
      value for configless contexts depending on whether the framebuffer used is
      double-buffered.
      Reviewed-by: Kristian H. Kristensen's avatarKristian Høgsberg <krh@bitplanet.net>
      551d459a
  4. 08 Mar, 2014 1 commit
  5. 04 Mar, 2014 2 commits
  6. 03 Mar, 2014 1 commit
  7. 23 Feb, 2014 3 commits
  8. 20 Feb, 2014 1 commit
  9. 03 Feb, 2014 1 commit
    • Brian Paul's avatar
      mesa: change GL_ALL_ATTRIB_BITS to 0xFFFFFFFF · 349b76a5
      Brian Paul authored
      This has been wrong for many years.  It was originally 0x000FFFFF and long
      ago there was discussion about whether GL_ALL_ATTRIB_BITS should include
      the then-new GL_MULTISAMPLE_BIT bit.  Eventually the ARB decided that
      glPushAttrib(GL_ALL_ATTRIB_BITS) should save all current and future
      attribute groups (hence ~0).  Unfortunately, Mesa's gl.h was never updated.
      
      This was just recently spotted by Eric Anholt and reported as a bug to the
      ARB.  Ian, Jon Leech and I discussed it at the ARB meeting and decided to
      change Mesa's value to reflect the ARB's decision.
      Acked-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      349b76a5
  10. 01 Feb, 2014 1 commit
  11. 31 Jan, 2014 1 commit
    • Keith Packard's avatar
      dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888 · aea4757e
      Keith Packard authored
      The __DRIimage createImageFromFds function takes a fourcc code, but there was
      no fourcc code that match __DRI_IMAGE_FORMAT_SARGB8. This adds a define for
      that format, adds a translation in DRI3 from __DRI_IMAGE_FORMAT_SARGB8 to
      __DRI_IMAGE_FOURCC_SARGB8888 and then adds translations *back* to
      __IMAGE_FORMAT_SARGB8 in both the i915 and i965 drivers.
      
      I'll refrain from comments on whether I think having two separate sets of
      format defines in dri_interface.h is a good idea or not...
      
      Fixes piglit glx-tfp and glx-visuals-depth
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      aea4757e
  12. 28 Jan, 2014 1 commit
  13. 27 Jan, 2014 2 commits
  14. 25 Jan, 2014 1 commit
  15. 23 Jan, 2014 6 commits
  16. 18 Jan, 2014 2 commits
  17. 17 Jan, 2014 1 commit
    • Jose Fonseca's avatar
      s/Tungsten Graphics/VMware/ · 87712850
      Jose Fonseca authored
      Tungsten Graphics Inc. was acquired by VMware Inc. in 2008.  Leaving the
      old copyright name is creating unnecessary confusion, hence this change.
      
      This was the sed script I used:
      
          $ cat tg2vmw.sed
          # Run as:
          #
          #   git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
          #
      
          # Rename copyrights
          s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
          /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
          s/TUNGSTEN GRAPHICS/VMWARE/g
      
          # Rename emails
          s/alanh@tungstengraphics.com/alanh@vmware.com/
          s/jens@tungstengraphics.com/jowen@vmware.com/g
          s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
          s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
          s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
          s/michel@tungstengraphics.com/daenzer@vmware.com/g
          s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
          s/zack@tungstengraphics.com/zackr@vmware.com/
      
          # Remove dead links
          s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g
      
          # C string src/gallium/state_trackers/vega/api_misc.c
          s/"Tungsten Graphics, Inc"/"VMware, Inc"/
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      87712850
  18. 06 Jan, 2014 1 commit
  19. 30 Dec, 2013 1 commit
    • Kenneth Graunke's avatar
      Revert "mesa: Remove GLXContextID typedef from glx.h." · f425d56b
      Kenneth Graunke authored
      This reverts commit 136a12ac.
      
      According to belak51 on IRC, this commit broke Allegro, which would no
      longer compile.  Applications apparently expect the GLXContextID typedef
      to exist in glx.h; removing it breaks them.  A bit of searching around
      the internet revealed other complaints since upgrading to Mesa 10.
      
      Cc: "10.0" <mesa-stable@lists.freedesktop.org>
      f425d56b
  20. 24 Dec, 2013 1 commit
  21. 17 Dec, 2013 1 commit
  22. 13 Dec, 2013 2 commits
  23. 05 Dec, 2013 2 commits
  24. 18 Nov, 2013 1 commit
  25. 15 Nov, 2013 1 commit
  26. 13 Nov, 2013 1 commit
  27. 08 Nov, 2013 1 commit
    • Keith Packard's avatar
      dri: add __DRIimageLoaderExtension and __DRIimageDriverExtension · 44244202
      Keith Packard authored
      These provide an interface between the driver and the loader to allocate
      color buffers through the DRIimage extension interface rather than through a
      loader-specific extension (as is used by DRI2, for instance).
      
      The driver uses the loader 'getBuffers' interface to allocate color buffers.
      
      The loader uses the createNewScreen2, createNewDrawable, createNewContext,
      getAPIMask and createContextAttribs APIS (mostly shared with DRI2).
      
      This interface will work with the DRI3 loader, and should also work with GBM
      and other loaders so that drivers need not be customized for each new loader
      interface, as long as they provide this image interface.
      
      v2: Fix build of i915 and i965 together (by anholt)
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: Kristian H. Kristensen's avatarKristian Høgsberg <krh@bitplanet.net>
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      44244202