[mutter] egl: Add stream-related error descriptions
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] egl: Add stream-related error descriptions
- Date: Sat, 4 Mar 2017 10:34:46 +0000 (UTC)
commit 09fa27cd09164653811eeadaaf000b87f9574da4
Author: Miguel A. Vico <mvicomoya nvidia com>
Date: Wed Feb 1 18:07:12 2017 -0800
egl: Add stream-related error descriptions
This change adds descriptions for the following errors to
get_egl_error_str():
- EGL_BAD_STREAM_KHR
- EGL_BAD_STATE_KHR
- EGL_BAD_DEVICE_EXT
- EGL_BAD_OUTPUT_LAYER_EXT
https://bugzilla.gnome.org/show_bug.cgi?id=779112
src/backends/meta-egl.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/meta-egl.c b/src/backends/meta-egl.c
index ca687c6..92613db 100644
--- a/src/backends/meta-egl.c
+++ b/src/backends/meta-egl.c
@@ -122,6 +122,17 @@ get_egl_error_str (EGLint error_number)
case EGL_CONTEXT_LOST:
return "A power management event has occurred. The application must destroy all contexts and
reinitialise OpenGL ES state and objects to continue rendering. ";
break;
+ case EGL_BAD_STREAM_KHR:
+ return "An EGLStreamKHR argument does not name a valid EGL stream.";
+ break;
+ case EGL_BAD_STATE_KHR:
+ return "An EGLStreamKHR argument is not in a valid state";
+ break;
+ case EGL_BAD_DEVICE_EXT:
+ return "An EGLDeviceEXT argument does not name a valid EGL device.";
+ break;
+ case EGL_BAD_OUTPUT_LAYER_EXT:
+ return "An EGLOutputLayerEXT argument does not name a valid EGL output layer.";
default:
return "Unknown error";
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]