1. 16 Jun, 2017 1 commit
  2. 19 May, 2017 1 commit
  3. 08 May, 2017 2 commits
  4. 04 May, 2017 1 commit
  5. 14 Oct, 2016 1 commit
  6. 14 Sep, 2016 1 commit
  7. 07 Jul, 2016 1 commit
  8. 03 Jun, 2016 1 commit
  9. 02 Jun, 2016 1 commit
  10. 22 Jul, 2015 2 commits
  11. 16 Jun, 2015 1 commit
  12. 21 Mar, 2015 1 commit
  13. 11 Mar, 2015 1 commit
  14. 06 Mar, 2015 2 commits
  15. 23 Dec, 2014 1 commit
    • Alexander von Gluck IV's avatar
      egl: Add Haiku code and support · 400b8335
      Alexander von Gluck IV authored
      * This is the cleaned up work of the Haiku GCI student
        Adrián Arroyo Calle adrian.arroyocalle@gmail.com
      * Several patches were consolidated to prevent
        unnecessary touching of non-related code
      400b8335
  16. 17 Mar, 2014 2 commits
    • Chad Versace's avatar
      egl/main: Enable Linux platform extensions · 468cc866
      Chad Versace authored
      Enable EGL_EXT_platform_base and the Linux platform extensions layered
      atop it: EGL_EXT_platform_x11, EGL_EXT_platform_wayland,
      and EGL_MESA_platform_gbm.
      
      Tested with Piglit's EGL_EXT_platform_base tests under an X11 session.
      To enable running the Wayland and GBM tests, windowed Weston was running
      and the kernel had render nodes enabled.
      
      I regression tested my EGL_EXT_platform_base patch set with Piglit on
      Ivybridge under X11/EGL, standalone Weston, and GBM with rendernodes. No
      regressions found.
      Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
      468cc866
    • Chad Versace's avatar
      egl/main: Stop using EGLNative types internally · 6d1f83ec
      Chad Versace authored
      Internally, much of the EGL code uses EGLNativeDisplayType,
      EGLNativeWindowType, and EGLPixmapType. However, the EGLNative type
      often does not match the variable's actual type.
      
      The concept of EGLNative types are a bad match for Linux, as explained
      below. And the EGL platform extensions don't use EGLNative types at all.
      Those extensions attempt to solve cross-platform issues by moving the
      EGL API away from the EGLNative types.
      
      The core of the problem is that eglplatform.h can define each EGLNative
      type once only, but Linux supports multiple EGL platforms.
      
      To work around the problem, Mesa's eglplatform.h contains multiple
      definitions of each EGLNative type, selected by feature macros. Mesa
      expects EGL clients to set the feature macro approrpiately. But the
      feature macros don't work when a single codebase must be built with
      support for multiple EGL platforms, *such as Mesa itself*.
      
      When building libEGL, autotools chooses the EGLNative typedefs based on
      the first element of '--with-egl-platforms'. For example,
      '--with-egl-platforms=x11,drm,wayland' defines the following:
      
          typedef Display* EGLNativeDisplayType;
          typedef Window   EGLNativeWindowType;
          typedef Pixmap   EGLNativePixmapType;
      
      Clearly, this doesn't work well for Wayland and GBM.  Mesa works around
      the problem by casting the EGLNative types to different things in
      different files.
      
      For sanity's sake, and to prepare for the EGL platform extensions, this
      patch removes from egl/main and egl/dri2 all internal use of the
      EGLNative types. It replaces them with 'void*' and checks each explicit
      cast with a static assertion. Also, the patch touches egl_gallium the
      minimal amount to keep it compatible with eglapi.h.
      Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
      6d1f83ec
  17. 19 Feb, 2014 1 commit
  18. 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
  19. 06 Sep, 2012 1 commit
    • Matt Turner's avatar
      Don't cast the return value of malloc/realloc · 2b7a972e
      Matt Turner authored
      This patch has been generated by the following Coccinelle semantic
      patch:
      
      // Don't cast the return value of malloc/realloc.
      //
      // Casting the return value of malloc/realloc only stands to hide
      // errors.
      
      @@
      type T;
      expression E1, E2;
      @@
      - (T)
      (
      _mesa_align_calloc(E1, E2)
      |
      _mesa_align_malloc(E1, E2)
      |
      calloc(E1, E2)
      |
      malloc(E1)
      |
      realloc(E1, E2)
      )
      2b7a972e
  20. 10 Nov, 2011 1 commit
  21. 20 Sep, 2011 1 commit
    • Chia-I Wu's avatar
      egl: add null platform · 5eca4166
      Chia-I Wu authored
      The null platform has no window or pixmap surface (but pbuffer surface).
      And the only valid display is EGL_DEFAULT_DISPLAY.  It is useful for
      offscreen rendering.  It works everywhere becase no window system is
      required.
      5eca4166
  22. 20 Aug, 2011 1 commit
  23. 15 Aug, 2011 2 commits
    • Benjamin Franzke's avatar
      2e71c7d4
    • Benjamin Franzke's avatar
      egl: Native Display autodetection · 85fe9484
      Benjamin Franzke authored
      EGL doesnt define howto manage different native platforms.
      So mesa has a builtime configurable default platform,
      whith non-standard envvar (EGL_PLATFORM) overwrites.
      This caused unneeded bugreports, when EGL_PLATFORM was forgotten.
      
      Detection is grouped into basic types of NativeDisplays (which itself
      needs to be detected).  The final decision is based on characteristcs
      of these basic types:
      
        File Desciptor based platforms (fbdev):
          - fstat(2) to check for being a fd that belongs to a character device
          - check kernel subsystem (todo)
      
        Pointer to structuctures (x11, wayland, drm/gbm):
          - mincore(2) to check whether its valid pointer to some memory.
          - magic elements (e.g. pointers to exported symbols):
            o wayland display stores interface type pointer (first elm.)
            o gbm stores pointer to its constructor (first elm.)
            o x11 as a fallback (FIXME?)
      Reviewed-by: Kristian H. Kristensen's avatarKristian Høgsberg <krh@bitplanet.net>
      85fe9484
  24. 02 Jul, 2011 1 commit
    • Chia-I Wu's avatar
      egl: add copyright notices · f2001df5
      Chia-I Wu authored
      The list of copyright holders could be incomplete.  Please update
      directly or notify me if your name is missing.
      f2001df5
  25. 07 Feb, 2011 1 commit
  26. 23 Oct, 2010 2 commits
  27. 19 Sep, 2010 1 commit
  28. 30 Jun, 2010 1 commit
  29. 29 Jun, 2010 1 commit
    • Chia-I Wu's avatar
      st/egl: One driver per hardware. · ea05299c
      Chia-I Wu authored
      Merge multiple egl_<platform>_<pipe>.so into a single
      egl_gallium_<pipe>.so.  The environment variable EGL_PLATFORM is now
      used to modify the return value of _eglGetNativePlatform.
      ea05299c
  30. 23 Jun, 2010 1 commit
    • Chia-I Wu's avatar
      egl: Introduce platform displays internally. · f22665df
      Chia-I Wu authored
      This commit introduces type-safe platform displays internally.  A
      platform display consists of a generic pointer and an enum that
      specifies the platform.
      
      An EGLDisplay is created from a platform display.  Native displays
      become platform displays whose platform is determined by
      _eglGetNativePlatform().  Platform windows and pixmaps may also be
      introduced if needed.
      f22665df
  31. 23 Feb, 2010 1 commit
  32. 17 Feb, 2010 2 commits
  33. 01 Feb, 2010 1 commit