/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_core.rs | 70 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 …]
|
D | virgl_renderer.rs | 45 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 …]
|
D | gfxstream.rs | 127 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 …]
|
D | rutabaga_2d.rs | 28 ) -> 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
|
D | renderer_utils.rs | 12 use crate::rutabaga_utils::{RutabagaError, RutabagaResult}; 44 pub fn ret_to_res(ret: i32) -> RutabagaResult<()> { in ret_to_res() argument
|
D | rutabaga_utils.rs | 264 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/ |
D | system_gralloc.rs | 23 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()
|
D | gralloc.rs | 185 ) -> 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()
|
D | minigbm.rs | 50 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()
|
D | vulkano_gralloc.rs | 70 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()
|
D | formats.rs | 123 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()
|
D | rendernode.rs | 18 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/ |
D | cross_domain.rs | 52 ) -> 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()
|