Home
last modified time | relevance | path

Searched refs:ScmBufferFlag (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs35 pub struct ScmBufferFlag:u8 {
64 flags: ScmBufferFlag, // 帧缓冲区标志位
78 pub fn new(mut buf_type: ScmBufferFlag) -> Result<Self, SystemError> { in new()
81 buf_type.remove(ScmBufferFlag::SCM_BF_DB); in new()
82 buf_type.insert(ScmBufferFlag::SCM_BF_FB); in new()
92 assert!(buf_type.contains(ScmBufferFlag::SCM_BF_DB)); in new()
124 buf_type: ScmBufferFlag, in new_device_buffer() argument
231 ScmBufferFlag::SCM_BF_TEXT | ScmBufferFlag::SCM_BF_DB, in new()
354 let buf_info = ScmBufferInfo::new(ScmBufferFlag::SCM_BF_DB | ScmBufferFlag::SCM_BF_PIXEL)?; in scm_enable_double_buffer()
371 ScmBufferInfo::new(ScmBufferFlag::SCM_BF_DB | ScmBufferFlag::SCM_BF_PIXEL)?; in scm_enable_double_buffer()
/DragonOS/kernel/src/driver/video/
H A Dmod.rs8 lib_ui::screen_manager::{ScmBuffer, ScmBufferFlag, ScmBufferInfo},
180 let buf_flag: ScmBufferFlag; in video_init()
184 buf_flag = ScmBufferFlag::SCM_BF_TEXT | ScmBufferFlag::SCM_BF_FB; in video_init()
197 buf_flag = ScmBufferFlag::SCM_BF_PIXEL | ScmBufferFlag::SCM_BF_FB; in video_init()