public void GetSurfaceDimensions(out int width, out int height) { Egl.eglQuerySurface(eglDisplay, eglSurface, Egl.EGL_WIDTH, out width); Egl.eglQuerySurface(eglDisplay, eglSurface, Egl.EGL_HEIGHT, out height); }