1. 10 Jul, 2020 2 commits
  2. 01 Jun, 2020 1 commit
  3. 06 Feb, 2020 1 commit
  4. 02 Feb, 2020 1 commit
  5. 05 Nov, 2019 3 commits
  6. 31 Oct, 2019 1 commit
  7. 10 Oct, 2019 1 commit
  8. 25 Sep, 2019 2 commits
  9. 03 Aug, 2019 2 commits
  10. 19 Jul, 2019 1 commit
  11. 10 Jul, 2019 3 commits
  12. 25 Jun, 2019 1 commit
  13. 22 Jun, 2019 2 commits
  14. 05 Jun, 2019 1 commit
    • Emil Velikov's avatar
      egl: add EGL_platform_device support · d6edccee
      Emil Velikov authored
      
      
      This new 'platform' is added by default with no guards.
      
      It is effectively a copy of the surfaceless one, with updated function
      names and brand new probe function.
      
      Due to the reuse, some of the ifdef HAVE_SURFACELESS_PLATFORM guards
      have been dropped.
      
      A worthy mention are the changes in _egFindDisplay, since the original
      and dup'd fd are required, we make use of the plat_opt argument.
      
      Note that no hacks for eglGetDisplay are added - the API works only with
      the eglGetPlatformDisplay* API.
      
      v2:
       - s/_eglCompareDeviceDisplay/_eglSameDeviceDisplay/ (Eric)
       - let ^^ return bool (Eric)
       - fixup meson build, move files() further up (Eric)
       - copy from plat. surfaceless w/o the visual cleanups
       - close and free when destroying the dpy
       - sprinkle a few _eglDeviceSupports
       - split fd handling into separate function
       - use directly the render node if no FD is given (Mathias)
      
      v3:
       - s/dpy/disp/g
       - drop swap_buffers* callbacks
       - drop loader_set_logger()
       - drop local define
       - re-introduce _eglGetDRMDeviceRenderNode()
       - EGL_WARN on ForceSoftware with HW device - continue using the HW device
       - bail out for "EGL_MESA_device_software" until it's fixed
       - wire-up the Android build
      
      v4:
       - use new style _eglFindDisplay()
       - split hw vs sw code paths
       - don't close the internal fd (already handled in FiniDisplay())
       - make swrast work (bit hacky bit will do for now)
       - Android for real, drop autotools
       - Correct HW + LIBGL_ALWAYS_SOFTWARE check
       - use the dri2_create_drawable() helper
      
      v5:
       - enhance comment around fd checks (Mathias)
       - rebase for dri2_init_surface() changes
      
      Cc: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
      Acked-by: Marek Olšák <marek.olsak@amd.com> (v4)
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
      Signed-off-by: default avatarMarek Olšák <marek.olsak@amd.com>
      d6edccee
  15. 03 May, 2019 1 commit
    • Dylan Baker's avatar
      meson: make nm binary optional · ff9bf223
      Dylan Baker authored
      
      
      This makes nm not required, but used if found. In general I imagine that
      this means that on windows nm wont be found, and on other platforms it
      will.
      
      v2: - fix gbm and egl symbols check tests to only be run if nm is found
          - reword commit message to reflect the code change
      Reviewed-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
      ff9bf223
  16. 21 Mar, 2019 1 commit
    • Benjamin Gordon's avatar
      configure.ac/meson.build: Add options for library suffixes · b30aad55
      Benjamin Gordon authored
      
      
      When building the Chrome OS Android container, we need to build copies
      of mesa that don't conflict with the Android system-supplied libraries.
      This adds options to create suffixed versions of EGL and GLES libraries:
      
      libEGL.so -> libEGL${egl-lib-suffix}.so
      libGLESv1_CM.so -> libGLESv1_CM${gles-lib-suffix}.so
      libGLESv2.so -> libGLES${gles-lib-suffix}.so
      
      This is similar to what happens when --enable-libglvnd is specified, but
      without the side effects of linking against libglvnd.  To avoid
      unexpected clashes with the suffixed appended by libglvnd, make it an
      error to specify both --enable-libglvnd and --with-egl-lib-suffix.
      Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
      b30aad55
  17. 26 Feb, 2019 1 commit
  18. 14 Feb, 2019 1 commit
  19. 24 Jan, 2019 1 commit
  20. 13 Jan, 2019 1 commit
  21. 20 Nov, 2018 1 commit
    • Dylan Baker's avatar
      meson: Add tests to suites · a999798d
      Dylan Baker authored
      
      
      Meson test has a concepts of suites, which allow tests to be grouped
      together. This allows for a subtest of tests to be run only (say only
      the tests for nir). A test can be added to more than one suite, but for
      the most part I've only added a test to a single suite, though I've
      added a compiler group that includes nir, glsl, and glcpp tests.
      
      To use this you'll need to invoke meson test directly, instead of ninja
      test (which always runs all targets). it can be invoked as:
      `meson test -C builddir --suite $suitename` (meson test has addition
      options that are pretty useful).
      Tested-By: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Acked-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
      a999798d
  22. 17 Nov, 2018 1 commit
    • Emma Anholt's avatar
      loader: Factor out the common driver opening logic from each loader. · d971a423
      Emma Anholt authored
      I copied the code from egl_dri2.c, but the functionality was equivalent
      between all the loaders other than their particular environment variables.
      
      v2: Drop the logging function equivalent to loader_default_logger()
          (requested by Eric, Emil).  Move the SCons workaround across.  Drop
          the now-unused driGetDriverExtensions() declaration that was lost in a
          rebase.
      
      Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> (v1)
      Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (v1)
      d971a423
  23. 01 Nov, 2018 2 commits
  24. 23 Aug, 2018 1 commit
  25. 22 Aug, 2018 2 commits
  26. 15 Aug, 2018 1 commit
  27. 10 Aug, 2018 1 commit
  28. 18 Jul, 2018 1 commit
  29. 13 Jun, 2018 1 commit
  30. 08 Jun, 2018 1 commit