VirtualBox

Ignore:
Timestamp:
Feb 5, 2010 5:37:30 PM (15 years ago)
Author:
vboxsync
Message:

wddm: disable makefile err, more display modes support impl

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk

    r26179 r26301  
    7777 VBoxVideoWddm_TEMPLATE    = VBOXGUESTR0
    7878 ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
    79   $(error FIXME)
     79  # driver signing rules will be written once there are all files necessary for that are available,
     80  # i.e. a u/m display driver miniport inf
     81  $(warning FIXME: !!!define wddm driver signing & install rules !!!)
    8082  VBoxVideoWddm_NOINST     = true
    8183 endif
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp

    r26179 r26301  
    863863}
    864864
     865#ifdef VBOXWDDM
     866/**
     867 * Helper function to dynamically build our table of standard video
     868 * modes. We take the amount of VRAM and create modes with standard
     869 * geometries until we've either reached the maximum number of modes
     870 * or the available VRAM does not allow for additional modes.
     871 */
     872VOID VBoxWddmGetModesTable(PDEVICE_EXTENSION DeviceExtension, bool bRebuildTable, VIDEO_MODE_INFORMATION ** ppModes, uint32_t * pcModes)
     873{
     874    static bool bTableInitialized = false;
     875    if(bRebuildTable || !bTableInitialized)
     876    {
     877        VBoxBuildModesTable(DeviceExtension);
     878        bTableInitialized = true;
     879    }
     880
     881    *ppModes = VideoModes;
     882    *pcModes = gNumVideoModes;
     883}
     884
     885#endif
     886
    865887/* Computes the size of a framebuffer. DualView has a few framebuffers of the computed size. */
    866888void VBoxComputeFrameBufferSizes (PDEVICE_EXTENSION PrimaryExtension)
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h

    r26179 r26301  
    624624RT_C_DECLS_END
    625625
     626VOID VBoxWddmGetModesTable(PDEVICE_EXTENSION DeviceExtension, bool bRebuildTable, VIDEO_MODE_INFORMATION ** ppModes, uint32_t * pcModes);
     627
    626628NTSTATUS vboxVidPnCheckTopology(const D3DKMDT_HVIDPN hDesiredVidPn,
    627629        D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology, const DXGK_VIDPNTOPOLOGY_INTERFACE* pVidPnTopologyInterface,
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