C# Класс Mosa.DeviceDriver.PCI.VMware.VMwareSVGAII

VMware SVGA II Device Driver
Наследование: HardwareDevice, IPixelGraphicsDevice
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
alphaMask uint
alphaMaskShift byte
bitsPerPixel uint
blueMask uint
blueMaskShift byte
bytesPerLine uint
capabilities uint
fifo IMemory
fifoSize uint
frameBuffer IFrameBuffer
frameBufferSize uint
greenMask uint
greenMaskShift byte
height ushort
indexPort IReadWriteIOPort
maxHeight uint
maxWidth uint
memory IMemory
offset uint
redMask uint
redMaskShift byte
spinLock SpinLock
valuePort IReadWriteIOPort
version uint
videoRamSize uint
width ushort

Private Properties

Свойство Тип Описание
IPixelGraphicsDevice Mosa.DeviceSystem.Color

Открытые методы

Метод Описание
OnInterrupt ( ) : bool

Called when an interrupt is received.

SetMode ( ushort width, ushort height ) : bool

Sets the mode.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

VMwareSVGAII ( ) : Mosa.DeviceSystem

Initializes a new instance of the VMwareSVGAII class.

Защищенные методы

Метод Описание
ConvertColor ( Color color ) : uint

Converts the color to the frame-buffer color

GetFifo ( uint index ) : uint

Gets the fifo.

GetMaskShift ( uint mask ) : byte

Gets the mask shift.

GetVersion ( ) : uint

Gets the version.

IPixelGraphicsDevice ( Color color ) : void

Clears the specified color.

IPixelGraphicsDevice ( Color color, ushort x, ushort y ) : void

Writes the pixel.

InitializeFifo ( ) : void

Initializes the fifo.

ReadRegister ( uint command ) : uint

Gets the value.

SendCommand ( uint command, uint value ) : void

Sends the command.

SetFifo ( uint index, uint value ) : void

Sets the fifo.

UpdateFrame ( ) : void

Updates the frame.

UpdateFrame ( ushort x, ushort y, ushort width, ushort height ) : void

Updates the frame.

WaitForFifo ( ) : void

Waits for fifo.

WriteToFifo ( uint value ) : void

Writes to fifo.

Приватные методы

Метод Описание
IPixelGraphicsDevice ( ushort x, ushort y ) : Color

Reads the pixel.

Описание методов

ConvertColor() защищенный Метод

Converts the color to the frame-buffer color
protected ConvertColor ( Color color ) : uint
color Mosa.DeviceSystem.Color The color.
Результат uint

GetFifo() защищенный Метод

Gets the fifo.
protected GetFifo ( uint index ) : uint
index uint The index.
Результат uint

GetMaskShift() защищенный Метод

Gets the mask shift.
protected GetMaskShift ( uint mask ) : byte
mask uint The mask.
Результат byte

GetVersion() защищенный Метод

Gets the version.
protected GetVersion ( ) : uint
Результат uint

IPixelGraphicsDevice() защищенный Метод

Clears the specified color.
protected IPixelGraphicsDevice ( Color color ) : void
color Mosa.DeviceSystem.Color The color.
Результат void

IPixelGraphicsDevice() защищенный Метод

Writes the pixel.
protected IPixelGraphicsDevice ( Color color, ushort x, ushort y ) : void
color Mosa.DeviceSystem.Color The color.
x ushort The x.
y ushort The y.
Результат void

InitializeFifo() защищенный Метод

Initializes the fifo.
protected InitializeFifo ( ) : void
Результат void

OnInterrupt() публичный Метод

Called when an interrupt is received.
public OnInterrupt ( ) : bool
Результат bool

ReadRegister() защищенный Метод

Gets the value.
protected ReadRegister ( uint command ) : uint
command uint The command.
Результат uint

SendCommand() защищенный Метод

Sends the command.
protected SendCommand ( uint command, uint value ) : void
command uint The command.
value uint The value.
Результат void

SetFifo() защищенный Метод

Sets the fifo.
protected SetFifo ( uint index, uint value ) : void
index uint The index.
value uint The value.
Результат void

SetMode() публичный Метод

Sets the mode.
public SetMode ( ushort width, ushort height ) : bool
width ushort The width.
height ushort The height.
Результат bool

Setup() публичный Метод

Setups this hardware device driver
public Setup ( HardwareResources hardwareResources ) : bool
hardwareResources HardwareResources
Результат bool

Start() публичный Метод

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
Результат DeviceDriverStartStatus

UpdateFrame() защищенный Метод

Updates the frame.
protected UpdateFrame ( ) : void
Результат void

UpdateFrame() защищенный Метод

Updates the frame.
protected UpdateFrame ( ushort x, ushort y, ushort width, ushort height ) : void
x ushort The x.
y ushort The y.
width ushort The width.
height ushort The height.
Результат void

VMwareSVGAII() публичный Метод

Initializes a new instance of the VMwareSVGAII class.
public VMwareSVGAII ( ) : Mosa.DeviceSystem
Результат Mosa.DeviceSystem

WaitForFifo() защищенный Метод

Waits for fifo.
protected WaitForFifo ( ) : void
Результат void

WriteToFifo() защищенный Метод

Writes to fifo.
protected WriteToFifo ( uint value ) : void
value uint The value.
Результат void

Описание свойств

alphaMask защищенное свойство

The alpha mask
protected uint alphaMask
Результат uint

alphaMaskShift защищенное свойство

The alpha mask shift
protected byte alphaMaskShift
Результат byte

bitsPerPixel защищенное свойство

The bits per pixel
protected uint bitsPerPixel
Результат uint

blueMask защищенное свойство

The blue mask
protected uint blueMask
Результат uint

blueMaskShift защищенное свойство

The blue mask shift
protected byte blueMaskShift
Результат byte

bytesPerLine защищенное свойство

The bytes per line
protected uint bytesPerLine
Результат uint

capabilities защищенное свойство

The capabilities
protected uint capabilities
Результат uint

fifo защищенное свойство

protected IMemory fifo
Результат IMemory

fifoSize защищенное свойство

The fifo size
protected uint fifoSize
Результат uint

frameBuffer защищенное свойство

protected IFrameBuffer frameBuffer
Результат IFrameBuffer

frameBufferSize защищенное свойство

The frame buffer size
protected uint frameBufferSize
Результат uint

greenMask защищенное свойство

The green mask
protected uint greenMask
Результат uint

greenMaskShift защищенное свойство

The green mask shift
protected byte greenMaskShift
Результат byte

height защищенное свойство

The height
protected ushort height
Результат ushort

indexPort защищенное свойство

protected IReadWriteIOPort indexPort
Результат IReadWriteIOPort

maxHeight защищенное свойство

The maximum height
protected uint maxHeight
Результат uint

maxWidth защищенное свойство

The maximum width
protected uint maxWidth
Результат uint

memory защищенное свойство

protected IMemory memory
Результат IMemory

offset защищенное свойство

The offset
protected uint offset
Результат uint

redMask защищенное свойство

The red mask
protected uint redMask
Результат uint

redMaskShift защищенное свойство

The red mask shift
protected byte redMaskShift
Результат byte

spinLock защищенное свойство

protected SpinLock spinLock
Результат SpinLock

valuePort защищенное свойство

protected IReadWriteIOPort valuePort
Результат IReadWriteIOPort

version защищенное свойство

The version
protected uint version
Результат uint

videoRamSize защищенное свойство

The video ram size
protected uint videoRamSize
Результат uint

width защищенное свойство

The width
protected ushort width
Результат ushort