Sign in

    wzzc-dev/moui/backend/common/frame does not have a README file

    WindowFrameHooks

    pub struct WindowFrameHooks {
    prepare_frame : () -> Unit
    finish_presented : (Bool) -> Unit
    request_redraw : () -> Unit
    sync_ime : () -> Unit
    }

    WindowFrameHooks::new

    fn WindowFrameHooks::new(prepare_frame? : () -> Unit, finish_presented? : (Bool) -> Unit, request_redraw? : () -> Unit, sync_ime? : () -> Unit) -> WindowFrameHooks

    WindowFrameState

    pub struct WindowFrameState {
    renderer :
    RendererSession

    hooks : WindowFrameHooks
    surface_generation : Int
    next_sequence : Int
    current_token :
    FrameToken
    ?
    presented_frames : Int
    disposed : Bool
    }

    Per-window frame and renderer-session owner.

    WindowFrameState::accept_present_completions

    Accept asynchronous completions only for the currently pending submission. Stale generations, out-of-order sequences, and duplicate completions have no effect on frame state.

    WindowFrameState::dispose

    fn WindowFrameState::dispose(self : WindowFrameState) -> Unit

    WindowFrameState::new

    WindowFrameState::pending

    fn WindowFrameState::pending(self : WindowFrameState) -> Bool

    WindowFrameState::presented_count

    fn WindowFrameState::presented_count(self : WindowFrameState) -> Int

    WindowFrameState::request_redraw

    fn WindowFrameState::request_redraw(self : WindowFrameState) -> Unit

    WindowFrameState::surface_generation

    fn WindowFrameState::surface_generation(self : WindowFrameState) -> Int

    WindowFrameState::sync_ime

    fn WindowFrameState::sync_ime(self : WindowFrameState) -> Unit

    WindowFrameStates

    pub struct WindowFrameStates {
    // private fields
    }

    Collection owner for per-window frame/session state.

    WindowFrameStates::attach

    WindowFrameStates::count

    fn WindowFrameStates::count(self : WindowFrameStates) -> Int

    WindowFrameStates::dispose_window

    WindowFrameStates::new