mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
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 <emil.l.velikov@gmail.com> Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
This commit is contained in:
parent
38cec0303b
commit
8ed08e69bc
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue