Home
last modified time | relevance | path

Searched refs:device_buffer (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/driver/video/
H A Dmod.rs38 device_buffer: RwLock<ScmBufferInfo>, field
95 self.device_buffer.write(); in init_frame_buffer()
153 pub fn device_buffer(&self) -> RwLockReadGuard<'_, ScmBufferInfo> { in device_buffer() method
154 return self.device_buffer.read(); in device_buffer()
181 let device_buffer: ScmBufferInfo; in video_init() localVariable
185 device_buffer = ScmBufferInfo::new_device_buffer( in video_init()
198 device_buffer = ScmBufferInfo::new_device_buffer( in video_init()
211 device_buffer: RwLock::new(device_buffer), in video_init()
271 if let ScmBuffer::DeviceBuffer(vaddr) = manager.device_buffer().buf { in run()
288 manager.device_buffer().buf_size() as usize, in run()
/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs80 let mut device_buffer = video_refresh_manager().device_buffer().clone(); in new() localVariable
83 device_buffer.flags = buf_type; in new()
84 return Ok(device_buffer); in new()
86 let device_buffer_guard = video_refresh_manager().device_buffer(); in new()
442 let device_buffer = video_refresh_manager().device_buffer().clone(); in true_scm_reinit() localVariable
445 framework.change(device_buffer.clone())?; in true_scm_reinit()
H A Dtextui_no_alloc.rs25 let height = video_refresh_manager().device_buffer().height(); in textui_init_no_alloc()
26 let width = video_refresh_manager().device_buffer().width(); in textui_init_no_alloc()
H A Dtextui.rs308 let depth = video_refresh_manager().device_buffer().bit_depth(); in new()
466 let buf_depth = video_refresh_manager().device_buffer().bit_depth(); in no_init_textui_render_chromatic()
467 let buf_width = video_refresh_manager().device_buffer().width(); in no_init_textui_render_chromatic()
472 if let ScmBuffer::DeviceBuffer(vaddr) = video_refresh_manager().device_buffer().buf { in no_init_textui_render_chromatic()