struct Protocol::SystemInfo::GPUInfo

Overview

Provides information about the GPU(s) on the system.

Included Modules

Defined in:

protocol/system_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def aux_attributes : JSON::Any | Nil #

An optional dictionary of additional GPU related attributes.


[View source]
def devices : Array(GPUDevice) #

The graphics devices on the system. Element 0 is the primary GPU.


[View source]
def driver_bug_workarounds : Array(String) #

An optional array of GPU driver bug workarounds.


[View source]
def feature_status : JSON::Any | Nil #

An optional dictionary of graphics features and their status.


[View source]
def image_decoding : Array(ImageDecodeAcceleratorCapability) #

Supported accelerated image decoding capabilities.


[View source]
def video_decoding : Array(VideoDecodeAcceleratorCapability) #

Supported accelerated video decoding capabilities.


[View source]
def video_encoding : Array(VideoEncodeAcceleratorCapability) #

Supported accelerated video encoding capabilities.


[View source]