Bug 32678 - egl_gallium driver doesn't support EGL_KHR_image_pixmap extension
Summary: egl_gallium driver doesn't support EGL_KHR_image_pixmap extension
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 7.9
Hardware: Other Linux (All)
: medium enhancement
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 00:55 UTC by Jammy Zhou
Modified: 2018-05-01 19:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jammy Zhou 2010-12-27 00:55:42 UTC
EGL_KHR_image_pixmap extension is not supported by egl_gallium driver, only EGL_KHR_image is supported. (EGL_KHR_image_pixmap is supported by egl_dri2 driver, which is not supported on ARM platforms currently)
Comment 1 Jammy Zhou 2010-12-27 01:23:48 UTC
ximage_display_get_param() returns FALSE for NATIVE_PARAM_USE_NATIVE_BUFFER:
static int
ximage_display_get_param(struct native_display *ndpy,
                         enum native_param_type param)
{
   int val;

   switch (param) {
   case NATIVE_PARAM_USE_NATIVE_BUFFER:
      /* private buffers are allocated */
      val = FALSE;
      break;
   default:
      val = 0;
      break;
   }

   return val;
}
Comment 2 Chia-I Wu 2010-12-28 11:39:06 UTC
Yes, a software driver does not support EGL_KHR_image_pixmap.  With XGetImage and some efforts, it may be possible to support the extension.
Comment 3 Cristian Magherusan-Stanciu 2012-01-01 17:44:30 UTC
Hi,

I am interested in getting this EGL extension supported on the client side. I'm playing with Mer/Nemo inside a Virtualbox image and it looks like I need this for getting the compositor to work properly, because the UI is currently broken without it.

So I would like to implement support for it, but I am completely new to Mesa or X11 development(I know a bit of C, though) so I have no idea how to start. Can you provide me any documentation, hints or examples on how I could get this implemented? Any help would be appreciated.

Thanks,
Cristian
Comment 4 Timothy Arceri 2018-05-01 19:41:16 UTC
The gallium EGL state tracker was removed with the following commit. Closing.

commit 5564c361b5cc1f5ec4be3622d7f9be601e3c268a
Author: Jose Fonseca <jfonseca@vmware.com>
Date:   Tue Mar 3 16:01:22 2015 +0000

    st/egl: Remove.
    
    Largely superseeded by src/egl, and
    WGL/GLX_EXT_create_context_es_profile extensions.
    
    Note this will break Android.mk with gallium drivers -- somebody
    familiar with that build infrastructure will need to update it to use
    gallium drivers through egl_dri2.
    
    v2: Remove the _EGL_BUILT_IN_DRIVER_GALLIUM define from
    src/egl/main/Android.mk; and update the src/egl/main/Sconscript to
    create a SharedLibrary, add versioning, create symlink - copy the bits
    from egl-static, per Emil Velikov.
    
    Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
    
    v3: Disallow undefined symbols in libEGL.so.  Update release notes


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.