1. 03 Apr, 2012 1 commit
  2. 27 Mar, 2012 3 commits
  3. 07 Mar, 2012 1 commit
    • Benjamin Franzke's avatar
      gbm_dri: Fix DRIimage lookup callback · ab6e0819
      Benjamin Franzke authored
      That is by making the dri extension variables static in gbm_dri.c.
      
      The image_lookup_extension is provided by egl_dri2 when using x11 or wayland
      platforms, when using the drm platform, gbm_dri has a wrapper for it.
      Both use the same variables name image_lookup_extension.
      
      Since -fvisibility=hidden was (probably by mistake) removed when converting to
      automake, the "image_lookup_extension" symbol from egl_dri2.c became exported
      in libEGL.so, so "image_lookup_extension" from gbm_dri.c was ignored.
      This resulted in calling incorrect callbacks.
      
      We cant make the image_lookup_extension static in egl_dri2.c right now,
      since its used across multiple files.
      
      Bugzilla: https://bugs.freedesktop.org/attachment.cgi?id=58099
      
      Reviewed-by: Kristian H. Kristensen's avatarKristian Høgsberg <krh@bitplanet.net>
      ab6e0819
  4. 05 Mar, 2012 3 commits
  5. 30 Jan, 2012 1 commit
    • Benjamin Franzke's avatar
      st/dri: Support 24bit formats in dri2_allocate_buffer · c72d7df1
      Benjamin Franzke authored
      Prior commit 57616128,
      the parameter format was bpp, thus both 24bit and 32bit formats were
      requested with format set to 32. Handle 24bit seperately now.
      
      Fixes RGBX formats in wayland platform for egl_dri2 (EGL_ALPHA_SIZE=0).
      
      Note: This is a candidate for the 8.0 branch.
      c72d7df1
  6. 26 Jan, 2012 3 commits
  7. 25 Jan, 2012 1 commit
  8. 24 Jan, 2012 3 commits
  9. 13 Dec, 2011 1 commit
  10. 02 Nov, 2011 4 commits
  11. 08 Sep, 2011 2 commits
  12. 01 Sep, 2011 2 commits
  13. 31 Aug, 2011 1 commit
  14. 29 Aug, 2011 1 commit
  15. 16 Aug, 2011 2 commits
  16. 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
  17. 04 Aug, 2011 2 commits
  18. 27 Jul, 2011 1 commit
  19. 25 Jul, 2011 1 commit
  20. 02 Jul, 2011 4 commits
  21. 27 Jun, 2011 1 commit