⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

create_app_surface

Function create_app_surface 

Source
pub fn create_app_surface(x: i32, y: i32, w: u32, h: u32) -> (u32, u32, u32)
Expand description

Create a compositor surface backed by a SHM pool + buffer.

Returns (surface_id, pool_id, pool_buf_id) for later use with update_surface_pixels.