Android-cuttlefish cvd tool
|
Classes | |
struct | AngleFeatureOverrides |
struct | AngleFeatures |
struct | VhostUserGpuHostRendererFeatures |
Enumerations | |
enum class | RenderingMode { kNone , kCustom , kGuestSwiftShader , kGfxstream , kGfxstreamGuestAngle , kGfxstreamGuestAngleHostSwiftshader , kGfxstreamGuestAngleHostLavapipe , kVirglRenderer } |
Functions | |
CF_UNUSED_ON_MACOS Result< RenderingMode > | GetRenderingMode (const std::string &mode) |
std::ostream & | operator<< (std::ostream &stream, const AngleFeatures &features) |
Result< AngleFeatures > | GetNeededAngleFeaturesBasedOnQuirks (const RenderingMode mode, const ::gfxstream::proto::GraphicsAvailability &availability) |
std::string | ToLower (const std::string &v) |
bool | IsLikelySoftwareRenderer (const std::string &renderer) |
CF_UNUSED_ON_MACOS bool | ShouldEnableAcceleratedRendering (const ::gfxstream::proto::GraphicsAvailability &availability) |
CF_UNUSED_ON_MACOS Result< AngleFeatureOverrides > | GetNeededAngleFeatures (const RenderingMode mode, const ::gfxstream::proto::GraphicsAvailability &availability) |
CF_UNUSED_ON_MACOS Result< VhostUserGpuHostRendererFeatures > | GetNeededVhostUserGpuHostRendererFeatures (RenderingMode mode, const ::gfxstream::proto::GraphicsAvailability &availability) |
Result< std::string > | SelectGpuMode (const std::string &gpu_mode_arg, VmmMode vmm, const GuestConfig &guest_config, const gfxstream::proto::GraphicsAvailability &graphics_availability) |
Result< bool > | SelectGpuVhostUserMode (const std::string &gpu_mode, const std::string &gpu_vhost_user_mode_arg, VmmMode vmm) |
Result< GuestRendererPreload > | SelectGuestRendererPreload (const std::string &gpu_mode, const GuestHwuiRenderer guest_hwui_renderer, const std::string &guest_renderer_preload_arg) |
Result< std::string > | GraphicsDetectorBinaryPath () |
bool | IsAmdGpu (const gfxstream::proto::GraphicsAvailability &availability) |
CF_UNUSED_ON_MACOS Result< std::unordered_map< std::string, bool > > | ParseGfxstreamRendererFlag (const std::string &gpu_renderer_features_arg) |
CF_UNUSED_ON_MACOS std::string | GetGfxstreamRendererFeaturesString (const std::unordered_map< std::string, bool > &features) |
CF_UNUSED_ON_MACOS Result< void > | SetGfxstreamFlags (const std::string &gpu_mode, const std::string &gpu_renderer_features_arg, const GuestConfig &guest_config, const gfxstream::proto::GraphicsAvailability &availability, CuttlefishConfig::MutableInstanceSpecific &instance) |
Variables | |
const std::string | kGfxstreamTransportAsg = "virtio-gpu-asg" |
const std::string | kGfxstreamTransportPipe = "virtio-gpu-pipe" |
static std::unordered_set< std::string > | kSupportedGpuContexts |
|
strong |
CF_UNUSED_ON_MACOS std::string cuttlefish::anonymous_namespace{graphics_flags.cc}::GetGfxstreamRendererFeaturesString | ( | const std::unordered_map< std::string, bool > & | features | ) |
CF_UNUSED_ON_MACOS Result< AngleFeatureOverrides > cuttlefish::anonymous_namespace{graphics_flags.cc}::GetNeededAngleFeatures | ( | const RenderingMode | mode, |
const ::gfxstream::proto::GraphicsAvailability & | availability | ||
) |
Result< AngleFeatures > cuttlefish::anonymous_namespace{graphics_flags.cc}::GetNeededAngleFeaturesBasedOnQuirks | ( | const RenderingMode | mode, |
const ::gfxstream::proto::GraphicsAvailability & | availability | ||
) |
CF_UNUSED_ON_MACOS Result< VhostUserGpuHostRendererFeatures > cuttlefish::anonymous_namespace{graphics_flags.cc}::GetNeededVhostUserGpuHostRendererFeatures | ( | RenderingMode | mode, |
const ::gfxstream::proto::GraphicsAvailability & | availability | ||
) |
CF_UNUSED_ON_MACOS Result< RenderingMode > cuttlefish::anonymous_namespace{graphics_flags.cc}::GetRenderingMode | ( | const std::string & | mode | ) |
Result< std::string > cuttlefish::anonymous_namespace{graphics_flags.cc}::GraphicsDetectorBinaryPath | ( | ) |
bool cuttlefish::anonymous_namespace{graphics_flags.cc}::IsAmdGpu | ( | const gfxstream::proto::GraphicsAvailability & | availability | ) |
bool cuttlefish::anonymous_namespace{graphics_flags.cc}::IsLikelySoftwareRenderer | ( | const std::string & | renderer | ) |
std::ostream & cuttlefish::anonymous_namespace{graphics_flags.cc}::operator<< | ( | std::ostream & | stream, |
const AngleFeatures & | features | ||
) |
CF_UNUSED_ON_MACOS Result< std::unordered_map< std::string, bool > > cuttlefish::anonymous_namespace{graphics_flags.cc}::ParseGfxstreamRendererFlag | ( | const std::string & | gpu_renderer_features_arg | ) |
Result< std::string > cuttlefish::anonymous_namespace{graphics_flags.cc}::SelectGpuMode | ( | const std::string & | gpu_mode_arg, |
VmmMode | vmm, | ||
const GuestConfig & | guest_config, | ||
const gfxstream::proto::GraphicsAvailability & | graphics_availability | ||
) |
Result< bool > cuttlefish::anonymous_namespace{graphics_flags.cc}::SelectGpuVhostUserMode | ( | const std::string & | gpu_mode, |
const std::string & | gpu_vhost_user_mode_arg, | ||
VmmMode | vmm | ||
) |
Result< GuestRendererPreload > cuttlefish::anonymous_namespace{graphics_flags.cc}::SelectGuestRendererPreload | ( | const std::string & | gpu_mode, |
const GuestHwuiRenderer | guest_hwui_renderer, | ||
const std::string & | guest_renderer_preload_arg | ||
) |
CF_UNUSED_ON_MACOS Result< void > cuttlefish::anonymous_namespace{graphics_flags.cc}::SetGfxstreamFlags | ( | const std::string & | gpu_mode, |
const std::string & | gpu_renderer_features_arg, | ||
const GuestConfig & | guest_config, | ||
const gfxstream::proto::GraphicsAvailability & | availability, | ||
CuttlefishConfig::MutableInstanceSpecific & | instance | ||
) |
CF_UNUSED_ON_MACOS bool cuttlefish::anonymous_namespace{graphics_flags.cc}::ShouldEnableAcceleratedRendering | ( | const ::gfxstream::proto::GraphicsAvailability & | availability | ) |
std::string cuttlefish::anonymous_namespace{graphics_flags.cc}::ToLower | ( | const std::string & | v | ) |
const std::string cuttlefish::anonymous_namespace{graphics_flags.cc}::kGfxstreamTransportAsg = "virtio-gpu-asg" |
const std::string cuttlefish::anonymous_namespace{graphics_flags.cc}::kGfxstreamTransportPipe = "virtio-gpu-pipe" |
|
static |