Lines Matching refs:GpuResponse
788 pub enum GpuResponse { enum
824 impl From<TubeError> for GpuResponse { implementation
825 fn from(e: TubeError) -> GpuResponse { in from() argument
826 GpuResponse::ErrMsg(e) in from()
830 impl From<RutabagaError> for GpuResponse { implementation
831 fn from(e: RutabagaError) -> GpuResponse { in from() argument
832 GpuResponse::ErrRutabaga(e) in from()
836 impl From<GpuDisplayError> for GpuResponse { implementation
837 fn from(e: GpuDisplayError) -> GpuResponse { in from() argument
838 GpuResponse::ErrDisplay(e) in from()
842 impl From<ExternalMappingError> for GpuResponse { implementation
843 fn from(e: ExternalMappingError) -> GpuResponse { in from() argument
844 GpuResponse::ErrMapping(e) in from()
848 impl From<UdmabufError> for GpuResponse { implementation
849 fn from(e: UdmabufError) -> GpuResponse { in from() argument
850 GpuResponse::ErrUdmabuf(e) in from()
854 impl Display for GpuResponse { implementation
856 use self::GpuResponse::*; in fmt()
911 pub type VirtioGpuResult = std::result::Result<GpuResponse, GpuResponse>;
913 impl GpuResponse { impl
931 GpuResponse::OkDisplayInfo(ref info) => { in encode()
947 GpuResponse::OkCapsetInfo { in encode()
961 GpuResponse::OkCapset(ref data) => { in encode()
966 GpuResponse::OkResourcePlaneInfo { in encode()
1001 GpuResponse::OkResourceUuid { uuid } => { in encode()
1007 GpuResponse::OkMapInfo { map_info } => { in encode()
1027 GpuResponse::OkNoData => VIRTIO_GPU_RESP_OK_NODATA, in get_type()
1028 GpuResponse::OkDisplayInfo(_) => VIRTIO_GPU_RESP_OK_DISPLAY_INFO, in get_type()
1029 GpuResponse::OkCapsetInfo { .. } => VIRTIO_GPU_RESP_OK_CAPSET_INFO, in get_type()
1030 GpuResponse::OkCapset(_) => VIRTIO_GPU_RESP_OK_CAPSET, in get_type()
1031 GpuResponse::OkResourcePlaneInfo { .. } => VIRTIO_GPU_RESP_OK_RESOURCE_PLANE_INFO, in get_type()
1032 GpuResponse::OkResourceUuid { .. } => VIRTIO_GPU_RESP_OK_RESOURCE_UUID, in get_type()
1033 GpuResponse::OkMapInfo { .. } => VIRTIO_GPU_RESP_OK_MAP_INFO, in get_type()
1034 GpuResponse::ErrUnspec => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1035 GpuResponse::ErrMsg(_) => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1036 GpuResponse::ErrSys(_) => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1037 GpuResponse::ErrRutabaga(_) => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1038 GpuResponse::ErrDisplay(_) => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1039 GpuResponse::ErrMapping(_) => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1040 GpuResponse::ErrUdmabuf(_) => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1041 GpuResponse::ErrScanout { num_scanouts: _ } => VIRTIO_GPU_RESP_ERR_UNSPEC, in get_type()
1042 GpuResponse::ErrOutOfMemory => VIRTIO_GPU_RESP_ERR_OUT_OF_MEMORY, in get_type()
1043 GpuResponse::ErrInvalidScanoutId => VIRTIO_GPU_RESP_ERR_INVALID_SCANOUT_ID, in get_type()
1044 GpuResponse::ErrInvalidResourceId => VIRTIO_GPU_RESP_ERR_INVALID_RESOURCE_ID, in get_type()
1045 GpuResponse::ErrInvalidContextId => VIRTIO_GPU_RESP_ERR_INVALID_CONTEXT_ID, in get_type()
1046 GpuResponse::ErrInvalidParameter => VIRTIO_GPU_RESP_ERR_INVALID_PARAMETER, in get_type()