Lines Matching refs:info_2d
164 let info_2d = Rutabaga2DInfo { in create_3d() localVariable
177 info_2d: Some(info_2d), in create_3d()
194 let mut info_2d = resource.info_2d.take().ok_or(RutabagaError::Unsupported)?; in transfer_write() localVariable
210 let src_stride = resource_bpp * info_2d.width; in transfer_write()
213 let dst_stride = resource_bpp * info_2d.width; in transfer_write()
217 info_2d.width, in transfer_write()
218 info_2d.height, in transfer_write()
225 VolatileSlice::new(info_2d.host_mem.as_mut_slice()), in transfer_write()
231 resource.info_2d = Some(info_2d); in transfer_write()
243 let mut info_2d = resource.info_2d.take().ok_or(RutabagaError::Unsupported)?; in transfer_read() localVariable
247 let src_stride = resource_bpp * info_2d.width; in transfer_read()
254 info_2d.width, in transfer_read()
255 info_2d.height, in transfer_read()
265 [VolatileSlice::new(info_2d.host_mem.as_mut_slice())] in transfer_read()
270 resource.info_2d = Some(info_2d); in transfer_read()