Changeset 71862 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h
- Timestamp:
- Apr 16, 2018 12:49:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h
r71167 r71862 33 33 34 34 /* One would increase this whenever definitions in this file are changed */ 35 #define VBOXVIDEOIF_VERSION 20 35 #define VBOXVIDEOIF_VERSION 21 36 37 /** @todo VBOXVIDEO_HWTYPE probably needs to be in VBoxVideo.h */ 38 typedef enum VBOXVIDEO_HWTYPE 39 { 40 VBOXVIDEO_HWTYPE_CROGL = 0, 41 VBOXVIDEO_HWTYPE_VMSVGA = 1, 42 VBOXVIDEO_HWTYPE_32BIT = 0x7fffffff 43 } VBOXVIDEO_HWTYPE; 44 AssertCompileSize(VBOXVIDEO_HWTYPE, 4); 36 45 37 46 #define VBOXWDDM_NODE_ID_SYSTEM 0 … … 491 500 } VBOXDISPIFESCAPE_CRHGSMICTLCON_CALL, *PVBOXDISPIFESCAPE_CRHGSMICTLCON_CALL; 492 501 493 /* query info func */ 494 typedef struct VBOXWDDM_QI 495 { 496 uint32_t u32Version; 497 uint32_t u32VBox3DCaps; 498 uint32_t cInfos; 499 VBOXVHWA_INFO aInfos[VBOX_VIDEO_MAX_SCREENS]; 500 } VBOXWDDM_QI; 502 503 /* D3DDDICB_QUERYADAPTERINFO::pPrivateDriverData */ 504 typedef struct VBOXWDDM_QAI 505 { 506 uint32_t u32Version; /* VBOXVIDEOIF_VERSION */ 507 uint32_t u32Reserved; /* Must be 0. */ 508 VBOXVIDEO_HWTYPE enmHwType; /* Hardware type. Determines what kind of data is returned. */ 509 uint32_t cInfos; /* Number of initialized elements in aInfos (equal to number of guest 510 * displays). 0 if VBOX_WITH_VIDEOHWACCEL is not defined. */ 511 VBOXVHWA_INFO aInfos[VBOX_VIDEO_MAX_SCREENS]; /* cInfos elements are initialized. */ 512 union 513 { 514 struct 515 { 516 /* VBOXVIDEO_HWTYPE_CROGL */ 517 uint32_t u32VBox3DCaps; /* CR_VBOX_CAP_* */ 518 } crogl; 519 } u; 520 } VBOXWDDM_QAI; 501 521 502 522 /** Convert a given FourCC code to a D3DDDIFORMAT enum. */
Note:
See TracChangeset
for help on using the changeset viewer.