1. 02 Oct, 2018 1 commit
  2. 21 Mar, 2018 3 commits
  3. 13 Oct, 2017 1 commit
    • Emil Velikov's avatar
      eglmesaext: add forward declaration for struct wl_buffers · 66ebdfbd
      Emil Velikov authored
      The user does not need to know the specifics of the struct, as only a
      pointer to it is used.
      
      Just forward declare the struct making the header self-contained.
      
      v2: Remove deprecation warning text/bugzilla - patch does no help there.
      
      Cc: Greg V <greg@unrelenting.technology>
      Fixes: 5cddb1ce ("wayland: Add an extension to create wl_buffers from
      EGLImages")
      Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
      66ebdfbd
  4. 25 Aug, 2017 1 commit
  5. 11 Aug, 2017 1 commit
  6. 06 Feb, 2017 1 commit
  7. 27 Jan, 2017 2 commits
  8. 05 Dec, 2016 1 commit
  9. 14 Oct, 2016 1 commit
  10. 14 Sep, 2016 1 commit
  11. 09 Mar, 2016 1 commit
  12. 08 Jul, 2015 1 commit
    • Julien Isorce's avatar
      egl: use unix defines on osx with clang · 7d642442
      Julien Isorce authored
      I also created an bug in Khronos 's bugzilla as you suggested:
      https://www.khronos.org/bugzilla/show_bug.cgi?id=1356
      I'll let you know if I get feedback from this bug or else where.
      
      Patch with updated error messages:
      
      [PATCH] eglplatform: treat __APPLE__ the same way as __unix__ to handle X11 types
      
        CC       eglapi.lo
      ./egldisplay.h:258:19: error: unknown type name 'Display'
      _eglGetX11Display(Display *native_display, const EGLint *attrib_list);
      eglapi.c:290:4: error: array size is negative
         STATIC_ASSERT(sizeof(void*) == sizeof(nativeDisplay));
      eglapi.c:291:25: warning: cast to 'void *' from smaller integer type
         'EGLNativeDisplayType' (aka 'int') [-Wint-to-void-pointer-cast]
         native_display_ptr = (void*) nativeDisplay;
      eglapi.c:307:32: error: use of undeclared identifier 'Display'
            dpy = _eglGetX11Display((Display*) native_display, attrib_list);
      eglapi.c:776:35: error: use of undeclared identifier 'Window'
            native_window = (void*) (* (Window*) native_window);
      eglapi.c:847:35: error: use of undeclared identifier 'Pixmap'
            native_pixmap = (void*) (* (Pixmap*) native_pixmap);
      
      Bugzilla Mesa: https://bugs.freedesktop.org/show_bug.cgi?id=90249
      Bugzilla Khronos: https://www.khronos.org/bugzilla/show_bug.cgi?id=1356Signed-off-by: default avatarJulien Isorce <j.isorce@samsung.com>
      Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      7d642442
  13. 05 Jun, 2015 3 commits
  14. 14 May, 2015 2 commits
  15. 11 May, 2015 1 commit
  16. 05 May, 2015 1 commit
  17. 01 Apr, 2015 1 commit
    • Dave Airlie's avatar
      egl: add initial EGL_MESA_image_dma_buf_export v2.4 · 8f7338f2
      Dave Airlie authored
      At the moment to get an EGL image to a dma-buf file descriptor,
      you have to use EGL_MESA_drm_image, and then use libdrm to
      convert this to a file descriptor.
      
      This extension just provides an API modelled on EGL_MESA_drm_image,
      to return a dma-buf file descriptor.
      
      v2: update spec for new API proposal
      add internal queries to get the fourcc back from intel driver.
      
      v2.1: add gallium pieces.
      
      v2.2: add offsets to spec and API, rename fd->fds, stride->strides
      in API. rewrite spec a bit more, add some q/a
      
      v2.3:
      add modifiers to query interface and 64-bit type for that (Daniel Stone)
      specifiy what happens to num fds vs num planes differences. (Chad Versace)
      
      v2.4:
      fix grammar (Daniel Stone)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      8f7338f2
  18. 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
  19. 20 May, 2014 1 commit
  20. 17 Mar, 2014 1 commit
  21. 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
  22. 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
  23. 05 Dec, 2013 1 commit
    • Neil Roberts's avatar
      wayland: Add an extension to create wl_buffers from EGLImages · 5cddb1ce
      Neil Roberts authored
      This adds an extension called EGL_WL_create_wayland_buffer_from_image
      which adds the following single function:
      
      struct wl_buffer *
      eglCreateWaylandBufferFromImageWL(EGLDisplay dpy, EGLImageKHR image);
      
      The function creates a wl_buffer which shares its contents with the given
      EGLImage. The expected use case for this is in a nested Wayland compositor
      which is using subsurfaces to present buffers from its clients. Using this
      extension it can attach the client buffers directly to the subsurface without
      having to blit the contents into an intermediate buffer. The compositing can
      then be done in the parent compositor.
      
      The extension is only implemented in the Wayland EGL platform because of
      course it wouldn't make sense anywhere else.
      5cddb1ce
  24. 17 Sep, 2013 1 commit
  25. 07 Aug, 2013 1 commit
  26. 01 Jul, 2013 1 commit
  27. 07 May, 2013 1 commit
  28. 04 Jan, 2013 1 commit
  29. 15 Nov, 2012 1 commit
  30. 25 Oct, 2012 1 commit
  31. 07 Aug, 2012 1 commit
  32. 06 Aug, 2012 1 commit
  33. 19 Jul, 2012 1 commit
  34. 11 Jul, 2012 1 commit