[Mesa-dev] [PATCH v2 1/8] egl: add dri2_egl_surface_free_outdated_buffers_and_update_size() helper (v2)

Emil Velikov emil.l.velikov at gmail.com
Tue Oct 17 13:28:26 UTC 2017


Hi Gwan-gyeong,

On 6 October 2017 at 22:38, Gwan-gyeong Mun <elongbug at gmail.com> wrote:
> To share common free outdated buffers and update size code.
> This compares width and height arguments with current egl surface dimension,
> if the compared surface dimension is differ, then it free local buffers and
> updates dimension.
>
> In preparation to adding of new platform which uses this helper.
>
> v2: Fixes from Eric's review:
>    a) Split out series of refactor for helpers to a separate series.
>    b) Add the new helper function and use them to replace the old code in the
>       same patch.
>
> Signed-off-by: Mun Gwan-gyeong <elongbug at gmail.com>

The name dri2_egl_surface_free_outdated_buffers_and_update_size might
be a bit long/too verbose, but I'm out of ideas for alternative.
For the patch
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Side note:
We should be able to reuse this for platform_wayland, in the future.

-Emil


More information about the mesa-dev mailing list