summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-10-18 16:32:33 +0100
committerEric Engestrom <[email protected]>2018-10-31 11:01:54 +0000
commita96749b13ca9446155964ddd32379251b822f6f8 (patch)
tree1c89e2b12a86942d7344136da02f03d722e61d77 /src/egl/drivers
parentcb0980e69aa921af7086e5d00a547735bc3229e2 (diff)
egl: drop EGL driver `name`
This is a revert of Marek's 2cb9ab53dd3ae6850a26 revert. It was needed to revert the previous commit, and didn't have any issue itself. -- The "DRI2" name was reported as confusing when printing EGL infos (one user reported thinking DRI3 was not working on his X server), and the only alternative is Haiku, which can only be used on a Haiku machine. The name therefore doesn't add any information that the user wouldn't know already, so let's just drop it. Suggested-by: Emil Velikov <[email protected]> Related-to: b174a1ae720cb404738c ("egl: Simplify the "driver" interface") Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Kai Wasserbäch <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index e38459de0b1..87e1a704c6e 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -3309,6 +3309,4 @@ _eglInitDriver(_EGLDriver *dri2_drv)
dri2_drv->API.GLInteropExportObject = dri2_interop_export_object;
dri2_drv->API.DupNativeFenceFDANDROID = dri2_dup_native_fence_fd;
dri2_drv->API.SetBlobCacheFuncsANDROID = dri2_set_blob_cache_funcs;
-
- dri2_drv->Name = "DRI2";
}
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
index 590e43f00fb..0b56653395a 100644
--- a/src/egl/drivers/haiku/egl_haiku.cpp
+++ b/src/egl/drivers/haiku/egl_haiku.cpp
@@ -325,7 +325,5 @@ _eglInitDriver(_EGLDriver *driver)
driver->API.SwapBuffers = haiku_swap_buffers;
- driver->Name = "Haiku";
-
TRACE("API Calls defined\n");
}