diff options
author | Emil Velikov <[email protected]> | 2019-05-16 18:01:38 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-06-05 13:35:21 -0400 |
commit | 2282ec0ad6581b588f7bdde1211357123316b4b9 (patch) | |
tree | 6a616d684144153b71d1ac762352a315d2fe1423 /src/egl/main/egldevice.c | |
parent | 5e0f527d609c8300b0308e4400ec41ef20ed569c (diff) |
egl/dri: flesh out and use dri2_create_drawable()
Wrap the loader->createNewDrawable() dance into a helper and use it
throughout the codebase.
This addresses a cases like surfaceless (SL) on swrast (SL on kms_swrast
is fine) where we'd attempt using the wrong driver and crash out.
v2: fixup quirky GBM (Mathias)
v3: fixup GBM for real (Marek)
Cc: [email protected]
Cc: Mathias Fröhlich <[email protected]>
Reviewed-by: Mathias Fröhlich <[email protected]> (v1)
Reviewed-by: Marek Olšák <[email protected]> (v1)
Signed-off-by: Emil Velikov <[email protected]> (v2)
Signed-off-by: Marek Olšák <[email protected]> (v2)
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/main/egldevice.c')
0 files changed, 0 insertions, 0 deletions