EGL_IMAGE_WIDTH_INTEL, EGLDisplayTypeDRMMESA

where is it come from? thanks.


wayland-system-compositor.c:677: error: ‘EGL_IMAGE_WIDTH_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:677: error: (Each undeclared identifier is reported only once
wayland-system-compositor.c:677: error: for each function it appears in.)
wayland-system-compositor.c:678: error: ‘EGL_IMAGE_HEIGHT_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:679: error: ‘EGL_IMAGE_NAME_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:680: error: ‘EGL_IMAGE_STRIDE_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:681: error: ‘EGL_IMAGE_FORMAT_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:712: error: ‘EGL_SYSTEM_IMAGE_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:713: warning: passing argument 3 of ‘eglCreateImageKHR’ makes integer from pointer without a cast
/usr/include/EGL/eglext.h:84: note: expected ‘EGLenum’ but argument is of type ‘EGLint *’
wayland-system-compositor.c: In function ‘init_egl’:
wayland-system-compositor.c:1078: error: ‘EGLDisplayTypeDRMMESA’ undeclared (first use in this function)
wayland-system-compositor.c:1078: warning: statement with no effect
wayland-system-compositor.c:1078: error: expected ‘;’ before ‘display’
wayland-system-compositor.c:1081: error: ‘display’ undeclared (first use in this function)
wayland-system-compositor.c:1081: error: request for member ‘type’ in something not a structure or union
wayland-system-compositor.c:1081: error: ‘EGL_DISPLAY_TYPE_DRM_MESA’ undeclared (first use in this function)
wayland-system-compositor.c:1081: warning: statement with no effect