diff options
author | Emil Velikov <[email protected]> | 2014-11-07 03:42:15 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-11-07 18:31:23 +0000 |
commit | 8ed08e69bca515e6b116d0306390cdd119acc140 (patch) | |
tree | 79a9deccc7dbaa4259fb99fb6e4ab6b240c91f82 /src | |
parent | 38cec0303be9ef79facbb2c8f73eb6a2f77e82ca (diff) |
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)
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index eceaf1a820c..d795a2fbdf3 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) { |