eglCreateContext method

Pointer<Void> eglCreateContext(
  1. Pointer<Void> dpy,
  2. Pointer<Void> config,
  3. Pointer<Void> share_context,
  4. Pointer<Int32> attrib_list,
)

Implementation

ffi.Pointer<ffi.Void> eglCreateContext(
  ffi.Pointer<ffi.Void> dpy,
  ffi.Pointer<ffi.Void> config,
  ffi.Pointer<ffi.Void> share_context,
  ffi.Pointer<ffi.Int32> attrib_list,
) {
  return (_eglCreateContext ??=
      _dylib.lookupFunction<_c_eglCreateContext, _dart_eglCreateContext>(
          'eglCreateContext'))(
    dpy,
    config,
    share_context,
    attrib_list,
  );
}