pub(crate) unsafe fn get_context_attr( egl_display: *const c_void, egl_context: *const c_void, attr: i32, ) -> i32