Changeset 51648 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Jun 18, 2014 12:13:53 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94409
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r51633 r51648 1821 1821 if (u32Version > VGA_SAVEDSTATE_VERSION_WDDM) 1822 1822 { 1823 #define VBOX_VHWA_SOLARIS_ARCH "solaris." 1824 1825 bool fLoadCommands; 1826 1827 if (u32Version < VGA_SAVEDSTATE_VERSION_FIXED_PENDVHWA) 1828 { 1829 const char *pcszOsArch = SSMR3HandleHostOSAndArch(pSSM); 1830 Assert(pcszOsArch); 1831 fLoadCommands = !pcszOsArch || RTStrNCmp(pcszOsArch, VBOX_VHWA_SOLARIS_ARCH, sizeof (VBOX_VHWA_SOLARIS_ARCH) - 1); 1832 } 1833 else 1834 fLoadCommands = true; 1835 1823 1836 #ifdef VBOX_WITH_VIDEOHWACCEL 1824 1837 uint32_t cbCmd = sizeof (VBOXVHWACMD_HH_SAVESTATE_LOADPERFORM); /* maximum cmd size */ … … 1835 1848 vbvaVHWAHHCommandRelease(pCmd); 1836 1849 AssertRCReturn(rc, rc); 1837 bool fLoadCommands = false;1838 1839 if (u32Version < VGA_SAVEDSTATE_VERSION_FIXED_PENDVHWA)1840 {1841 /* prev versions have a bug that does not allow to distinguish between the sate made with VHWA not available (on solaris box)1842 * and VHWA disabled */1843 1844 for (uint32_t i = 0; i < pVGAState->cMonitors; ++i)1845 {1846 if (VhwaData.ab2DOn[i])1847 {1848 fLoadCommands = true;1849 break;1850 }1851 }1852 }1853 else1854 fLoadCommands = true;1855 1850 1856 1851 if (fLoadCommands) … … 1879 1874 } 1880 1875 1881 if ( u32Version >= VGA_SAVEDSTATE_VERSION_FIXED_PENDVHWA)1876 if (fLoadCommands) 1882 1877 { 1883 1878 rc = SSMR3GetU32(pSSM, &u32);
Note:
See TracChangeset
for help on using the changeset viewer.