Lines Matching refs:VirglRendererFlags
279 pub struct VirglRendererFlags(u32); struct
281 impl Default for VirglRendererFlags { implementation
282 fn default() -> VirglRendererFlags { in default()
283 VirglRendererFlags::new() in default()
292 impl From<VirglRendererFlags> for i32 {
293 fn from(flags: VirglRendererFlags) -> i32 { in from()
298 impl VirglRendererFlags { impl
300 pub fn new() -> VirglRendererFlags { in new()
301 VirglRendererFlags(0) in new()
304 fn set_flag(self, bitmask: u32, set: bool) -> VirglRendererFlags { in set_flag() argument
306 VirglRendererFlags(self.0 | bitmask) in set_flag()
308 VirglRendererFlags(self.0 & (!bitmask)) in set_flag()
313 pub fn use_virgl(self, v: bool) -> VirglRendererFlags { in use_virgl() argument
318 pub fn use_venus(self, v: bool) -> VirglRendererFlags { in use_venus() argument
323 pub fn use_egl(self, v: bool) -> VirglRendererFlags { in use_egl() argument
328 pub fn use_glx(self, v: bool) -> VirglRendererFlags { in use_glx() argument
333 pub fn use_surfaceless(self, v: bool) -> VirglRendererFlags { in use_surfaceless() argument
338 pub fn use_gles(self, v: bool) -> VirglRendererFlags { in use_gles() argument
343 pub fn use_external_blob(self, v: bool) -> VirglRendererFlags { in use_external_blob() argument