Lines Matching refs:GfxstreamFlags
361 pub struct GfxstreamFlags(u32); struct
363 impl GfxstreamFlags { impl
365 pub fn new() -> GfxstreamFlags { in new()
366 GfxstreamFlags(0) in new()
369 fn set_flag(self, bitmask: u32, set: bool) -> GfxstreamFlags { in set_flag() argument
371 GfxstreamFlags(self.0 | bitmask) in set_flag()
373 GfxstreamFlags(self.0 & (!bitmask)) in set_flag()
378 pub fn use_egl(self, v: bool) -> GfxstreamFlags { in use_egl() argument
383 pub fn use_glx(self, v: bool) -> GfxstreamFlags { in use_glx() argument
388 pub fn use_surfaceless(self, v: bool) -> GfxstreamFlags { in use_surfaceless() argument
393 pub fn use_gles(self, v: bool) -> GfxstreamFlags { in use_gles() argument
398 pub fn use_syncfd(self, v: bool) -> GfxstreamFlags { in use_syncfd() argument
403 pub fn use_vulkan(self, v: bool) -> GfxstreamFlags { in use_vulkan() argument
408 pub fn use_guest_angle(self, v: bool) -> GfxstreamFlags { in use_guest_angle() argument
413 impl From<GfxstreamFlags> for i32 {
414 fn from(flags: GfxstreamFlags) -> i32 { in from()