VirtualBox

Changeset 42060 in vbox for trunk


Ignore:
Timestamp:
Jul 9, 2012 1:33:54 PM (13 years ago)
Author:
vboxsync
Message:

wddm/display-only: more impl

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPUtils.cpp

    r38765 r42060  
    3131 * windbg seems to have some issues when there is a lot ( >~50) of sw breakpoints defined
    3232 * to simplify things we just insert breaks for the case of intensive debugging WDDM driver*/
     33#ifndef VBOX_WDDM_WIN8
    3334bool g_bVBoxVDbgBreakF = false;
    3435bool g_bVBoxVDbgBreakFv = false;
     36#else
     37bool g_bVBoxVDbgBreakF = true;
     38bool g_bVBoxVDbgBreakFv = true;
     39#endif
    3540#endif
    3641
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r42054 r42060  
    11281128                        KeInitializeSpinLock(&pSource->AllocationLock);
    11291129                    }
     1130
     1131#ifdef VBOX_WDDM_WIN8
     1132                    DXGK_DISPLAY_INFORMATION DisplayInfo;
     1133                    Status = pDevExt->u.primary.DxgkInterface.DxgkCbAcquirePostDisplayOwnership(pDevExt->u.primary.DxgkInterface.DeviceHandle,
     1134                            &DisplayInfo);
     1135                    if (!NT_SUCCESS(Status))
     1136                    {
     1137                        WARN(("DxgkCbAcquirePostDisplayOwnership failed, Status 0x%x", Status));
     1138                    }
     1139#endif
    11301140                }
    11311141                else
     
    17731783            DXGK_DRIVERCAPS *pCaps = (DXGK_DRIVERCAPS*)pQueryAdapterInfo->pOutputData;
    17741784
     1785            memset(pCaps, 0, sizeof (*pCaps));
     1786
    17751787            pCaps->HighestAcceptableAddress.QuadPart = ~((uintptr_t)0);
     1788#ifndef VBOX_WDDM_WIN8
    17761789            pCaps->MaxAllocationListSlotId = 16;
    17771790            pCaps->ApertureSegmentCommitLimit = 0;
     
    18071820            /* @todo: this correlates with pCaps->SchedulingCaps.MultiEngineAware */
    18081821            pCaps->GpuEngineTopology.NbAsymetricProcessingNodes = VBOXWDDM_NUM_NODES;
    1809 
     1822#else
     1823            pCaps->WDDMVersion = DXGKDDI_WDDMv1_2;
     1824#endif
    18101825            break;
    18111826        }
     1827#ifndef VBOX_WDDM_WIN8
    18121828        case DXGKQAITYPE_QUERYSEGMENT:
    18131829        {
     
    18861902            }
    18871903            break;
     1904#endif /* #ifndef VBOX_WDDM_WIN8 */
    18881905        default:
    1889             LOGREL(("unsupported Type (%d)", pQueryAdapterInfo->Type));
    1890             AssertBreakpoint();
     1906            WARN(("unsupported Type (%d)", pQueryAdapterInfo->Type));
    18911907            Status = STATUS_NOT_SUPPORTED;
    18921908            break;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxVideoW8.inf

    r42054 r42060  
    145145ORACLE = "Oracle Corporation"
    146146VBoxVideo.Disk = "VirtualBox Video Driver Disk"
    147 VBoxVideo.SvcDesc = "VirtualBox Graphics Adapter (Microsoft Corporation - WDDM)"
     147VBoxVideo.SvcDesc = "VirtualBox Graphics Adapter WDDM 1.2"
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