Class VMWareSVGAII
VMWareSVGAII class.
Inheritance
System.Object
VMWareSVGAII
Namespace: Cosmos.HAL.Drivers.PCI.Video
Assembly: Cosmos.HAL2.dll
Syntax
public class VMWareSVGAII : object
Constructors
| Improve this Doc View SourceVMWareSVGAII()
Create new inctanse of the VMWareSVGAII class.
Declaration
public VMWareSVGAII()
Methods
| Improve this Doc View SourceClear(UInt32)
Clear screen to specified color.
Declaration
public void Clear(uint color)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | color | Color. |
Copy(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Copy rectangle.
Declaration
public void Copy(uint x, uint y, uint newX, uint newY, uint width, uint height)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | x | Source X coordinate. |
System.UInt32 | y | Source Y coordinate. |
System.UInt32 | newX | Destination X coordinate. |
System.UInt32 | newY | Destination Y coordinate. |
System.UInt32 | width | Width. |
System.UInt32 | height | Height. |
DefineCursor()
Define cursor.
Declaration
public void DefineCursor()
Disable()
Declaration
public void Disable()
Fill(UInt32, UInt32, UInt32, UInt32, UInt32)
Fill rectangle.
Declaration
public void Fill(uint x, uint y, uint width, uint height, uint color)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | x | X coordinate. |
System.UInt32 | y | Y coordinate. |
System.UInt32 | width | Width. |
System.UInt32 | height | Height. |
System.UInt32 | color | Color. |
GetFIFO(VMWareSVGAII.FIFO)
Get FIFO.
Declaration
protected uint GetFIFO(VMWareSVGAII.FIFO cmd)
Parameters
Type | Name | Description |
---|---|---|
VMWareSVGAII.FIFO | cmd | FIFO command. |
Returns
Type | Description |
---|---|
System.UInt32 | uint value. |
GetPixel(UInt32, UInt32)
Get pixel.
Declaration
public uint GetPixel(uint x, uint y)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | x | X coordinate. |
System.UInt32 | y | Y coordinate. |
Returns
Type | Description |
---|---|
System.UInt32 | uint value. |
InitializeFIFO()
Initialize FIFO.
Declaration
protected void InitializeFIFO()
ReadRegister(VMWareSVGAII.Register)
Read register.
Declaration
protected uint ReadRegister(VMWareSVGAII.Register register)
Parameters
Type | Name | Description |
---|---|---|
VMWareSVGAII.Register | register | A register. |
Returns
Type | Description |
---|---|
System.UInt32 | uint value. |
SetCursor(Boolean, UInt32, UInt32)
Set cursor.
Declaration
public void SetCursor(bool visible, uint x, uint y)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | visible | Visible. |
System.UInt32 | x | X coordinate. |
System.UInt32 | y | Y coordinate. |
SetFIFO(VMWareSVGAII.FIFO, UInt32)
Set FIFO.
Declaration
protected uint SetFIFO(VMWareSVGAII.FIFO cmd, uint value)
Parameters
Type | Name | Description |
---|---|---|
VMWareSVGAII.FIFO | cmd | Command. |
System.UInt32 | value | Value. |
Returns
Type | Description |
---|---|
System.UInt32 |
SetMode(UInt32, UInt32, UInt32)
Set video mode.
Declaration
public void SetMode(uint width, uint height, uint depth = null)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | width | Width. |
System.UInt32 | height | Height. |
System.UInt32 | depth | Depth. |
SetPixel(UInt32, UInt32, UInt32)
Set pixel.
Declaration
public void SetPixel(uint x, uint y, uint color)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | x | X coordinate. |
System.UInt32 | y | Y coordinate. |
System.UInt32 | color | Color. |
Update(UInt32, UInt32, UInt32, UInt32)
Update FIFO.
Declaration
public void Update(uint x, uint y, uint width, uint height)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | x | X coordinate. |
System.UInt32 | y | Y coordinate. |
System.UInt32 | width | Width. |
System.UInt32 | height | Height. |
WaitForFifo()
Wait for FIFO.
Declaration
protected void WaitForFifo()
WriteRegister(VMWareSVGAII.Register, UInt32)
Write register.
Declaration
protected void WriteRegister(VMWareSVGAII.Register register, uint value)
Parameters
Type | Name | Description |
---|---|---|
VMWareSVGAII.Register | register | A register. |
System.UInt32 | value | A value. |
WriteToFifo(UInt32)
Write to FIFO.
Declaration
protected void WriteToFifo(uint value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | value | Value to write. |