diff options
author | Chia-I Wu <[email protected]> | 2011-09-20 14:01:26 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-09-20 17:44:15 +0800 |
commit | 5eca41665bbd6deb5ffff011e47ff0cec41916da (patch) | |
tree | f136471780d9a1a54ec5d2e6bf706c1df5f4e474 /src/egl/main/egldisplay.h | |
parent | fb4ceb9638cbedc09446e3c21c15d9dfd72b7a6d (diff) |
egl: add null platform
The null platform has no window or pixmap surface (but pbuffer surface).
And the only valid display is EGL_DEFAULT_DISPLAY. It is useful for
offscreen rendering. It works everywhere becase no window system is
required.
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r-- | src/egl/main/egldisplay.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index cddea803c24..67a2e244e20 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -44,6 +44,7 @@ enum _egl_platform_type { _EGL_PLATFORM_WAYLAND, _EGL_PLATFORM_DRM, _EGL_PLATFORM_FBDEV, + _EGL_PLATFORM_NULL, _EGL_PLATFORM_ANDROID, _EGL_NUM_PLATFORMS, |