VirtualBox

Changeset 74474 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 26, 2018 11:55:47 AM (6 years ago)
Author:
vboxsync
Message:

Main,Devices: Graphics controller updates. bugref:8893

Location:
trunk/src/VBox/Main
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r74431 r74474  
    47624762  <enum
    47634763    name="GraphicsControllerType"
    4764     uuid="79c96ca0-9f39-4900-948e-68c41cbe127a"
    4765     >
    4766     <desc>Graphics controller type, used with <link to="IMachine::unregister" />.
     4764    uuid="3e009bb0-2b57-4283-a39b-4c363d4f0808"
     4765    >
     4766    <desc>Graphics controller type, used with <link to="IMachine::graphicsControllerType" />.
    47674767    </desc>
    47684768    <const name="Null"      value="0">
     
    47704770    </const>
    47714771    <const name="VBoxVGA"   value="1">
    4772       <desc>Default VirtualBox VGA device.</desc>
     4772      <desc>VirtualBox VGA device.</desc>
    47734773    </const>
    47744774    <const name="VMSVGA"    value="2">
    47754775      <desc>VMware SVGA II device.</desc>
     4776    </const>
     4777    <const name="VBoxSVGA"  value="3">
     4778      <desc>VirtualBox VGA device with VMware SVGA II extensions.</desc>
    47764779    </const>
    47774780  </enum>
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r73768 r74474  
    16671667#ifdef VBOX_WITH_VMSVGA
    16681668            case GraphicsControllerType_VMSVGA:
     1669            case GraphicsControllerType_VBoxSVGA:
    16691670#endif
    16701671                rc = i_configGraphicsController(pDevices, enmGraphicsController, pBusMgr, pMachine, biosSettings,
     
    38243825
    38253826#ifdef VBOX_WITH_VMSVGA
    3826         if (enmGraphicsController == GraphicsControllerType_VMSVGA)
     3827        if (   enmGraphicsController == GraphicsControllerType_VMSVGA
     3828            || enmGraphicsController == GraphicsControllerType_VBoxSVGA)
    38273829        {
    38283830            InsertConfigInteger(pCfg, "VMSVGAEnabled", true);
     3831            if (enmGraphicsController == GraphicsControllerType_VMSVGA)
     3832                InsertConfigInteger(pCfg, "VMSVGAPciId", true);
    38293833#ifdef VBOX_WITH_VMSVGA3D
    38303834            IFramebuffer *pFramebuffer = NULL;
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r73805 r74474  
    20212021#ifdef VBOX_WITH_VMSVGA
    20222022        case GraphicsControllerType_VMSVGA:
     2023        case GraphicsControllerType_VBoxSVGA:
    20232024#endif
    20242025            break;
  • trunk/src/VBox/Main/xml/Settings.cpp

    r74433 r74474  
    42594259                else if (strGraphicsControllerType == "VMSVGA")
    42604260                    type = GraphicsControllerType_VMSVGA;
     4261                else if (strGraphicsControllerType == "VBOXSVGA")
     4262                    type = GraphicsControllerType_VBoxSVGA;
    42614263                else if (strGraphicsControllerType == "NONE")
    42624264                    type = GraphicsControllerType_Null;
     
    56475649                case GraphicsControllerType_VBoxVGA:            pcszGraphics = "VBoxVGA"; break;
    56485650                case GraphicsControllerType_VMSVGA:             pcszGraphics = "VMSVGA"; break;
     5651                case GraphicsControllerType_VBoxSVGA:           pcszGraphics = "VBoxSVGA"; break;
    56495652                default: /*case GraphicsControllerType_Null:*/  pcszGraphics = "None"; break;
    56505653            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette