egl/dri2: Move dri2_egl_display virtual funcs to vtbl
authorChad Versace <chad.versace@linux.intel.com>
Tue, 28 Jan 2014 19:41:46 +0000 (11:41 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 17 Mar 2014 22:36:03 +0000 (15:36 -0700)
commit90502b18b2b868250ab7e9189810ca42b3c812a1
treed8c18fecf90bdf2665c1cb6e1d14e3e2a81aea0a
parent38848b6217377064665e28441648352c2688edf3
egl/dri2: Move dri2_egl_display virtual funcs to vtbl

dri2_egl_display has only one virtual function, 'authenticate'.  Define
dri2_egl_display::vtbl and move 'authenticate' there.

This prepares for the EGL platform extensions, which will add many
more virtual functions to dri2_egl_display.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_android.c
src/egl/drivers/dri2/platform_drm.c
src/egl/drivers/dri2/platform_wayland.c
src/egl/drivers/dri2/platform_x11.c