Searched refs:ScmBufferInfo (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/driver/video/ |
H A D | mod.rs | 8 lib_ui::screen_manager::{ScmBuffer, ScmBufferFlag, ScmBufferInfo}, 38 device_buffer: RwLock<ScmBufferInfo>, 94 let mut frame_buffer_info_guard: crate::libs::rwlock::RwLockWriteGuard<ScmBufferInfo> = in init_frame_buffer() 137 pub fn set_refresh_target(&self, buf_info: &ScmBufferInfo) -> Result<(), SystemError> { in set_refresh_target() 153 pub fn device_buffer(&self) -> RwLockReadGuard<'_, ScmBufferInfo> { in device_buffer() argument 181 let device_buffer: ScmBufferInfo; in video_init() 185 device_buffer = ScmBufferInfo::new_device_buffer( in video_init() 198 device_buffer = ScmBufferInfo::new_device_buffer( in video_init()
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | screen_manager.rs | 57 pub struct ScmBufferInfo { struct 68 impl ScmBufferInfo { implementation 164 pub fn copy_from_nonoverlapping(&mut self, src: &ScmBufferInfo) { in copy_from_nonoverlapping() argument 219 pub buf_info: ScmBufferInfo, 230 buf_info: ScmBufferInfo::new( in new() 242 pub fn buf_info(&self) -> ScmBufferInfo { in buf_info() argument 245 pub fn set_buf_info(&mut self, buf_info: ScmBufferInfo) { in set_buf_info() argument 268 fn change(&self, _buf: ScmBufferInfo) -> Result<i32, SystemError> { in change() 352 let buf_info = ScmBufferInfo::new(ScmBufferFlag::SCM_BF_DB | ScmBufferFlag::SCM_BF_PIXEL)?; in scm_enable_double_buffer() 369 ScmBufferInfo::new(ScmBufferFlag::SCM_BF_DB | ScmBufferFlag::SCM_BF_PIXEL)?; in scm_enable_double_buffer()
|
H A D | textui.rs | 26 scm_register, ScmBuffer, ScmBufferInfo, ScmFramworkType, ScmUiFramework, 306 pub fn new(buf: &mut ScmBufferInfo) -> TextuiBuf { in new() 978 fn change(&self, buf_info: ScmBufferInfo) -> Result<i32, SystemError> { in change()
|
/DragonOS/docs/kernel/libs/lib_ui/ |
H A D | scm.md | 31 fn change(&self, _buf: ScmBufferInfo) -> Result<i32, SystemError> {
|