Home
last modified time | relevance | path

Searched refs:RutabagaResult (Results 1 – 13 of 13) sorted by relevance

/external/crosvm/rutabaga_gfx/src/
Drutabaga_core.rs70 fn create_fence(&mut self, _fence_data: RutabagaFenceData) -> RutabagaResult<()> { in create_fence() argument
86 ) -> RutabagaResult<RutabagaResource> { in create_3d()
95 ) -> RutabagaResult<()> { in attach_backing() argument
112 ) -> RutabagaResult<()> { in transfer_write() argument
124 ) -> RutabagaResult<()> { in transfer_read() argument
136 ) -> RutabagaResult<RutabagaResource> { in create_blob()
142 fn map(&self, _resource_id: u32) -> RutabagaResult<ExternalMapping> { in map()
147 fn export_fence(&self, _fence_id: u32) -> RutabagaResult<RutabagaHandle> { in export_fence()
158 ) -> RutabagaResult<Box<dyn RutabagaContext>> { in create_context()
170 ) -> RutabagaResult<RutabagaResource> { in context_create_blob()
[all …]
Dvirgl_renderer.rs45 fn submit_cmd(&mut self, commands: &mut [u8]) -> RutabagaResult<()> { in submit_cmd() argument
118 fn export_query(resource_id: u32) -> RutabagaResult<Query> { in export_query()
171 ) -> RutabagaResult<Box<dyn RutabagaComponent>> { in init()
221 fn map_info(&self, resource_id: u32) -> RutabagaResult<u32> { in map_info()
235 fn query(&self, resource_id: u32) -> RutabagaResult<Resource3DInfo> { in query()
253 fn export_blob(&self, resource_id: u32) -> RutabagaResult<Arc<RutabagaHandle>> { in export_blob()
309 fn create_fence(&mut self, fence_data: RutabagaFenceData) -> RutabagaResult<()> { in create_fence() argument
324 ) -> RutabagaResult<RutabagaResource> { in create_3d()
362 ) -> RutabagaResult<()> { in attach_backing() argument
395 ) -> RutabagaResult<()> { in transfer_write() argument
[all …]
Dgfxstream.rs127 fn submit_cmd(&mut self, commands: &mut [u8]) -> RutabagaResult<()> { in submit_cmd() argument
203 ) -> RutabagaResult<Box<dyn RutabagaComponent>> { in init()
225 fn map_info(&self, _resource_id: u32) -> RutabagaResult<u32> { in map_info()
239 fn create_fence(&mut self, fence_data: RutabagaFenceData) -> RutabagaResult<()> { in create_fence() argument
255 ) -> RutabagaResult<RutabagaResource> { in create_3d()
293 ) -> RutabagaResult<()> { in attach_backing() argument
327 ) -> RutabagaResult<()> { in transfer_write() argument
364 ) -> RutabagaResult<()> { in transfer_read() argument
415 ) -> RutabagaResult<RutabagaResource> { in create_blob()
433 fn map(&self, resource_id: u32) -> RutabagaResult<ExternalMapping> { in map()
[all …]
Drutabaga_2d.rs28 ) -> RutabagaResult<()> { in transfer_2d() argument
138 pub fn init() -> RutabagaResult<Box<dyn RutabagaComponent>> { in init()
146 fn create_fence(&mut self, fence_data: RutabagaFenceData) -> RutabagaResult<()> { in create_fence() argument
159 ) -> RutabagaResult<RutabagaResource> { in create_3d()
189 ) -> RutabagaResult<()> { in transfer_write() argument
242 ) -> RutabagaResult<()> { in transfer_read() argument
Drenderer_utils.rs12 use crate::rutabaga_utils::{RutabagaError, RutabagaResult};
44 pub fn ret_to_res(ret: i32) -> RutabagaResult<()> { in ret_to_res() argument
Drutabaga_utils.rs264 pub type RutabagaResult<T> = std::result::Result<T, RutabagaError>; typedef
495 pub fn try_clone(&self) -> RutabagaResult<RutabagaHandle> { in try_clone()
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dsystem_gralloc.rs23 pub fn init() -> RutabagaResult<Box<dyn Gralloc>> { in init()
40 ) -> RutabagaResult<ImageMemoryRequirements> { in get_image_memory_requirements()
46 fn allocate_memory(&mut self, reqs: ImageMemoryRequirements) -> RutabagaResult<RutabagaHandle> { in allocate_memory()
Dgralloc.rs185 ) -> RutabagaResult<ImageMemoryRequirements>; in get_image_memory_requirements()
189 fn allocate_memory(&mut self, reqs: ImageMemoryRequirements) -> RutabagaResult<RutabagaHandle>; in allocate_memory()
198 ) -> RutabagaResult<Box<dyn MappedRegion>> { in import_and_map()
221 pub fn new() -> RutabagaResult<RutabagaGralloc> { in new()
300 ) -> RutabagaResult<ImageMemoryRequirements> { in get_image_memory_requirements()
317 ) -> RutabagaResult<RutabagaHandle> { in allocate_memory()
335 ) -> RutabagaResult<Box<dyn MappedRegion>> { in import_and_map()
Dminigbm.rs50 pub fn init() -> RutabagaResult<Box<dyn Gralloc>> { in init()
87 ) -> RutabagaResult<ImageMemoryRequirements> { in get_image_memory_requirements()
136 fn allocate_memory(&mut self, reqs: ImageMemoryRequirements) -> RutabagaResult<RutabagaHandle> { in allocate_memory()
223 pub fn export(&self) -> RutabagaResult<File> { in export()
Dvulkano_gralloc.rs70 pub fn init() -> RutabagaResult<Box<dyn Gralloc>> { in init()
133 ) -> RutabagaResult<(sys::UnsafeImage, MemoryRequirements)> { in create_image()
211 ) -> RutabagaResult<ImageMemoryRequirements> { in get_image_memory_requirements()
301 fn allocate_memory(&mut self, reqs: ImageMemoryRequirements) -> RutabagaResult<RutabagaHandle> { in allocate_memory()
370 ) -> RutabagaResult<Box<dyn MappedRegion>> { in import_and_map()
Dformats.rs123 pub fn planar_layout(&self) -> RutabagaResult<PlanarLayout> { in planar_layout()
145 pub fn vulkan_format(&self) -> RutabagaResult<VulkanFormat> { in vulkan_format()
167 pub fn vulkan_image_aspect(&self, plane: usize) -> RutabagaResult<VulkanImageAspect> { in vulkan_image_aspect()
245 fn stride_from_layout(layout: &PlanarLayout, width: u32, plane: usize) -> RutabagaResult<u32> { in stride_from_layout()
255 ) -> RutabagaResult<ImageMemoryRequirements> { in canonical_image_requirements()
Drendernode.rs18 use crate::rutabaga_utils::{RutabagaError, RutabagaResult};
91 pub fn open_device(undesired: &[&str]) -> RutabagaResult<File> { in open_device()
/external/crosvm/rutabaga_gfx/src/cross_domain/
Dcross_domain.rs52 ) -> RutabagaResult<Box<dyn RutabagaComponent>> { in init()
62 fn initialize(&mut self, cmd_init: &CrossDomainInit) -> RutabagaResult<()> { in initialize() argument
86 ) -> RutabagaResult<()> { in get_image_requirements() argument
142 ) -> RutabagaResult<RutabagaResource> { in context_create_blob()
184 fn submit_cmd(&mut self, commands: &mut [u8]) -> RutabagaResult<()> { in submit_cmd() argument
243 fn context_create_fence(&mut self, fence_data: RutabagaFenceData) -> RutabagaResult<()> { in context_create_fence() argument
290 ) -> RutabagaResult<Box<dyn RutabagaContext>> { in create_context()