dri: Pass in the dlsym()ed driver extension to screen creation.
authorEric Anholt <eric@anholt.net>
Fri, 27 Sep 2013 18:39:25 +0000 (11:39 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 24 Oct 2013 21:04:20 +0000 (14:04 -0700)
commitf93533d118b6dab00022cc9bc1448615a25946dc
treeeac8fb7a9f34ba1f8b14738aef46dfc0184c6dd1
parent67caf36489e29c93ed1a25541944b191ed50df52
dri: Pass in the dlsym()ed driver extension to screen creation.

This will allow a megadrivers build to reference the actual driver being
loaded from the shared dri_util screen creation code.

v2: Fix indentation, fallback case in EGL (review by Emil).

Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (v1)
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
include/GL/internal/dri_interface.h
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/gbm/backends/dri/gbm_dri.c
src/gbm/backends/dri/gbm_driint.h
src/glx/dri2_glx.c
src/glx/drisw_glx.c
src/mesa/drivers/dri/common/dri_util.c