Home
last modified time | relevance | path

Searched refs:capset_mask (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/devices/src/virtio/gpu/
Dparameters.rs23 pub fn serialize<S>(capset_mask: &u64, serializer: S) -> Result<S::Ok, S::Error> in serialize()
27 let context_types = rutabaga_gfx::calculate_capset_names(*capset_mask).join(":"); in serialize()
77 pub capset_mask: u64, field
101 capset_mask: 0, in default()
125 let capset_mask = CapsetMask { value: CAPSET_MASK }; in capset_mask_serialize_deserialize() localVariable
127 assert_eq!(to_string(&capset_mask).unwrap(), SERIALIZED_CAPSET_MASK); in capset_mask_serialize_deserialize()
130 capset_mask in capset_mask_serialize_deserialize()
Dmod.rs1077 capset_mask: u64, field
1130 let rutabaga_builder = RutabagaBuilder::new(component, gpu_parameters.capset_mask) in new()
1169 capset_mask: gpu_parameters.capset_mask, in new()
1210 let num_capsets = match self.capset_mask { in get_config()
1234 _ => self.capset_mask.count_ones(), in get_config()
1313 if self.rutabaga_component != RutabagaComponentType::Rutabaga2D || self.capset_mask != 0 { in features()
/external/crosvm/rutabaga_gfx/src/
Drutabaga_core.rs267 let mut capset_mask = 0; in calculate_capset_mask() localVariable
270 capset_mask |= 1 << capset.capset_id; in calculate_capset_mask()
274 capset_mask in calculate_capset_mask()
277 pub fn calculate_capset_names(capset_mask: u64) -> Vec<String> { in calculate_capset_names()
280 .filter(|capset| capset_mask & (1 << capset.capset_id) != 0) in calculate_capset_names()
776 capset_mask: u64, field
782 pub fn new(default_component: RutabagaComponentType, capset_mask: u64) -> RutabagaBuilder { in new()
794 capset_mask, in new()
909 |capset_id: u32| -> bool { (self.capset_mask & (1 << capset_id)) != 0 }; in build()
916 if self.capset_mask != 0 { in build()
[all …]
/external/crosvm/rutabaga_gfx/ffi/src/tests/
Drutabaga_test.c73 static int test_rutabaga_init(struct rutabaga_test *test, uint64_t capset_mask) in test_rutabaga_init() argument
80 builder.capset_mask = capset_mask; in test_rutabaga_init()
81 if (capset_mask & (1 << RUTABAGA_CAPSET_CROSS_DOMAIN)) { in test_rutabaga_init()
94 if (capset_mask & (1 << RUTABAGA_CAPSET_CROSS_DOMAIN)) in test_rutabaga_init()
/external/crosvm/rutabaga_gfx/ffi/src/
Dlib.rs102 pub capset_mask: u64, field
142 if (*builder).capset_mask == 0 { in rutabaga_init()
146 let result = RutabagaBuilder::new(component_type, (*builder).capset_mask) in rutabaga_init()
/external/crosvm/rutabaga_gfx/ffi/src/include/
Drutabaga_gfx_ffi.h164 uint64_t capset_mask; member
/external/crosvm/src/crosvm/
Dgpu_config.rs415 gpu_params.capset_mask, in parse_gpu_options_context_types()