Re: [Mesa-dev] [PATCH v3 1/3] Add support for swrast to the DRM EGL platform

2014-07-02 Thread Andreas Pokorny
2014-07-02 18:48 GMT+02:00 Emil Velikov : > On 02/07/14 13:11, Andreas Pokorny wrote: > > Hi, > > Still trying the patch. Meanwhile I found two more things here: > > > > [...] > > > > The driver_name is later freed with free, so to avoid abort strdup should > > be necessary. > > > The free snuck i

Re: [Mesa-dev] [PATCH v3 1/3] Add support for swrast to the DRM EGL platform

2014-07-02 Thread Emil Velikov
On 02/07/14 13:11, Andreas Pokorny wrote: > Hi, > Still trying the patch. Meanwhile I found two more things here: > > > 2014-06-15 13:49 GMT+02:00 Giovanni Campagna : > >> From: Giovanni Campagna >> [..] >> static int >> +dri_screen_create_swrast(struct gbm_dri_device *dri) >> +{ >> + int re

Re: [Mesa-dev] [PATCH v3 1/3] Add support for swrast to the DRM EGL platform

2014-07-02 Thread Andreas Pokorny
Hi, Still trying the patch. Meanwhile I found two more things here: 2014-06-15 13:49 GMT+02:00 Giovanni Campagna : > From: Giovanni Campagna > [..] > static int > +dri_screen_create_swrast(struct gbm_dri_device *dri) > +{ > + int ret = 0; > + > + dri->base.driver_name = "swrast"; > + > +

[Mesa-dev] [PATCH v3 1/3] Add support for swrast to the DRM EGL platform

2014-06-15 Thread Giovanni Campagna
From: Giovanni Campagna Turn GBM into a swrast loader (providing putimage/getimage backed by a dumb KMS buffer). This allows to run KMS+DRM GL applications (such as weston or mutter-wayland) unmodified on cards that don't have any client side HW acceleration component but that can do modeset (exa