[−][src]Function egls::apis::create_window_surface
pub fn create_window_surface(
display: EGLDisplay,
config: EGLConfig,
win: EGLNativeWindowType,
attrib_list: *const EGLint
) -> Result<EGLSurface, Error>
Create a new EGL window surface.
Parameters
display
- Specifies the EGL display connection.config
- Specifies the EGL frame buffer configuration that defines the frame buffer resource available to the surface.native_window
- Specifies the native window.attrib_list
- Specifies window surface attributes. May be NULL or empty (first attribute is EGL_NONE).