egl: Add _EGLResource and _EGLResourceType.

Resources are objects managed by a display.  They can be linked to or
unlinked from a display.  It is also possible to check if a resource is
valid.
3 files changed