EGL_KHR_lock_surface
https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf
EGL_KHR_lock_surface

	EGL_READ_SURFACE_BIT_KHR 0x0001
	EGL_WRITE_SURFACE_BIT_KHR 0x0002
	EGL_LOCK_SURFACE_BIT_KHR 0x0080
	EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100
	EGL_MATCH_FORMAT_KHR 0x3043
	EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0
	EGL_FORMAT_RGB_565_KHR 0x30C1
	EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2
	EGL_FORMAT_RGBA_8888_KHR 0x30C3
	EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4
	EGL_LOCK_USAGE_HINT_KHR 0x30C5
	EGL_BITMAP_POINTER_KHR 0x30C6
	EGL_BITMAP_PITCH_KHR 0x30C7
	EGL_BITMAP_ORIGIN_KHR 0x30C8
	EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9
	EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA
	EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB
	EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC
	EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD
	EGL_LOWER_LEFT_KHR 0x30CE
	EGL_UPPER_LEFT_KHR 0x30CF
	EGLBoolean  eglLockSurfaceKHR (EGLDisplay  dpy, EGLSurface  surface, const EGLint * attrib_list)
	EGLBoolean  eglUnlockSurfaceKHR (EGLDisplay  dpy, EGLSurface  surface)
