mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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
This commit is contained in:
parent
d8ee96c6cb
commit
09fa27cd09
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user