Changeset 22247 in vbox for trunk/include
- Timestamp:
- Aug 13, 2009 9:04:28 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51059
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r22215 r22247 257 257 #define VBOXVHWA_VERSION_MAJ 0 258 258 #define VBOXVHWA_VERSION_MIN 0 259 #define VBOXVHWA_VERSION_BLD 2259 #define VBOXVHWA_VERSION_BLD 3 260 260 #define VBOXVHWA_VERSION_RSV 0 261 261 … … 318 318 typedef unsigned int VBOXVHWACMD_LENGTH; 319 319 typedef uint64_t VBOXVHWA_SURFHANDLE; 320 #define VBOXVHWA CMD_SURFHANDLE_INVALID 0320 #define VBOXVHWA_SURFHANDLE_INVALID 0 321 321 #define VBOXVHWACMD_BODY(_p, _t) ((_t*)(_p)->body) 322 322 #define VBOXVHWACMD_HEAD(_pb) ((VBOXVHWACMD*)((uint8_t *)(_pb) - RT_OFFSETOF(VBOXVHWACMD, body))) … … 387 387 uint32_t surfCaps; 388 388 uint32_t Reserved2; 389 VBOXVHWA_SURFHANDLE hSurf; 390 uint64_t offSurface; 389 391 } VBOXVHWA_SURFACEDESC; 390 392 … … 564 566 } VBOXVHWACMD_QUERYINFO2; 565 567 566 #define VBOXVHWAINFO2_SIZE(_cFourCC) RT_OFFSETOF(VBOXVHWA INFO2, FourCC[_cFourCC])568 #define VBOXVHWAINFO2_SIZE(_cFourCC) RT_OFFSETOF(VBOXVHWACMD_QUERYINFO2, FourCC[_cFourCC]) 567 569 568 570 typedef struct _VBOXVHWACMD_SURF_CANCREATE … … 587 589 { 588 590 VBOXVHWA_SURFACEDESC SurfInfo; 589 union590 {591 struct592 {593 uint64_t offSurface;594 } in;595 596 struct597 {598 VBOXVHWA_SURFHANDLE hSurf;599 } out;600 } u;601 591 } VBOXVHWACMD_SURF_CREATE; 602 592
Note:
See TracChangeset
for help on using the changeset viewer.