Changeset 26301 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 5, 2010 5:37:30 PM (15 years ago)
- 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 77 77 VBoxVideoWddm_TEMPLATE = VBOXGUESTR0 78 78 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 !!!) 80 82 VBoxVideoWddm_NOINST = true 81 83 endif -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r26179 r26301 863 863 } 864 864 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 */ 872 VOID 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 865 887 /* Computes the size of a framebuffer. DualView has a few framebuffers of the computed size. */ 866 888 void VBoxComputeFrameBufferSizes (PDEVICE_EXTENSION PrimaryExtension) -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r26179 r26301 624 624 RT_C_DECLS_END 625 625 626 VOID VBoxWddmGetModesTable(PDEVICE_EXTENSION DeviceExtension, bool bRebuildTable, VIDEO_MODE_INFORMATION ** ppModes, uint32_t * pcModes); 627 626 628 NTSTATUS vboxVidPnCheckTopology(const D3DKMDT_HVIDPN hDesiredVidPn, 627 629 D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology, const DXGK_VIDPNTOPOLOGY_INTERFACE* pVidPnTopologyInterface,
Note:
See TracChangeset
for help on using the changeset viewer.