Module: Mesa Branch: master Commit: 8ed08e69bca515e6b116d0306390cdd119acc140 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ed08e69bca515e6b116d0306390cdd119acc140
Author: Emil Velikov <[email protected]> Date: Fri Nov 7 03:42:15 2014 +0000 egl_dri2: add a note about dri2_create_screen The function is not called by platform_drm. As such one needs to pay special attention at teardown. v2: Fix the comment block. Spotted by Ken. Signed-off-by: Emil Velikov <[email protected]> Reviewed-and-tested-by: Kenneth Graunke <[email protected]> (v1) --- src/egl/drivers/dri2/egl_dri2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index eceaf1a..d795a2f 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -543,6 +543,10 @@ dri2_setup_screen(_EGLDisplay *disp) } } +/* All platforms but DRM call this function to create the screen, query the + * dri extensions, setup the vtables and populate the driver_configs. + * DRM inherits all that information from its display - GBM. + */ EGLBoolean dri2_create_screen(_EGLDisplay *disp) { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
