MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_begin_drawing

Function bloom_begin_drawing

native/linux/src/lib.rs:681–692  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

679
680#[no_mangle]
681pub extern "C" fn bloom_begin_drawing() {
682 #[cfg(target_os = "linux")]
683 {
684 x11_impl::poll_events();
685 poll_linux_gamepad();
686 // Apply Q2 cursor shape — mirrors macOS NSCursor calls in its
687 // event loop. set_cursor_shape just stores the value; the X11
688 // cursor only changes when we actually call XDefineCursor.
689 x11_impl::apply_cursor_shape(engine().input.cursor_shape);
690 }
691 engine().begin_frame();
692}
693
694#[no_mangle]
695pub extern "C" fn bloom_end_drawing() {

Callers

nothing calls this directly

Calls 5

poll_linux_gamepadFunction · 0.85
apply_cursor_shapeFunction · 0.85
poll_eventsFunction · 0.70
engineFunction · 0.70
begin_frameMethod · 0.45

Tested by

no test coverage detected