Changeset 21939 in vbox for trunk/include
- Timestamp:
- Aug 3, 2009 11:52:51 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50619
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r21609 r21939 276 276 * must not be cleared once set, the command completion is performed by issuing a host->guest completion command 277 277 * while keeping this flag unchanged */ 278 #define VBOXVHWACMD_FLAG_ ASYNCH 0x00000001278 #define VBOXVHWACMD_FLAG_HG_ASYNCH 0x00010000 279 279 /* asynch completion is performed by issuing the event */ 280 #define VBOXVHWACMD_FLAG_ ASYNCH_EVENT 0x00000002280 #define VBOXVHWACMD_FLAG_GH_ASYNCH_EVENT 0x00000001 281 281 /* issue interrupt on asynch completion */ 282 #define VBOXVHWACMD_FLAG_ASYNCH_IRQ 0x00000004 282 #define VBOXVHWACMD_FLAG_GH_ASYNCH_IRQ 0x00000002 283 /* guest does not do any op on completion of this command, the host may copy the command and indicate that it does not need the command anymore 284 * by setting the VBOXVHWACMD_FLAG_HG_ASYNCH_RETURNED flag */ 285 #define VBOXVHWACMD_FLAG_GH_ASYNCH_NOCOMPLETION 0x00000004 286 /* the host has copied the VBOXVHWACMD_FLAG_GH_ASYNCH_NOCOMPLETION command and returned it to the guest */ 287 #define VBOXVHWACMD_FLAG_HG_ASYNCH_RETURNED 0x00020000 283 288 284 289 typedef struct _VBOXVHWACMD … … 309 314 typedef struct _VBOXVHWA_RECTL 310 315 { 311 int32_t x;312 int32_t y;313 uint32_t w;314 uint32_t h;316 int32_t left; 317 int32_t top; 318 int32_t right; 319 int32_t bottom; 315 320 } VBOXVHWA_RECTL; 316 321 … … 348 353 uint32_t yuvVBitMask; 349 354 } m3; 355 356 union 357 { 358 uint32_t rgbABitMask; 359 } m4; 350 360 } VBOXVHWA_PIXELFORMAT; 351 361 … … 356 366 uint32_t width; 357 367 uint32_t pitch; 368 uint32_t bitsPerPixel; 358 369 uint32_t cBackBuffers; 359 uint32_t Reserved1;360 370 VBOXVHWA_COLORKEY DstOverlayCK; 361 371 VBOXVHWA_COLORKEY DstBltCK; … … 398 408 #define VBOXVHWA_CAPS_OVERLAYFOURCC 0x00000200 399 409 #define VBOXVHWA_CAPS_OVERLAYSTRETCH 0x00000400 410 #define VBOXVHWA_CAPS_OVERLAYCANTCLIP 0x00000800 400 411 401 412 #define VBOXVHWA_CAPS_COLORKEY 0x00010000 … … 521 532 typedef struct _VBOXVHWACMD_SURF_CANCREATE 522 533 { 523 union524 {525 struct526 {527 VBOXVHWA_SURFACEDESC SurfInfo;534 VBOXVHWA_SURFACEDESC SurfInfo; 535 union 536 { 537 struct 538 { 528 539 uint32_t bIsDifferentPixelFormat; 529 540 uint32_t Reserved; … … 539 550 typedef struct _VBOXVHWACMD_SURF_CREATE 540 551 { 541 union542 {543 struct544 {545 VBOXVHWA_SURFACEDESC SurfInfo;552 VBOXVHWA_SURFACEDESC SurfInfo; 553 union 554 { 555 struct 556 { 546 557 uint64_t offSurface; 547 558 } in; … … 587 598 { 588 599 VBOXVHWA_SURFHANDLE hSurf; 600 uint32_t xUpdatedMemValid; 601 uint32_t reserved; 602 VBOXVHWA_RECTL xUpdatedMemRect; 589 603 } in; 590 604 } u; … … 606 620 VBOXVHWA_RECTL srcRect; 607 621 uint32_t flags; 608 uint32_t reserved;622 uint32_t xUpdatedSrcMemValid; 609 623 VBOXVHWA_BLTFX desc; 624 VBOXVHWA_RECTL xUpdatedSrcMemRect; 610 625 } in; 611 626 } u; … … 625 640 uint64_t offCurrSurface; 626 641 uint32_t flags; 627 uint32_t reserved; 642 uint32_t xUpdatedTargMemValid; 643 VBOXVHWA_RECTL xUpdatedTargMemRect; 628 644 } in; 629 645 } u; … … 658 674 VBOXVHWA_RECTL srcRect; 659 675 uint32_t flags; 660 uint32_t reserved;676 uint32_t xUpdatedSrcMemValid; 661 677 VBOXVHWA_OVERLAYFX desc; 678 VBOXVHWA_RECTL xUpdatedSrcMemRect; 662 679 } in; 663 680 } u;
Note:
See TracChangeset
for help on using the changeset viewer.