Home
last modified time | relevance | path

Searched refs:RutabagaError (Results 1 – 15 of 15) sorted by relevance

/external/crosvm/rutabaga_gfx/src/
Drutabaga_core.rs71 Err(RutabagaError::Unsupported) in create_fence()
87 Err(RutabagaError::Unsupported) in create_3d()
113 Err(RutabagaError::Unsupported) in transfer_write()
125 Err(RutabagaError::Unsupported) in transfer_read()
137 Err(RutabagaError::Unsupported) in create_blob()
143 Err(RutabagaError::Unsupported) in map()
148 Err(RutabagaError::Unsupported) in export_fence()
159 Err(RutabagaError::Unsupported) in create_context()
171 Err(RutabagaError::Unsupported) in context_create_blob()
186 Err(RutabagaError::Unsupported) in context_create_fence()
[all …]
Drutabaga_utils.rs117 pub enum RutabagaError { enum
180 impl Display for RutabagaError { implementation
182 use self::RutabagaError::*; in fmt()
233 impl From<IoError> for RutabagaError { implementation
234 fn from(e: IoError) -> RutabagaError { in from() argument
235 RutabagaError::IoError(e) in from()
239 impl From<SysError> for RutabagaError { implementation
240 fn from(e: SysError) -> RutabagaError { in from() argument
241 RutabagaError::SysError(e) in from()
245 impl From<TryFromIntError> for RutabagaError { implementation
[all …]
Dvirgl_renderer.rs47 return Err(RutabagaError::InvalidCommandSize(commands.len())); in submit_cmd()
187 return Err(RutabagaError::AlreadyInUse); in init()
232 Err(RutabagaError::Unsupported) in map_info()
238 return Err(RutabagaError::Unsupported); in query()
268 return Err(RutabagaError::Unsupported); in export_blob()
278 Err(RutabagaError::Unsupported) in export_blob()
522 Err(RutabagaError::Unsupported) in create_blob()
529 Err(e) => Err(RutabagaError::MappingFailed(e)), in map()
551 Err(RutabagaError::Unsupported) in export_fence()
Dmacros.rs13 Err(RutabagaError::CheckedRange {
27 $x.$op($y).ok_or_else(|| RutabagaError::CheckedArithmetic {
Drutabaga_2d.rs194 let mut info_2d = resource.info_2d.take().ok_or(RutabagaError::Unsupported)?; in transfer_write()
199 .ok_or(RutabagaError::Unsupported)?; in transfer_write()
243 let mut info_2d = resource.info_2d.take().ok_or(RutabagaError::Unsupported)?; in transfer_read()
251 let dst_slice = buf.ok_or(RutabagaError::Unsupported)?; in transfer_read()
Drenderer_utils.rs12 use crate::rutabaga_utils::{RutabagaError, RutabagaResult};
47 _ => Err(RutabagaError::ComponentError(ret)), in ret_to_res()
Dgfxstream.rs129 return Err(RutabagaError::InvalidCommandSize(commands.len())); in submit_cmd()
437 Err(e) => Err(RutabagaError::MappingFailed(e)), in map()
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dvulkano_gralloc.rs85 .ok_or(RutabagaError::Unsupported)?; in init()
137 .ok_or(RutabagaError::Unsupported)? in create_image()
141 .ok_or(RutabagaError::Unsupported)? in create_image()
157 return Err(RutabagaError::SpecViolation); in create_image()
162 return Err(RutabagaError::SpecViolation); in create_image()
219 .ok_or(RutabagaError::Unsupported)? in get_image_memory_requirements()
223 .ok_or(RutabagaError::Unsupported)? in get_image_memory_requirements()
278 .ok_or(RutabagaError::Unsupported)? in get_image_memory_requirements()
304 let vulkan_info = reqs.vulkan_info.ok_or(RutabagaError::SpecViolation)?; in allocate_memory()
309 .ok_or(RutabagaError::Unsupported)? in allocate_memory()
[all …]
Dminigbm.rs58 return Err(RutabagaError::SysError(SysError::last())); in init()
98 return Err(RutabagaError::SysError(SysError::last())); in get_image_memory_requirements()
127 return Err(RutabagaError::AlreadyInUse); in get_image_memory_requirements()
143 return Err(RutabagaError::SpecViolation); in allocate_memory()
164 return Err(RutabagaError::SysError(SysError::last())); in allocate_memory()
230 ret => Err(RutabagaError::ComponentError(ret)), in export()
Dformats.rs139 _ => Err(RutabagaError::Unsupported), in planar_layout()
161 _ => Err(RutabagaError::Unsupported), in vulkan_format()
192 _ => Err(RutabagaError::Unsupported), in vulkan_image_aspect()
207 _ => Err(RutabagaError::Unsupported), in vulkan_image_aspect()
209 _ => Err(RutabagaError::Unsupported), in vulkan_image_aspect()
Dgralloc.rs199 Err(RutabagaError::Unsupported) in import_and_map()
306 .ok_or(RutabagaError::Unsupported)?; in get_image_memory_requirements()
323 .ok_or(RutabagaError::Unsupported)?; in allocate_memory()
339 .ok_or(RutabagaError::Unsupported)?; in import_and_map()
Drendernode.rs18 use crate::rutabaga_utils::{RutabagaError, RutabagaResult};
108 Err(RutabagaError::Unsupported) in open_device()
/external/crosvm/rutabaga_gfx/src/cross_domain/
Dcross_domain.rs64 return Err(RutabagaError::InvalidResourceId); in initialize()
70 let channels = self.channels.take().ok_or(RutabagaError::SpecViolation)?; in initialize()
74 .ok_or(RutabagaError::SpecViolation)? in initialize()
117 .ok_or(RutabagaError::InvalidResourceId)?; in get_image_requirements()
122 .ok_or(RutabagaError::InvalidIovec)?; in get_image_requirements()
146 .ok_or(RutabagaError::SpecViolation)?; in context_create_blob()
149 return Err(RutabagaError::SpecViolation); in context_create_blob()
204 _ => return Err(RutabagaError::Unsupported), in submit_cmd()
/external/crosvm/devices/src/virtio/gpu/
Dprotocol.rs22 use rutabaga_gfx::RutabagaError;
810 ErrRutabaga(RutabagaError),
830 impl From<RutabagaError> for GpuResponse {
831 fn from(e: RutabagaError) -> GpuResponse { in from()
/external/crosvm/src/
Dlinux.rs107 CreateGrallocError(rutabaga_gfx::RutabagaError),