Changeset 57801 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
- Timestamp:
- Sep 17, 2015 9:50:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVhwa.cpp
r51260 r57801 538 538 memset(pInfo, 0, sizeof(VBOXVHWA_SURFACEDESC)); 539 539 540 #if 0 541 /** 542 * The following breaks 2D accelerated video playback because this method is called just after the surface was created 543 * and most its members are still 0. 544 * 545 * @todo: Not 100% sure this is the correct way. It looks like the SegmentId specifies where the memory 546 * for the surface is stored (VRAM vs. system memory) but because this method is only used 547 * to query some parameters (using VBOXVHWACMD_SURF_GETINFO) and this command doesn't access any surface memory 548 * on the host it should be safe. 549 */ 540 550 if (pSurf->AllocData.Addr.SegmentId != 1) 541 551 { … … 543 553 return VERR_INVALID_PARAMETER; 544 554 } 555 #endif 545 556 546 557 pInfo->height = pSurf->AllocData.SurfDesc.height;
Note:
See TracChangeset
for help on using the changeset viewer.