[Mesa-dev] [PATCH] [RFC] egl: propose simple EGL_MESA_image_dma_buf_export v2.2

Chad Versace chad.versace at intel.com
Tue Mar 3 10:40:17 PST 2015


On 03/03/2015 12:13 AM, Daniel Stone wrote:
> Hi,
> 
> On Tuesday, March 3, 2015, Dave Airlie <airlied at gmail.com <mailto:airlied at gmail.com>> wrote:
> 
>     +    EGLBoolean eglExportDMABUFImageQueryMESA(EGLDisplay dpy,
>     +                                  EGLImageKHR image,
>     +                                 int *fourcc,
>     +                                 int *num_planes);
> 
> 
> Shouldn't this contain the modifier(s) as well?

What is the motivation for defining two export calls, and exporting
a subset of information from each call? I don't understand why the
fourcc values are exported by one call, but the strides exported a
separate call.


More information about the mesa-dev mailing list