std::string toString(HWC3::Error error) { switch (error) { case HWC3::Error::None: return"None"; case HWC3::Error::BadConfig: return"BadConfig"; case HWC3::Error::BadDisplay: return"BadDisplay"; case HWC3::Error::BadLayer: return"BadLayer"; case HWC3::Error::BadParameter: return"BadParameter"; case HWC3::Error::NoResources: return"NoResources"; case HWC3::Error::NotValidated: return"NotValidated"; case HWC3::Error::Unsupported: return"Unsupported"; case HWC3::Error::SeamlessNotAllowed: return"SeamlessNotAllowed";
}
}
common::PixelFormat GetHostDisplayPixelFormat() { // The virtio gpu kernel module only supports the BGRA and BGRX formats // (see drivers/gpu/drm/virtio/virtgpu_display.c). Historically, Cuttlefish // maintained an out of tree patch (aosp/1106608) to allow using RGBA and // the Cuttlefish webrtc server treated all buffers as RGBA. In order to // not break older guests and to not break Goldfish which may not yet be // on virtio gpu, the format is configurable here.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.