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.c | |
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.c')
-rw-r--r-- | src/egl/main/egldisplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 1d05e57c429..39ba8830cda 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -73,6 +73,7 @@ static const struct { { _EGL_PLATFORM_WAYLAND, "wayland" }, { _EGL_PLATFORM_DRM, "drm" }, { _EGL_PLATFORM_FBDEV, "fbdev" }, + { _EGL_PLATFORM_NULL, "null" }, { _EGL_PLATFORM_ANDROID, "android" } }; |