[Mesa-dev] [PATCH 07/30] egl/dri2: call static functions directly, not via _EGLDriver::API
Emil Velikov
emil.l.velikov at gmail.com
Tue Aug 30 14:12:36 UTC 2016
On 25 August 2016 at 17:18, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> The indirection is meant to be used by the core EGL implementation in
> main. Not in the drivers themselves.
>
> Move the dri2_destroy_surface definition to avoid forward declaration of
> the static function.
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> XXX: Aren't we forgetting to Unlink the surface/ctx ?
> XXX: How about sync/image ? We seems to be leaking those on
> eglTerminate, since we don't iterate and Unlink/API.Destroy over them in
> _eglReleaseDisplayResources.
Can we get any confirmation if the above are about right or I've
missed something ?
Thanks
Emil
More information about the mesa-dev
mailing list