- Timestamp:
- Apr 13, 2022 11:57:18 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h
r94584 r94586 70 70 #endif 71 71 72 73 #ifdef VBOX_WITH_VMSVGA3D_DX 74 /* 75 * Structures for the new D3D user mode driver. 76 */ 77 #pragma pack(1) /* VMSVGA structures are '__packed'. */ 78 #include <svga3d_reg.h> 79 #pragma pack() 80 81 /* D3DDDI_ALLOCATIONINFO::pPrivateDriverData */ 82 typedef enum VBOXDXALLOCATIONTYPE 83 { 84 VBOXDXALLOCATIONTYPE_UNKNOWN = 0, 85 VBOXDXALLOCATIONTYPE_SURFACE = 1, 86 VBOXDXALLOCATIONTYPE_SHADERS = 2, 87 VBOXDXALLOCATIONTYPE_MAX, 88 VBOXDXALLOCATIONTYPE_32BIT = 0xFFFFFFFF 89 } VBOXDXALLOCATIONTYPE; 90 91 /* Information for DxgkDdiCreateAllocation and for SVGA3dCmdDefine[GB]Surface. */ 92 typedef struct VBOXDXALLOCATIONDESC 93 { 94 VBOXDXALLOCATIONTYPE enmAllocationType; 95 uint32_t cbAllocation; 96 struct 97 { 98 SVGA3dSurfaceAllFlags surfaceFlags; 99 SVGA3dSurfaceFormat format; 100 uint32 numMipLevels; 101 uint32 multisampleCount; 102 SVGA3dMSPattern multisamplePattern; 103 SVGA3dMSQualityLevel qualityLevel; 104 SVGA3dTextureFilter autogenFilter; 105 SVGA3dSize size; 106 uint32 arraySize; 107 uint32 bufferByteStride; 108 } surfaceInfo; 109 } VBOXDXALLOCATIONDESC; 110 #endif /* VBOX_WITH_VMSVGA3D_DX */ 72 111 73 112 /* create allocation func */
Note:
See TracChangeset
for help on using the changeset viewer.