[mutter/gnome-3-26] renderer/native: Also allow EGL_KHR_platform_gbm extension string
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-26] renderer/native: Also allow EGL_KHR_platform_gbm extension string
- Date: Thu, 9 Nov 2017 10:20:39 +0000 (UTC)
commit ce7dbfb3d9604dab268ac163601e66ff731ff42f
Author: memeka <mihailescu2m gmail com>
Date: Fri Nov 3 03:59:00 2017 +0000
renderer/native: Also allow EGL_KHR_platform_gbm extension string
Proprietary drivers such as ARM Mali export EGL_KHR_platform_gbm instead
of EGL_MESA_platform_gbm. As such, GBM platform check should be done for
both MESA and non-MESA drivers.
https://bugzilla.gnome.org/show_bug.cgi?id=780668
src/backends/native/meta-renderer-native.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c
index 4d1d890..2756e99 100644
--- a/src/backends/native/meta-renderer-native.c
+++ b/src/backends/native/meta-renderer-native.c
@@ -1879,6 +1879,9 @@ init_gbm (MetaRendererNative *renderer_native,
if (!meta_egl_has_extensions (egl, EGL_NO_DISPLAY, NULL,
"EGL_MESA_platform_gbm",
+ NULL) &&
+ !meta_egl_has_extensions (egl, EGL_NO_DISPLAY, NULL,
+ "EGL_KHR_platform_gbm",
NULL))
{
g_set_error (error, G_IO_ERROR,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]