INNER CODE UNIT · Rust

notify_displays

denialwm/denial · compositor/flutter-engine/src/lib.rs:722

    pub fn notify_displays(
        &self,
        update_type: sys::FlutterEngineDisplaysUpdateType,
        displays: &[sys::FlutterEngineDisplay],
    ) -> Result<(), EngineError> {
        let function = self
            .library
            .table
            .NotifyDisplayUpdate
            .expect("validated Flutter proc table");
        // SAFETY: the slice remains readable for the synchronous call.
        check_result("NotifyDisplayUpdate", unsafe {
            function(self.handle, update_type, displays.as_ptr(), displays.len())
        })
    }

    pub fn send_pointer_events(
        &self,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…