On 11 November 2016 at 17:19, Daniel Stone wrote:
> Hi,
>
> On 11 November 2016 at 16:45, Emil Velikov wrote:
>> @@ -174,14 +172,24 @@ dri2_wl_create_surface(_EGLDriver *drv, _EGLDisplay
>> *disp,
>> config = dri2_get_dri_config(dri2_conf, EGL_WINDOW_BIT,
>>
Hi,
On 11 November 2016 at 16:45, Emil Velikov wrote:
> @@ -174,14 +172,24 @@ dri2_wl_create_surface(_EGLDriver *drv, _EGLDisplay
> *disp,
> config = dri2_get_dri_config(dri2_conf, EGL_WINDOW_BIT,
> dri2_surf->base.GLColorspace);
>
> - dri2_surf->dri_drawab
From: Emil Velikov
Rather than having two almost identical codepaths (one for HW/wl_drm and
another for SW/wl_shm), just factorise and reuse in both places.
Signed-off-by: Emil Velikov
---
Another fine example of useless duplication that we have throughout ;-\
---
src/egl/drivers/dri2/platform