diff options
author | Emil Velikov <[email protected]> | 2015-07-24 16:19:55 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-11-01 00:05:43 +0000 |
commit | 7552fcb7b9b98392e6a815ff587f9f2d200d6a37 (patch) | |
tree | e9ce7e95320b3fae6f2527329ddab985da9e6db6 /src/egl/Makefile.sources | |
parent | e55c1bcb08ff30c923f7f1dc6d4283927cdc574c (diff) |
egl: add base EGL_EXT_device_base implementation
Introduce the API for device query and enumeration. Those at the moment
produce nothing useful since zero devices are actually available.
That contradicts with the spec, so the extension isn't advertised just
yet.
With later commits we'll add support for software (always) and hardware
devices. Each one exposing the respective extension string.
v2:
- fold API boilerplate into this patch
- move _eglAddDevice, _eglDeviceSupports, _eglRefreshDeviceList to this
patch (Eric, Mathias)
- make _eglFiniDevice the one called last
v3:
- comment on the dummy _egl_device_extension enum entry (Eric)
- annotate dev as MAYBE_UNUSED (Mathias)
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/egl/Makefile.sources')
-rw-r--r-- | src/egl/Makefile.sources | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/Makefile.sources b/src/egl/Makefile.sources index 82f13ad3cbd..0cc5f1bbfef 100644 --- a/src/egl/Makefile.sources +++ b/src/egl/Makefile.sources @@ -10,6 +10,8 @@ LIBEGL_C_FILES := \ main/eglcurrent.c \ main/eglcurrent.h \ main/egldefines.h \ + main/egldevice.c \ + main/egldevice.h \ main/egldisplay.c \ main/egldisplay.h \ main/egldriver.c \ |