[Mesa-dev] [PATCH mesa 1/3] gallium-egl: Simplify native_wayland_drm_bufmgr_helper interface

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Fri Jul 19 01:17:50 PDT 2013


On 07/18/2013 10:04 PM, Emil Velikov wrote:
> On 18/07/13 13:11, Ander Conselvan de Oliveira wrote:

[...]

>> +static EGLBoolean
>> +wayland_drm_bufmgr_query_buffer(struct native_display *ndpy,
>> +                                struct wl_buffer *_buffer,
>> +                                EGLint attribute, EGLint *value)
>
> According to
> src/gallium/state_trackers/egl/common/native_wayland_bufmgr.h the
> function should use non EGL variable types
>
>     boolean (*query_buffer)(struct native_display *ndpy,
>                             struct wl_buffer *buffer,
>                             int attribute, int *value);
>
> otherwise the compiler complains a bit :\

The problem was already there before the change. I don't know if there 
is some issue with including EGL types in the native_wayland_bufmgr.h, 
but I just sent a patch to fix this.

Cheers,
Ander
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the mesa-dev mailing list