Searched refs:ScmBufferFlag (Results 1 – 2 of 2) sorted by relevance
35 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() argument231 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()
8 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()