eglSwapBuffers method

int eglSwapBuffers(
  1. Pointer<Void> dpy,
  2. Pointer<Void> surface
)

Implementation

int eglSwapBuffers(
  ffi.Pointer<ffi.Void> dpy,
  ffi.Pointer<ffi.Void> surface,
) {
  return (_eglSwapBuffers ??=
      _dylib.lookupFunction<_c_eglSwapBuffers, _dart_eglSwapBuffers>(
          'eglSwapBuffers'))(
    dpy,
    surface,
  );
}