Changeset 96662 in vbox for trunk/src/VBox
- Timestamp:
- Sep 8, 2022 9:22:45 PM (2 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/3D/mesa/mesa-21.3.8/src/gallium/frontends/nine/device9.c
r96488 r96662 581 581 nine_state_init_sw(This); 582 582 583 #ifndef VBOX /* VBox: Releasing this here would mean the constructor consumes a reference. This is inconsistent with how the 584 pD3D9 parameter is treated, so, assume this is wrong and pD3D9 is right. */ 583 585 ID3DPresentGroup_Release(This->present); 586 #endif 584 587 nine_context_update_state(This); /* Some drivers needs states to be initialized */ 585 588 nine_csmt_process(This); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/VBoxGaD3DDevice9Ex.cpp
r96407 r96662 74 74 if (SUCCEEDED(hr)) 75 75 { 76 /** @todo r=bird: The mpPresentationGroup parameter seems to always have been 77 * consumed by the NineDevice9_ctor() code, while for the mpD3D9Ex parameter 78 * it grabs a reference. I've commented out the bogus looking 79 * ID3DPresentGroup_Release call from NineDevice9_ctor() rather than balancing 80 * reference to mpPresentionGroup here based on the hr value. See r153545. 81 * Please verify and rework the fix to your liking. 82 * 83 * (The release call in cleanup() would call into no man's land early during 84 * vlc.exe (v3.0.17.4) video startup on 32-bit w7 rtm.) 85 */ 76 86 hr = D3DAdapter9_CreateDeviceEx(mpD3D9Ex->GetAdapter9(), 77 87 D3DADAPTER_DEFAULT, DeviceType,
Note:
See TracChangeset
for help on using the changeset viewer.